Statistics Norway

App · 13 actions

Read Norway's official statistics from Statistics Norway (SSB): population by municipality, prices and inflation, jobs and wages, GDP, house prices, energy and thousands more Statbank tables. Search the tables, see what a table holds, get its figures as clean rows by region, period and measure, or the latest figure for a place, and look up Norway's official codes for municipalities, industries, occupations and postal codes. No account or API key required.

Actions

ActionWhat it does
Get a classificationGet a classification or code list from KLASS: what it covers, the version valid today and every earlier version with the days it applied, and who keeps it.
Get data from a saved queryGet the figures of a query saved in Statbank (choose the table and values on ssb.no, then save the query to get its number or link) as one row per figure.
Get table dataGet figures from a Statbank table as one row per figure: choose regions, what to measure, the periods (the latest few or a range) and any other variable such as sex or age.
Get table detailsSee what a Statbank table holds: its title, the periods it covers and when it was updated, each variable with how many values it has, whether it must be chosen and how it can be grouped, what it measures in which unit, its notes and who to contact.
Get the latest figuresGet a table's figures for its latest period, for one place or the whole country, such as the latest population of Bergen or this month's consumer price index.
List a variable's valuesList the values of one of a table's variables with their codes, such as every region, age or industry, or the groups of one of its groupings (such as counties), optionally only those whose code or name contains some text.
List classification codesList a classification's codes and names valid on a day, such as every municipality today or the industry sections, optionally one level only, chosen codes, or names containing some text.
List code changesList how a classification's codes changed between two days: codes added, ended, renamed or moved to new codes, such as municipalities merged in 2024.
List recently updated tablesList the Statbank tables updated since a day, newest first, optionally only those matching words.
Look up a codeFind the name of one code in a classification on a day, such as municipality 4601 (Bergen) or industry 47.110, with the code above it.
Map codes between classificationsTurn codes from one classification into another on a day, such as postal codes into municipalities or municipalities into counties, for every code or only those given.
Search classificationsFind Norway's official classifications in KLASS by words, such as 'municipalities', 'industry' or 'occupation', optionally with Statistics Norway's code lists (such as postal code areas).
Search tablesFind Statbank tables by words in their titles, such as 'population', 'consumer price index' or 'salmon'.

Get a classification

Get a classification or code list from KLASS: what it covers, the version valid today and every earlier version with the days it applied, and who keeps it.

Inputs

ClassificationclassificationtextRequired
The classification or code list: pick one (such as Municipalities or Standard Industrial Classification), or type its KLASS number, such as 131. 'Search classifications' finds the rest.

Outputs

contact_emailtext
Their email address.
contact_nametext
Who to ask about it.
current_versiontext
The name of the version valid today, or null.
descriptiontext
What it covers.
idtext
The classification's KLASS number, such as 131, which every classification field takes.
last_modifiedtext
When KLASS last changed it, in UTC (ISO 8601).
nametext
Its name.
owning_sectiontext
The division at Statistics Norway that keeps it.
statistical_unitslist
What it classifies, such as Region or Person.
typetext
Classification, or Codelist for a code list.
urltext
Its page on ssb.no.
version_countnumber
How many versions it has had.
versionslist
Its versions, newest first.
Example output
{
  "contact_email": "Dana.Moe@ssb.no",
  "contact_name": "Moe, Dana",
  "current_version": "Municipalities 2026",
  "description": "Municipality is both a term for a political and an administrative level in Norway and a regional level in the publication of statistics. In Norway, the municipality number consists of four digits, where the first two correspond to the county number.",
  "id": "131",
  "last_modified": "2026-10-14T09:10:42Z",
  "name": "Classification of municipalities",
  "owning_section": "320 - Division for population statistic",
  "statistical_units": [
    "Region"
  ],
  "type": "Classification",
  "url": "https://www.ssb.no/en/klass/klassifikasjoner/131",
  "version_count": 141,
  "versions": [
    {
      "current": true,
      "id": "3262",
      "name": "Municipalities 2026",
      "valid_from": "2026-01-01",
      "valid_to": null
    },
    {
      "current": false,
      "id": "1710",
      "name": "Municipalities 2024",
      "valid_from": "2024-01-01",
      "valid_to": "2026-01-01"
    },
    {
      "current": false,
      "id": "1847",
      "name": "Municipalities 2023",
      "valid_from": "2023-01-01",
      "valid_to": "2024-01-01"
    }
  ]
}

