{"id":"brannstatistikk","name":"Fire statistics (DSB)","description":"Fire-service mission statistics and headline fire figures, from the undocumented endpoint behind brannstatistikk.no.","documentation":"https://brannstatistikk.no/","operations":[{"name":"get_fire_kpis","description":"Headline fire statistics for Norway (KPIs from brannstatistikk.no). Signature: get_fire_kpis(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_fire_kpis(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis?limit=25&offset=0","output_fields":["kpis","kpis[].label","kpis[].value"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["kpis[].label"]},"description_language":"en","documentation":"Headline fire statistics for Norway (KPIs from brannstatistikk.no).\n\nArgs: None.\n\nReturns `kpis`: a list of {\"label\", \"value\"} pairs. The first entries are\nthe manual KPIs (for example fire deaths so far this year and at the same\ntime last year), followed by the calculated national KPIs (average response\ntime, share of unnecessary alarms, and similar). Values are the strings\nbrannstatistikk.no displays.\n\nData: Direktoratet for samfunnssikkerhet og beredskap (DSB).\n\nSignature: get_fire_kpis(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_fire_kpis/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_fire_kpis/?hent=1&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis","response_schema":{"type":"object","properties":{"kpis":{"type":"array","items":{"type":"object","properties":{"label":{"type":["string","null"]},"value":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false,"required":["kpis"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis?limit=25&offset=0","response_example":{"source":"brannstatistikk","operation":"get_fire_kpis","parameters":{},"data":{"kpis":[{"label":"Example","value":"example value"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"brannstatistikk","name":"Fire statistics (DSB)","description":"Fire-service mission statistics and headline fire figures, from the undocumented endpoint behind brannstatistikk.no.","cache_ttl_seconds":3600,"documentation":"https://brannstatistikk.no/"}]},"_provenance":{"data":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk"},"entities":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_fire_kpis","source":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","wiki":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_fire_kpis/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"list_statistics","description":"The fire statistics that can be queried with get_statistics. Signature: list_statistics(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"list_statistics(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics?limit=25&offset=0","output_fields":["count","statistics","statistics[].id","statistics[].name","statistics[].type"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["statistics[].id"],"name":["statistics[].name"]},"description_language":"en","documentation":"The fire statistics that can be queried with get_statistics.\n\nArgs: None.\n\nReturns `count` and `statistics`, where each entry has id, name and type\n(TERMS, GEOGRAPHIC_TERMS, DATE_HISTOGRAM, and so on). Only unrestricted\nstatistics are listed: some details, for example whether the fire started\nin a municipality-owned dwelling, are restricted to logged-in fire services\nand cannot be fetched with get_statistics.\n\nData: Direktoratet for samfunnssikkerhet og beredskap (DSB).\n\nSignature: list_statistics(limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/brannstatistikk/list_statistics/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/brannstatistikk/list_statistics/?hent=1&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"statistics":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"type":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false,"required":["count","statistics"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics?limit=25&offset=0","response_example":{"source":"brannstatistikk","operation":"list_statistics","parameters":{},"data":{"count":1,"statistics":[{"id":"example-id","name":"Example","type":"example value"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"brannstatistikk","name":"Fire statistics (DSB)","description":"Fire-service mission statistics and headline fire figures, from the undocumented endpoint behind brannstatistikk.no.","cache_ttl_seconds":3600,"documentation":"https://brannstatistikk.no/"}]},"_provenance":{"data":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk"},"entities":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/list_statistics","source":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","wiki":"https://allemannsdata.com/wiki/kilder/brannstatistikk/list_statistics/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"get_statistics","description":"One fire statistic, nationally or for one municipality. Signature: get_statistics(statistic: string, required; municipality: string, optional, default None; by_year: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_statistics(statistic: string, required; municipality: string, optional, default None; by_year: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"statistic","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"An unrestricted statistic id (for example \"ADDRESS_COUNTY_ID\", \"REVISED_MISSION_TYPE_ID\" or \"352\") or a name substring matching exactly one unrestricted statistic.","unit":null,"display_type":"string"},{"name":"municipality","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"A 4-digit municipality number (kommune), for example \"4650\" for Gloppen. Omit for national figures.","unit":null,"display_type":"string"},{"name":"by_year","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Break the statistic down by year instead of returning one set of buckets. Cannot be combined with municipality (that would need three aggregation levels).","unit":null,"display_type":"yes/no"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics?statistic={statistic}&municipality={municipality}&by_year=false&limit=25&offset=0","output_fields":["statistic","statistic.id","statistic.name","municipality","buckets","buckets[].key","buckets[].count","years","years[].year","years[].total","years[].buckets","years[].buckets[].key","years[].buckets[].count"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["statistic.id"],"name":["statistic.name"]},"description_language":"en","documentation":"One fire statistic, nationally or for one municipality.\n\nThe counts cover all mission types the fire services reported since 2016.\nStatistics keyed by codes (mission types, counties, municipalities, 110\ncentrals and fire departments) also give each bucket a `label` with the\nname; use list_statistics to see which statistics exist.\n\nArgs:\n    statistic: An unrestricted statistic id (for example\n        \"ADDRESS_COUNTY_ID\", \"REVISED_MISSION_TYPE_ID\" or \"352\") or a name\n        substring matching exactly one unrestricted statistic.\n    municipality: A 4-digit municipality number (kommune), for example\n        \"4650\" for Gloppen. Omit for national figures.\n    by_year: Break the statistic down by year instead of returning one set\n        of buckets. Cannot be combined with municipality (that would need\n        three aggregation levels).\n\nWithout municipality or by_year, returns `statistic` (id and name) and\n`buckets` sorted by count descending. With municipality, also\n`municipality` and the buckets within it; an unknown or retired\nmunicipality number raises an error. With by_year, returns `years` ascending, each with\n`year`, `total` (all missions that year) and its own `buckets`. Each\nbucket has `key` and `count`, plus `label` when the key is a code. A\nbucket key of \"not_answered\" means the question was not answered for\nthose missions.\n\nData: Direktoratet for samfunnssikkerhet og beredskap (DSB).\n\nSignature: get_statistics(statistic: string, required; municipality: string, optional, default None; by_year: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_statistics/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_statistics/?statistic={statistic}&municipality={municipality}&by_year=false&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics","response_schema":{"type":"object","properties":{"statistic":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"additionalProperties":false},"municipality":{"type":["string","null"]},"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"type":["string","integer"]},"count":{"type":"integer"}},"additionalProperties":false,"required":["key","count"]}},"years":{"type":"array","items":{"type":"object","properties":{"year":{"type":["integer","string"]},"total":{"type":"integer"},"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"type":["string","integer"]},"count":{"type":"integer"}},"additionalProperties":false,"required":["key","count"]}}},"additionalProperties":false,"required":["year","total","buckets"]}}},"additionalProperties":false,"required":["statistic"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics?statistic={statistic}&municipality={municipality}&by_year=false&limit=25&offset=0","response_example":{"source":"brannstatistikk","operation":"get_statistics","parameters":{"statistic":"example value","municipality":"example value","by_year":false},"data":{"statistic":{"id":"example-id","name":"Example"},"municipality":"example value","buckets":[{"key":"example value","count":1}],"years":[{"year":1,"total":1,"buckets":[{"key":"example value","count":1}]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"brannstatistikk","name":"Fire statistics (DSB)","description":"Fire-service mission statistics and headline fire figures, from the undocumented endpoint behind brannstatistikk.no.","cache_ttl_seconds":3600,"documentation":"https://brannstatistikk.no/"}]},"_provenance":{"data":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk"},"entities":{"source":"brannstatistikk","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/get_statistics","source":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","wiki":"https://allemannsdata.com/wiki/kilder/brannstatistikk/get_statistics/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk/{operation}/schema","related_sources":[{"id":"politiloggen","name":"Norwegian Police Log","reason":"Police incident messages about the fires behind the statistics.","api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","wiki":"https://allemannsdata.com/wiki/kilder/politiloggen/"}],"_meta":{"retrieved_at":"2026-10-12T06:27:20Z","language":"en","content_languages":["en"],"sources":[{"id":"brannstatistikk","name":"Fire statistics (DSB)","description":"Fire-service mission statistics and headline fire figures, from the undocumented endpoint behind brannstatistikk.no.","documentation":"https://brannstatistikk.no/","cache_ttl_seconds":3600}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","names":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/brannstatistikk","wiki":"https://allemannsdata.com/wiki/kilder/brannstatistikk/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}
