Skip to content

← API reference

Municipal fire-service statistics

fire_statistics8 fields8 of these fields open in the demo
Source
SSB 12058 (KOSTRA)
Geography
Municipality
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1
In packages
prevention_context, civil_protection

What this does not say

Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.

  • Municipality-level annual counts, not this property's fire history or risk. residential_fires is boligbranner; building_fires is bygningsbranner. Deaths and injuries are not provided by this source and are absent, not zero. year is the statistical period; updated_at is successful import time, not source publication time, and remains unknown for unrefreshed legacy rows.

Fields

3 of 8 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps. Fields marked “open” return values to anonymous callers; the rest require a key.

FieldTypeRoleDemo
municipality_codestring | nullcontextopen
municipality_namestring | nullcontextopen
yearinteger | null (årstall)contextopen
residential_firesinteger | nullvalueopen
residential_fires_per_1000number | nullvalueopen
building_firesinteger | nullvalueopen
sourcestring | nullcontextopen
updated_atstring | nullcontextopen

Fetch this section

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=fire_statistics"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/fire_statistics?limit=25"

Try it now

This is a real call against the public demo, from here. What appears below is what the API returned — not a sample.