Get data from a saved query

Get the figures of a query saved in Statbank (choose the table and values on ssb.no, then save the query to get its number or link) as one row per figure. A saved query that follows the latest periods returns new figures as they come.

Inputs

Saved querysaved_querytextRequired
The saved query's number, such as 10119120, or its link (https://www.ssb.no/en/statbank/sq/10119120).
Most rowsmax_rowsnumber
The most figures to return, up to 10,000. A selection holding more is refused with what to narrow, so nothing is cut off unnoticed.From 1 to 10000. Default: 1000.

Outputs

countnumber
How many figures are listed.
noteslist
Statistics Norway's notes on these figures, links written out.
rowslist
One row per figure, in the query's order.
saved_query_idtext
The saved query's number.
sourcetext
Who to credit, 'Statistics Norway'. Its licence (CC BY 4.0) asks you to name it wherever you use the figures.
table_idtext
The table the query reads.
titletext
The title Statbank gives the query's figures.
totalnumber
How many figures the selection holds in all.
truncatedtrue/false
True when the selection held more figures than 'Most rows' allows and only the first are listed.
updatedtext
When Statistics Norway last updated the table, in UTC as an ISO 8601 date and time (new figures come out at 08:00 Norwegian time).
urltext
The table's page in Statbank on ssb.no.
Example output
{
  "count": 3,
  "notes": [
    "Please note that base year 2000=100 is updated to 2015=100 from the publishing of the August 2019 indices. This means that all time series are rescaled to the new base year 2015=100. It is important to be aware that changing the reference year can cause discrepancies in already published change rates. This is mainly due to rounding effects."
  ],
  "rows": [
    {
      "codes": {
        "Arbeidstype": "20",
        "ContentsCode": "Byggindeks",
        "Tid": "2020M01"
      },
      "contents": "Construction cost index",
      "contents_code": "Byggindeks",
      "dimensions": {
        "contents": "Construction cost index",
        "month": "2020M01",
        "type of employment": "Multi dwelling houses total"
      },
      "period": "2020M01",
      "period_start": "2020-01-01",
      "region": null,
      "region_code": null,
      "status": null,
      "status_meaning": null,
      "unit": "index",
      "value": 113.1
    },
    {
      "codes": {
        "Arbeidstype": "20",
        "ContentsCode": "EndrForrMnd",
        "Tid": "2020M01"
      },
      "contents": "Change from previous month (per cent)",
      "contents_code": "EndrForrMnd",
      "dimensions": {
        "contents": "Change from previous month (per cent)",
        "month": "2020M01",
        "type of employment": "Multi dwelling houses total"
      },
      "period": "2020M01",
      "period_start": "2020-01-01",
      "region": null,
      "region_code": null,
      "status": null,
      "status_meaning": null,
      "unit": "per cent",
      "value": 0.4
    },
    {
      "codes": {
        "Arbeidstype": "20",
        "ContentsCode": "EndrForrAar",
        "Tid": "2020M01"
      },
      "contents": "Change from previous year (per cent)",
      "contents_code": "EndrForrAar",
      "dimensions": {
        "contents": "Change from previous year (per cent)",
        "month": "2020M01",
        "type of employment": "Multi dwelling houses total"
      },
      "period": "2020M01",
      "period_start": "2020-01-01",
      "region": null,
      "region_code": null,
      "status": null,
      "status_meaning": null,
      "unit": "per cent",
      "value": 2.2
    }
  ],
  "saved_query_id": "10119120",
  "source": "Statistics Norway",
  "table_id": "08655",
  "title": "Construction cost index for multi dwelling houses (2015=100), by type of employment and month",
  "total": 243,
  "truncated": true,
  "updated": "2026-10-13T06:00:00Z",
  "url": "https://www.ssb.no/en/statbank/table/08655"
}

Get table data

Get figures from a Statbank table as one row per figure: choose regions, what to measure, the periods (the latest few or a range) and any other variable such as sex or age. Each row has its period, region, measure, unit, status flag and every dimension named, with the value as a number.

Inputs

