SSB Norway Population Statistics
ssbnorway.stats.populationGet Norwegian population statistics from the official SSB population register (table 07459). Returns total resident population by year as a JSON-stat2 dataset. Covers Norway as a whole (region_code="0") or any county/municipality by region code. Data goes back to 1986 and is updated annually (reference date January 1st each year). Region codes: "0" = whole country, "03" = Oslo, "11" = Rogaland, "15" = Møre og Romsdal, "18" = Nordland, "46" = Vestland, "50" = Trøndelag. Use ssbnorway.data.metadata on table 07459 to get all 994 municipality-level region codes. This is a simplified shortcut — for sex/age breakdowns use ssbnorway.data.query with table 07459 and the Kjonn/Alder dimension codes from ssbnorway.data.metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Number of most recent years to include (1–20, default 5). Table 07459 covers 1986 to the current reference year. | |
| region_code | No | Norwegian region code from SSB classification. "0" = The whole country (default). County codes (2024 structure): "31" Østfold, "32" Akershus, "03" Oslo, "33" Buskerud, "34" Innlandet, "38" Telemark, "39" Vestfold, "40" Aust-Agder, "42" Vest-Agder, "11" Rogaland, "46" Vestland, "15" Møre og Romsdal, "50" Trøndelag, "18" Nordland, "55" Troms, "56" Finnmark. Use ssbnorway.metadata on table 07459 for all valid municipality codes. | 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |