{"id":"husbanken","name":"Housing support (Husbanken)","description":"Compare startl\u00e5n, bost\u00f8tte and housing-grant indicators across municipalities or years. Returns Husbanken's published aggregate calculations and suppression through its anonymous Qlik service; this underlying interface is undocumented and may change. Money is NOK.","documentation":"https://statistikk.husbanken.no/","operations":[{"name":"list_statistics","description":"List available housing statistics and the supported geographical/time grouping. Signature: list_statistics().","signature":"list_statistics()","parameters":[],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","not_paged":"Returns the three supported statistics in full.","output_fields":["statistics","statistics[].statistic","statistics[].name","statistics[].group_by","source_url","note"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["statistics[].name"]},"description_language":"en","documentation":"List available housing statistics and the supported geographical/time grouping.\n\nAll results use the publisher's aggregate tables, not case-level exports.\n\nSignature: list_statistics().","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/husbanken/list_statistics/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/husbanken/list_statistics/?hent=1","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","response_schema":{"type":"object","properties":{"statistics":{"type":"array","items":{"type":"object","properties":{"statistic":{"type":["string","null"]},"name":{"type":["string","null"]},"group_by":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"source_url":{"type":["string","null"]},"note":{"type":["string","null"]}},"additionalProperties":false},"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/husbanken/list_statistics/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","response_example":{"source":"husbanken","operation":"list_statistics","parameters":{},"data":{"statistics":[{"statistic":"example value","name":"Example","group_by":["example value"]}],"source_url":"https://example.invalid/resource","note":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"husbanken","name":"Housing support (Husbanken)","description":"Compare startl\u00e5n, bost\u00f8tte and housing-grant indicators across municipalities or years. Returns Husbanken's published aggregate calculations and suppression through its anonymous Qlik service; this underlying interface is undocumented and may change. Money is NOK.","publisher":"Husbanken","license":"https://data.norge.no/nlod/no/1.0","cache_ttl_seconds":3600,"documentation":"https://statistikk.husbanken.no/"}]},"_provenance":{"data":{"source":"husbanken","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken"},"entities":{"source":"husbanken","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/list_statistics","source":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","wiki":"https://allemannsdata.com/wiki/kilder/husbanken/list_statistics/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"get_statistics","description":"Get published startl\u00e5n, bost\u00f8tte or housing-grant figures by municipality or year. Signature: get_statistics(statistic: one of: startlan, bostotte, housing_grants, required; group_by: one of: municipality, year, optional, default 'municipality'; year: integer, calendar year, optional, default None; municipality_number: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_statistics(statistic: one of: startlan, bostotte, housing_grants, required; group_by: one of: municipality, year, optional, default 'municipality'; year: integer, calendar year, optional, default None; municipality_number: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"statistic","type":"string","schema":{"enum":["startlan","bostotte","housing_grants"],"type":"string"},"required":true,"default":null,"description":"startlan, bostotte or housing_grants; see list_statistics.","unit":null,"display_type":"one of: startlan, bostotte, housing_grants"},{"name":"group_by","type":"string","schema":{"enum":["municipality","year"],"type":"string"},"required":false,"default":"municipality","description":"municipality for comparisons, year for historical series.","unit":null,"display_type":"one of: municipality, year"},{"name":"year","type":"integer","schema":{"anyOf":[{"maximum":2100,"minimum":2008,"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Optional year filter. Without it the publisher aggregates all available years. Unit: calendar year.","unit":"calendar year","display_type":"integer"},{"name":"municipality_number","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional four-digit municipality code, e.g. 5001 for Trondheim. Historical codes and Oslo boroughs follow the publisher's geography.","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"maximum":100,"minimum":1,"type":"integer","default":25},"required":false,"default":25,"description":"Rows per page, 1\u2013100. Unit: items. Through this API: default 25, maximum 100.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"minimum":0,"type":"integer"},"required":false,"default":0,"description":"Rows to skip. Unit: items.","unit":"items","display_type":"integer"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics?statistic={statistic}&group_by=municipality&year={year}&municipality_number={municipality_number}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics?statistic=bostotte&year=2024&municipality_number=5001","output_fields":["statistic","group_by","year","municipality_number","count","returned","columns","columns[].name","columns[].kind","rows","rows[].cells","rows[].cells[].text","rows[].cells[].value","source_url","note"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["columns[].name"]},"description_language":"en","documentation":"Get published startl\u00e5n, bost\u00f8tte or housing-grant figures by municipality or year.\n\nArgs:\n    statistic: startlan, bostotte or housing_grants; see list_statistics.\n    group_by: municipality for comparisons, year for historical series.\n    year: Optional year filter. Without it the publisher aggregates all available years.\n    municipality_number: Optional four-digit municipality code, e.g. 5001 for Trondheim.\n        Historical codes and Oslo boroughs follow the publisher's geography.\n    limit: Rows per page, 1\u2013100.\n    offset: Rows to skip.\n\nReturns ordered columns and rows of cells with text and numeric value.\nSuppression stays null; percentage values are fractions, not percentage points.\n\nSignature: get_statistics(statistic: one of: startlan, bostotte, housing_grants, required; group_by: one of: municipality, year, optional, default 'municipality'; year: integer, calendar year, optional, default None; municipality_number: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/husbanken/get_statistics/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/husbanken/get_statistics/?statistic={statistic}&group_by=municipality&year={year}&municipality_number={municipality_number}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics","response_schema":{"type":"object","properties":{"statistic":{"type":["string","null"]},"group_by":{"type":["string","null"]},"year":{"type":["integer","null"]},"municipality_number":{"type":["string","null"]},"count":{"type":"integer"},"returned":{"type":"integer"},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"kind":{"type":["string","null"]}},"additionalProperties":false}},"rows":{"type":"array","items":{"type":"object","properties":{"cells":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":["number","null"]}},"additionalProperties":false}}},"additionalProperties":false}},"source_url":{"type":["string","null"]},"note":{"type":["string","null"]}},"additionalProperties":false},"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/husbanken/get_statistics/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics?statistic={statistic}&group_by=municipality&year={year}&municipality_number={municipality_number}&limit=25&offset=0","response_example":{"source":"husbanken","operation":"get_statistics","parameters":{"statistic":"bostotte","year":2024,"municipality_number":"5001","limit":25,"offset":0},"data":{"statistic":"example value","group_by":"example value","year":1,"municipality_number":"example value","count":1,"returned":1,"columns":[{"name":"Example","kind":"example value"}],"rows":[{"cells":[{"text":"example value","value":1.0}]}],"source_url":"https://example.invalid/resource","note":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"husbanken","name":"Housing support (Husbanken)","description":"Compare startl\u00e5n, bost\u00f8tte and housing-grant indicators across municipalities or years. Returns Husbanken's published aggregate calculations and suppression through its anonymous Qlik service; this underlying interface is undocumented and may change. Money is NOK.","publisher":"Husbanken","license":"https://data.norge.no/nlod/no/1.0","cache_ttl_seconds":3600,"documentation":"https://statistikk.husbanken.no/"}]},"_provenance":{"data":{"source":"husbanken","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken"},"entities":{"source":"husbanken","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/get_statistics","source":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","wiki":"https://allemannsdata.com/wiki/kilder/husbanken/get_statistics/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken/{operation}/schema","related_sources":[{"id":"ssb","name":"Statistics Norway","reason":"Housing, population and household statistics for the same municipality.","api":"https://allemannsdata.com/wiki/api/v1/kilder/ssb","wiki":"https://allemannsdata.com/wiki/kilder/ssb/"},{"id":"geonorge","name":"Geonorge","reason":"Addresses and municipality codes.","api":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge","wiki":"https://allemannsdata.com/wiki/kilder/geonorge/"}],"_meta":{"retrieved_at":"2026-11-29T12:00:50Z","language":"en","content_languages":["en"],"sources":[{"id":"husbanken","name":"Housing support (Husbanken)","description":"Compare startl\u00e5n, bost\u00f8tte and housing-grant indicators across municipalities or years. Returns Husbanken's published aggregate calculations and suppression through its anonymous Qlik service; this underlying interface is undocumented and may change. Money is NOK.","publisher":"Husbanken","license":"https://data.norge.no/nlod/no/1.0","documentation":"https://statistikk.husbanken.no/","cache_ttl_seconds":3600}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","names":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/husbanken","wiki":"https://allemannsdata.com/wiki/kilder/husbanken/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}