TabletabletextRequired
The Statbank table: pick a headline table, or type its 5-digit number (such as 07459) or paste its Statbank link. 'Search tables' finds the rest.
Regionregiontext
Where the figures are for: pick a place or a group (such as 'Group: Counties 2024-' for a row per county), or type codes or names such as 0301 or Bergen, several separated by commas, or * for every region. Leave empty for the whole country when the table allows it.
Contentscontentstext
What to measure, from the table's own list (such as 'Persons' or '12-month rate'), or codes typed in, several separated by commas. Leave empty for everything the table measures.
From periodfrom_periodtext
The first period to return, from the table's own list (such as 2020 or 2026M01). Leave empty with 'To period' to get the latest periods instead.
To periodto_periodtext
The last period to return. Leave empty to run to the latest one when 'From period' is set.
Latest periodslatest_periodsnumber
How many of the most recent periods to return when neither 'From period' nor 'To period' is set, up to 1,000.From 1 to 1000. Default: 1.
Other selectionsother_selectionsobject
A value for each of the table's other variables, such as sex or age: pick one, a group, All values, or type codes separated by commas. Leave one empty for its total (or the table's own choice when it has no total).
Most rowsmax_rowsnumber
The most figures to return, up to 10,000. A selection holding more is refused with what to narrow, so nothing is cut off unnoticed.From 1 to 10000. Default: 1000.

Outputs

countnumber
How many figures are listed.
noteslist
Statistics Norway's notes on these figures, links written out.
rowslist
One row per figure, in the table's order.
sourcetext
Who to credit, 'Statistics Norway'. Its licence (CC BY 4.0) asks you to name it wherever you use the figures.
table_idtext
The table's 5-digit Statbank number, such as 07459. Every table field takes it.
titletext
The table's title.
totalnumber
How many figures the selection holds in all.
totals_overlist
Variables left out, so each figure is their total (all ages, both sexes).
truncatedtrue/false
True when the selection held more figures than 'Most rows' allows and only the first are listed.
updatedtext
When Statistics Norway last updated the table, in UTC as an ISO 8601 date and time (new figures come out at 08:00 Norwegian time).
urltext
The table's page in Statbank on ssb.no.
Example output
{
  "count": 4,
  "notes": [
    "Expired municipalities in the period 1986-2013 are not included in the table that distributes people in Police districts 2016. The figures for several of the Police districts 2016 are therefore not complete for this period."
  ],
  "rows": [
    {
      "codes": {
        "ContentsCode": "Personer1",
        "Kjonn": "2",
        "Region": "03",
        "Tid": "2026"
      },
      "contents": "Persons",
      "contents_code": "Personer1",
      "dimensions": {
        "contents": "Persons",
        "region": "Oslo - Oslove",
        "sex": "Females",
        "year": "2026"
      },
      "period": "2026",
      "period_start": "2026-01-01",
      "region": "Oslo - Oslove",
      "region_code": "03",
      "status": null,
      "status_meaning": null,
      "unit": "number",
      "value": 366107
    },
    {
      "codes": {
        "ContentsCode": "Personer1",
        "Kjonn": "1",
        "Region": "03",
        "Tid": "2026"
      },
      "contents": "Persons",
      "contents_code": "Personer1",
      "dimensions": {
        "contents": "Persons",
        "region": "Oslo - Oslove",
        "sex": "Males",
        "year": "2026"
      },
      "period": "2026",
      "period_start": "2026-01-01",
      "region": "Oslo - Oslove",
      "region_code": "03",
      "status": null,
      "status_meaning": null,
      "unit": "number",
      "value": 362607
    },
    {
      "codes": {
        "ContentsCode": "Personer1",
        "Kjonn": "2",
        "Region": "4601",
        "Tid": "2026"
      },
      "contents": "Persons",
      "contents_code": "Personer1",
      "dimensions": {
        "contents": "Persons",
        "region": "Bergen",
        "sex": "Females",
        "year": "2026"
      },
      "period": "2026",
      "period_start": "2026-01-01",
      "region": "Bergen",
      "region_code": "4601",
      "status": null,
      "status_meaning": null,
      "unit": "number",
      "value": 146663
    },
    {
      "codes": {
        "ContentsCode": "Personer1",
        "Kjonn": "1",
        "Region": "4601",
        "Tid": "2026"
      },
      "contents": "Persons",
      "contents_code": "Personer1",
      "dimensions": {
        "contents": "Persons",
        "region": "Bergen",
        "sex": "Males",
        "year": "2026"
      },
      "period": "2026",
      "period_start": "2026-01-01",
      "region": "Bergen",
      "region_code": "4601",
      "status": null,
      "status_meaning": null,
      "unit": "number",
      "value": 148197
    }
  ],
  "source": "Statistics Norway",
  "table_id": "07459",
  "title": "Population, by sex and one-year age groups (M) 1986-2026",
  "total": 4,
  "totals_over": [
    "age"
  ],
  "truncated": false,
  "updated": "2026-02-25T07:00:00Z",
  "url": "https://www.ssb.no/en/statbank/table/07459"
}

