Skip to content

← API reference

Fires, callouts and the drive to the nearest fire station, per kommune

fire_and_rescue23 fields23 of these fields open in the demo
Source
SSB KOSTRA 12058 + 12767
Geography
Municipality
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1
In packages
prevention_context

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.

  • Kommune-level statistics: the count of fires is for the whole kommune, not this street. Station distance and drive time are SSB's 2019 model of the road network to the nearest døgnkasernert station, at the kommune's median and 90th percentile; the proximity section carries this address's own routed drive time.

Fields

18 of 23 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
dwelling_firesnumber | nullvalueopen
dwelling_fires_trendobject | nullvalueopen
dwelling_fires_per_1000number | nullvalueopen
dwelling_fires_per_1000_trendobject | nullvalueopen
building_firesnumber | nullvalueopen
building_fires_per_1000number | nullvalueopen
fire_damage_nok_per_capitanumber | nullvalueopen
calloutsnumber | nullvalueopen
callouts_trendobject | nullvalueopen
callouts_per_1000number | nullvalueopen
emergency_staff_per_1000number | nullvalueopen
chimneys_swept_sharenumber | null (andel)valueopen
special_fire_objectsnumber | nullvalueopen
special_fire_objects_inspected_sharenumber | null (andel)valueopen
yearinteger | null (årstall)contextopen
station_distance_km_mediannumber | nullvalueopen
station_distance_km_p90number | nullvalueopen
station_drive_min_mediannumber | nullvalueopen
station_drive_min_p90number | nullvalueopen
station_distance_yearinteger | null (årstall)contextopen
updated_atstring | nullcontextopen

Fetch this section

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

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/fire_and_rescue?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.