Get table details

See what a Statbank table holds: its title, the periods it covers and when it was updated, each variable with how many values it has, whether it must be chosen and how it can be grouped, what it measures in which unit, its notes and who to contact.

Inputs

TabletabletextRequired
The Statbank table: pick a headline table, or type its 5-digit number (such as 07459) or paste its Statbank link. 'Search tables' finds the rest.

Outputs

contactslist
Who at Statistics Norway answers for the table.
contentslist
What it measures, each with its unit.
discontinuedtrue/false
True when the table is no longer updated.
first_periodtext
The first period the table covers.
frequencytext
How often its figures come, such as Annual or Monthly.
idtext
The table's 5-digit Statbank number, such as 07459. Every table field takes it.
last_periodtext
The latest period the table covers.
noteslist
Statistics Norway's notes on the table, links written out.
official_statisticstrue/false
True when its figures are official statistics.
sourcetext
Who to credit, 'Statistics Norway'. Its licence (CC BY 4.0) asks you to name it wherever you use the figures.
statistics_pagetext
The page on ssb.no about the statistics behind the table, or null.
subjecttext
The subject it is filed under.
titletext
The table's title.
updatedtext
When Statistics Norway last updated the table, in UTC as an ISO 8601 date and time (new figures come out at 08:00 Norwegian time).
urltext
The table's page in Statbank on ssb.no.
variableslist
Its variables (dimensions), in the table's order.
Example output
{
  "contacts": [
    {
      "email": "mgh@ssb.no",
      "name": "Magnus Haug",
      "phone": "40 81 14 91"
    }
  ],
  "contents": [
    {
      "base_period": null,
      "code": "Personer1",
      "decimals": 0,
      "label": "Persons",
      "reference_period": "1.1.",
      "unit": "number"
    }
  ],
  "discontinued": false,
  "first_period": "1986",
  "frequency": "Annual",
  "id": "07459",
  "last_period": "2026",
  "notes": [
    "Expired municipalities in the period 1986-2013 are not included in the table that distributes people in Police districts 2016. The figures for several of the Police districts 2016 are therefore not complete for this period."
  ],
  "official_statistics": true,
  "source": "Statistics Norway",
  "statistics_page": "https://www.ssb.no/en/folkemengde",
  "subject": "Population",
  "title": "Population, by sex and one-year age groups (M) 1986-2026",
  "updated": "2026-02-25T07:00:00Z",
  "url": "https://www.ssb.no/en/statbank/table/07459",
  "variables": [
    {
      "code": "Region",
      "first_value": "The whole country",
      "groupings": [
        {
          "id": "agg_KommFylker",
          "label": "Counties 2024, aggregated time series",
          "type": "Aggregation"
        },
        {
          "id": "agg_Fylker2024",
          "label": "Counties 2024-",
          "type": "Aggregation"
        },
        {
          "id": "agg_Fylker2020",
          "label": "Counties 2020-2023",
          "type": "Aggregation"
        }
      ],
      "label": "region",
      "last_value": "Unknown municipality",
      "required": false,
      "role": "region",
      "value_count": 994
    },
    {
      "code": "Kjonn",
      "first_value": "Females",
      "groupings": [],
      "label": "sex",
      "last_value": "Males",
      "required": false,
      "role": null,
      "value_count": 2
    },
    {
      "code": "Alder",
      "first_value": "0 years",
      "groupings": [
        {
          "id": "agg_FemAarigGruppering",
          "label": "5-years groups",
          "type": "Aggregation"
        },
        {
          "id": "agg_TiAarigGruppering",
          "label": "10-years groups",
          "type": "Aggregation"
        }
      ],
      "label": "age",
      "last_value": "105 years or older",
      "required": false,
      "role": null,
      "value_count": 106
    },
    {
      "code": "ContentsCode",
      "first_value": "Persons",
      "groupings": [],
      "label": "contents",
      "last_value": "Persons",
      "required": true,
      "role": "contents",
      "value_count": 1
    },
    {
      "code": "Tid",
      "first_value": "1986",
      "groupings": [],
      "label": "year",
      "last_value": "2026",
      "required": true,
      "role": "time",
      "value_count": 41
    }
  ]
}

Get the latest figures

Get a table's figures for its latest period, for one place or the whole country, such as the latest population of Bergen or this month's consumer price index. Other variables are left at their totals.

Inputs

TabletabletextRequired
The Statbank table: pick a headline table, or type its 5-digit number (such as 07459) or paste its Statbank link. 'Search tables' finds the rest.
Regionregiontext
Where the figures are for: pick a place or a group (such as 'Group: Counties 2024-' for a row per county), or type codes or names such as 0301 or Bergen, several separated by commas, or * for every region. Leave empty for the whole country when the table allows it.
Contentscontentstext
What to measure, from the table's own list (such as 'Persons' or '12-month rate'), or codes typed in, several separated by commas. Leave empty for everything the table measures.

Outputs

countnumber
How many figures are listed.
figureslist
Every figure for the latest period, one per row.
periodtext
The latest period the table has, such as 2026M09.
period_starttext
That period's first day (YYYY-MM-DD).
regiontext
The region's name, when the figures are for one region.
region_codetext
The region's code, when the figures are for one region.
sourcetext
Who to credit, 'Statistics Norway'. Its licence (CC BY 4.0) asks you to name it wherever you use the figures.
table_idtext
The table's 5-digit Statbank number, such as 07459. Every table field takes it.
titletext
The table's title.
totalnumber
How many figures the selection holds in all.
totals_overlist
Variables left out, so each figure is their total (all ages, both sexes).
truncatedtrue/false
True when only the first figures are listed.
unittext
The first figure's unit.
updatedtext
When Statistics Norway last updated the table, in UTC as an ISO 8601 date and time (new figures come out at 08:00 Norwegian time).
urltext
The table's page in Statbank on ssb.no.
valuenumber
The first figure, the only one when the table measures one thing for the place.
Example output
{
  "count": 1,
  "figures": [
    {
      "codes": {
        "ContentsCode": "Personer1",
        "Region": "4601",
        "Tid": "2026"
      },
      "contents": "Persons",
      "contents_code": "Personer1",
      "dimensions": {
        "contents": "Persons",
        "region": "Bergen",
        "year": "2026"
      },
      "period": "2026",
      "period_start": "2026-01-01",
      "region": "Bergen",
      "region_code": "4601",
      "status": null,
      "status_meaning": null,
      "unit": "number",
      "value": 294860
    }
  ],
  "period": "2026",
  "period_start": "2026-01-01",
  "region": "Bergen",
  "region_code": "4601",
  "source": "Statistics Norway",
  "table_id": "07459",
  "title": "Population, by sex and one-year age groups (M) 1986-2026",
  "total": 1,
  "totals_over": [
    "sex",
    "age"
  ],
  "truncated": false,
  "unit": "number",
  "updated": "2026-02-25T07:00:00Z",
  "url": "https://www.ssb.no/en/statbank/table/07459",
  "value": 294860
}

List a variable's values

List the values of one of a table's variables with their codes, such as every region, age or industry, or the groups of one of its groupings (such as counties), optionally only those whose code or name contains some text.

Inputs

TabletabletextRequired
The Statbank table: pick a headline table, or type its 5-digit number (such as 07459) or paste its Statbank link. 'Search tables' finds the rest.
VariablevariabletextRequired
The variable: pick one of the table's, or type its code or name, such as Region or sex.
Groupinggroupingtext
List the groups of one of the variable's groupings instead, such as 'Counties 2024-'. Leave empty for the values themselves.
Containingsearchtext
Only values whose code or name contains this text, such as 'Bergen'. Leave empty for all.
How many to returnlimitnumber
How many values to return, up to 5,000.From 1 to 5000. Default: 1000.

Outputs

countnumber
How many are listed here.
grouping_idtext
The grouping listed, or null for the values themselves.
grouping_labeltext
What the grouping is, or null.
requiredtrue/false
True when a value must be chosen for it; false when it can be left out for its total.
table_idtext
The table's 5-digit Statbank number, such as 07459. Every table field takes it.
totalnumber
How many values match in all.
truncatedtrue/false
True when there were more than are listed here: raise the limit or narrow the search.
valueslist
The values, in the table's order.
variable_codetext
The variable's code, such as Region.
variable_labeltext
The variable's name, such as region.
Example output
{
  "count": 4,
  "grouping_id": null,
  "grouping_label": null,
  "required": false,
  "table_id": "07459",
  "total": 4,
  "truncated": false,
  "values": [
    {
      "code": "4601",
      "label": "Bergen",
      "unit": null
    },
    {
      "code": "1201",
      "label": "Bergen (1972-2019)",
      "unit": null
    },
    {
      "code": "13",
      "label": "Bergen (-1971)",
      "unit": null
    },
    {
      "code": "1301",
      "label": "Bergen (-1971)",
      "unit": null
    }
  ],
  "variable_code": "Region",
  "variable_label": "region"
}

List classification codes

List a classification's codes and names valid on a day, such as every municipality today or the industry sections, optionally one level only, chosen codes, or names containing some text.

Inputs

ClassificationclassificationtextRequired
The classification or code list: pick one (such as Municipalities or Standard Industrial Classification), or type its KLASS number, such as 131. 'Search classifications' finds the rest.
Valid onvalid_ondate
The day the codes must be valid on. Leave empty for today.
Levellevelnumber
Only codes at this level, from 1 at the top (industry sections are level 1, divisions level 2). Leave empty for every level.From 1 to 10.
Codescodestext
Only these codes, separated by commas, with * for any ending (46* for Vestland's municipalities) and a dash for a range (01-03). Leave empty for all.
Containingsearchtext
Only codes whose code or name contains this text. Leave empty for all.
How many to returnlimitnumber
How many codes to return, up to 5,000.From 1 to 5000. Default: 1000.

Outputs

classification_idtext
The classification's KLASS number, such as 131, which every classification field takes.
codeslist
The codes, in KLASS's order.
countnumber
How many are listed here.
datetext
The day the codes are valid on (YYYY-MM-DD).
totalnumber
How many codes match in all.
truncatedtrue/false
True when there were more than are listed here: raise the limit or narrow the search.
Example output
{
  "classification_id": "6",
  "codes": [
    {
      "code": "A",
      "level": 1,
      "name": "Agriculture, forestry and fishing",
      "notes": null,
      "parent_code": null,
      "short_name": "Agriculture, forestry and fishing"
    },
    {
      "code": "B",
      "level": 1,
      "name": "Mining and quarrying",
      "notes": null,
      "parent_code": null,
      "short_name": "Mining and quarrying"
    },
    {
      "code": "C",
      "level": 1,
      "name": "Manufacturing",
      "notes": null,
      "parent_code": null,
      "short_name": "Manufacturing"
    },
    {
      "code": "D",
      "level": 1,
      "name": "Electricity, gas, steam and air conditioning supply",
      "notes": null,
      "parent_code": null,
      "short_name": "Electricity, gas and steam supply"
    }
  ],
  "count": 4,
  "date": "2026-10-23",
  "total": 22,
  "truncated": true
}

List code changes

List how a classification's codes changed between two days: codes added, ended, renamed or moved to new codes, such as municipalities merged in 2024. Optionally only the changes to one code.

Inputs

ClassificationclassificationtextRequired
The classification or code list: pick one (such as Municipalities or Standard Industrial Classification), or type its KLASS number, such as 131. 'Search classifications' finds the rest.
From datefrom_datedateRequired
The first day to look at.
To dateto_datedate
The day to stop at (changes on it are left out). Leave empty for up to today.
Codecodetext
Only changes to or from this code. Leave empty for every change.

Outputs

changeslist
Each change from an old code to a new one.
classification_idtext
The classification's KLASS number, such as 131, which every classification field takes.
codetext
The code the changes were narrowed to, or null for all.
countnumber
How many changes are listed.
from_datetext
The first day looked at (YYYY-MM-DD).
to_datetext
The day after the last one looked at (YYYY-MM-DD).
Example output
{
  "changes": [
    {
      "change": "recoded",
      "changed_on": "2024-01-01",
      "new_code": "1508",
      "new_name": "\u00c5lesund",
      "old_code": "1507",
      "old_name": "\u00c5lesund"
    },
    {
      "change": "recoded",
      "changed_on": "2024-01-01",
      "new_code": "1580",
      "new_name": "Haram",
      "old_code": "1507",
      "old_name": "\u00c5lesund"
    }
  ],
  "classification_id": "131",
  "code": "1507",
  "count": 2,
  "from_date": "2023-06-01",
  "to_date": "2024-06-01"
}

List recently updated tables

List the Statbank tables updated since a day, newest first, optionally only those matching words. Statistics Norway publishes new figures at 08:00 Norwegian time on working days.

Inputs

Updated sincesincedate
List tables updated on this day or later. Leave empty for today.
Search textquerytext
Only tables whose titles match these words. Leave empty for every updated table.
How many to returnlimitnumber
How many tables to return, up to 100.From 1 to 100. Default: 50.
Pagepagenumber
Which page of results to return, from 1.From 1 to 10000. Default: 1.

Outputs

countnumber
How many tables are on this page.
pagenumber
Which page of results this is, from 1.
querytext
The search text as it was sent, or null for none.
sincetext
The first day counted (YYYY-MM-DD): tables updated on it or later are listed.
tableslist
The tables on this page, most recently updated first.
totalnumber
How many tables match in all.
total_pagesnumber
How many pages of results there are.
Example output
{
  "count": 2,
  "page": 1,
  "query": null,
  "since": "2026-10-21",
  "tables": [
    {
      "discontinued": false,
      "first_period": "2016M01",
      "frequency": "Monthly",
      "id": "12940",
      "last_period": "2026M09",
      "subject": "Labour market and earnings",
      "title": "Basis for employer's National insurance contributions, calculated employer's National insurance contributions and payment in cash, by sector 2016M01-2026M09",
      "updated": "2026-10-21T06:00:00Z",
      "url": "https://www.ssb.no/en/statbank/table/12940",
      "variables": [
        "sector",
        "type of contributions",
        "contents",
        "month"
      ]
    },
    {
      "discontinued": false,
      "first_period": "2015M12",
      "frequency": "Monthly",
      "id": "13966",
      "last_period": "2026M08",
      "subject": "Labour market and earnings",
      "title": "Public enterprises with simplified settlement of National insurance contributions (NIC), by type of contributions 2015M12-2026M08",
      "updated": "2026-10-21T06:00:00Z",
      "url": "https://www.ssb.no/en/statbank/table/13966",
      "variables": [
        "type of contributions",
        "contents",
        "month"
      ]
    }
  ],
  "total": 71,
  "total_pages": 15
}

Look up a code

Find the name of one code in a classification on a day, such as municipality 4601 (Bergen) or industry 47.110, with the code above it. A code that isn't valid that day comes back as not found.

Inputs

ClassificationclassificationtextRequired
The classification or code list: pick one (such as Municipalities or Standard Industrial Classification), or type its KLASS number, such as 131. 'Search classifications' finds the rest.
CodecodetextRequired
The code to look up, such as 0301 or 47.110.
Valid onvalid_ondate
The day the codes must be valid on. Leave empty for today.

Outputs

classification_idtext
The classification's KLASS number, such as 131, which every classification field takes.
codetext
The code looked up.
datetext
The day looked at (YYYY-MM-DD).
foundtrue/false
True when the code is valid on that day.
levelnumber
Its level, from 1 at the top.
nametext
Its name, or null when not found.
notestext
KLASS's notes on it, or null.
parent_codetext
The code one level up, or null.
parent_nametext
The name of the code one level up, or null.
short_nametext
A shorter name, when it has one.
Example output
{
  "classification_id": "6",
  "code": "47.110",
  "date": "2026-10-23",
  "found": true,
  "level": 5,
  "name": "Non-specialised retail sale of predominately food, beverages or tobacco",
  "notes": null,
  "parent_code": "47.11",
  "parent_name": "Non-specialised retail sale of predominately food, beverages or tobacco",
  "short_name": "Non-spec. ret. sale of predom. food, bev., tobacco"
}

Map codes between classifications

Turn codes from one classification into another on a day, such as postal codes into municipalities or municipalities into counties, for every code or only those given.

Inputs

Map fromclassificationtextRequired
The classification the codes are in: pick one (such as Postal code areas or Municipalities), or type its KLASS number.
Map totarget_classificationtextRequired
The classification to turn them into, such as Municipalities (131) or County (104).
Valid onvalid_ondate
The day the codes must be valid on. Leave empty for today.
Codescodestext
Only these codes, separated by commas, such as postal codes 0150, 5003. Leave empty for every code.
How many to returnlimitnumber
How many mappings to return, up to 5,000.From 1 to 5000. Default: 1000.

Outputs

classification_idtext
The classification's KLASS number, such as 131, which every classification field takes.
countnumber
How many are listed here.
datetext
The day the mapping is valid on (YYYY-MM-DD).
mappingslist
Each code and what it corresponds to.
not_foundlist
Codes asked for that have no mapping on that day.
target_classification_idtext
The classification mapped to.
totalnumber
How many mappings match in all.
truncatedtrue/false
True when there were more than are listed here: raise the limit or narrow the search.
Example output
{
  "classification_id": "616",
  "count": 2,
  "date": "2026-10-23",
  "mappings": [
    {
      "source_code": "0150",
      "source_name": "OSLO",
      "target_code": "0301",
      "target_name": "Oslo - Oslove"
    },
    {
      "source_code": "5003",
      "source_name": "BERGEN",
      "target_code": "4601",
      "target_name": "Bergen"
    }
  ],
  "not_found": [
    "9999"
  ],
  "target_classification_id": "131",
  "total": 2,
  "truncated": false
}

Search classifications

Find Norway's official classifications in KLASS by words, such as 'municipalities', 'industry' or 'occupation', optionally with Statistics Norway's code lists (such as postal code areas).

Inputs

Search textquerytextRequired
Words to look for in names and descriptions.
Include code listsinclude_code_liststrue/false
Also find code lists, such as postal code areas, which are left out by default.Default: false.
How many to returnlimitnumber
How many classifications to return, up to 100.From 1 to 100. Default: 20.

Outputs

classificationslist
The matching classifications and code lists, best match first.
countnumber
How many are listed here.
querytext
The search text.
Example output
{
  "classifications": [
    {
      "id": "115",
      "language": "en",
      "name": "Classification of municipalities by population size",
      "snippet": "When publishing statistics based on municipalities and population size, this classification is to be used.",
      "url": "https://www.ssb.no/en/klass/klassifikasjoner/115"
    },
    {
      "id": "131",
      "language": "en",
      "name": "Classification of municipalities",
      "snippet": "Municipality is both a term for a political and an administrative level in Norway and a regional level in the publication of statistics. In Norway, the municipality number consists of four digits, where the first two correspond to the county number.",
      "url": "https://www.ssb.no/en/klass/klassifikasjoner/131"
    },
    {
      "id": "129",
      "language": "en",
      "name": "Classification of municipality groups",
      "snippet": "The main classification of Standard Classification of Municipalities is based on the criteria industrial link and centrality.",
      "url": "https://www.ssb.no/en/klass/klassifikasjoner/129"
    }
  ],
  "count": 3,
  "query": "municipalities"
}

Search tables

Find Statbank tables by words in their titles, such as 'population', 'consumer price index' or 'salmon'. Each comes with its table number, the periods it covers, how often it is updated, when it was last updated and its link.

Inputs

Search textquerytext
Words to look for in table titles, or a table number. Leave empty to browse every current table.
Include discontinued tablesinclude_discontinuedtrue/false
Also find tables that are no longer updated (closed series), which are left out by default.Default: false.
How many to returnlimitnumber
How many tables to return, up to 100.From 1 to 100. Default: 20.
Pagepagenumber
Which page of results to return, from 1.From 1 to 10000. Default: 1.

Outputs

countnumber
How many tables are on this page.
pagenumber
Which page of results this is, from 1.
querytext
The search text as it was sent, or null for none.
tableslist
The tables on this page.
totalnumber
How many tables match in all.
total_pagesnumber
How many pages of results there are.
Example output
{
  "count": 2,
  "page": 1,
  "query": "population",
  "tables": [
    {
      "discontinued": false,
      "first_period": "1990",
      "frequency": "Annual",
      "id": "05212",
      "last_period": "2026",
      "subject": "Population",
      "title": "Population in densely and sparsely populated areas, by sex (M) 1990-2026",
      "updated": "2026-08-31T06:00:00Z",
      "url": "https://www.ssb.no/en/statbank/table/05212",
      "variables": [
        "region",
        "densely/sparsely populated areas",
        "sex",
        "contents",
        "year"
      ]
    },
    {
      "discontinued": false,
      "first_period": "2008",
      "frequency": "Annual",
      "id": "12598",
      "last_period": "2024",
      "subject": "Income and consumption",
      "title": "Income indicators for different low income groups (per cent) 2008-2024",
      "updated": "2026-10-23T06:00:00Z",
      "url": "https://www.ssb.no/en/statbank/table/12598",
      "variables": [
        "group",
        "population",
        "contents",
        "year"
      ]
    }
  ],
  "total": 398,
  "total_pages": 133
}

On this page