We use cookies for authentication and — with your consent — for analytics. Read more.

Skip to content
KETL Data
DataAppsMCPSign in
  1. Home
  2. Data catalogue
  3. SSB KOSTRA
PoliticsStandardCC-BY-4.0

SSB KOSTRA

Detailed key figures for municipal service production: schools, health, child welfare, technical services, culture, planning and building. Used for benchmarking, municipality analysis and political decision support.

—

Data volume

Quarterly

Updates

7

MCP tools

Example response — /kostra/indicators
{
  "data": "..."
}

MCP integration

Available MCP tools
ssb.kostra.arbeidsledighet
ssb.kostra.befolkning
ssb.kostra.benchmark
ssb.kostra.indikatorer
ssb.kostra.kategorier
ssb.kostra.kommune
ssb.kostra.landsgjennomsnitt
Configuration for Claude Desktop / Cursor
{
  "mcpServers": {
    "ssb-kostra": {
      "url": "https://data.ketl.no/mcp/ssb-kostra",
      "headers": {
        "Authorization": "Bearer $KETL_API_KEY"
      }
    }
  }
}

Analysis apps that use this source

Ready-made tools built on SSB KOSTRA data. Use them directly in the browser, or wire the same data into your own analysis via the API below.

Municipality profile
A complete profile for a single Norwegian municipality — key figures, population trends and business activity gathered from SSB, Brreg and KOSTRA. To compare several municipalities side by side, use Kommune-sammenligning or Kommuneøkonomi.
Municipality comparison
Side-by-side comparison of 2–3 Norwegian municipalities on population, area, employment, median income and unrestricted revenues. Direct deep links to the SSB tables per indicator.
Labour market
Live labour-market dashboard: LFS unemployment, absolute number of unemployed, monthly earnings and Nordic comparison from Eurostat — with Swedish labour demand from Arbetsförmedlingen. Built on the SSB indicator aliases and open Nordic APIs.
SSB KOSTRA
Municipal key figures from SSB KOSTRA — kindergarten, primary school, health and care, technical services and municipality finances for all Norwegian municipalities.
Municipality finances
Compare all KOSTRA key figures across up to 5 Norwegian municipalities and against the national average — net operating result, long-term debt, unrestricted revenues, school, kindergarten, care services, health, water and waste, culture and transport. Choose a year (2022 to latest). Live data from SSB, CSV export. For demographics and area in the comparison, use Municipality comparison; for all KOSTRA topics for a single municipality, use SSB KOSTRA.
Municipality database
Thematic search in municipal key figures — kindergarten, primary school, care, economy and more — across all municipalities over time, via SSB KOSTRA.

API endpoints

GET
/kostra/indicators

Hent nøkkeltall

q optional
Fritekstfilter på nøkkeltall-navn/kode
query optional
Alias for q
limit optional
Maks antall treff (1–100). limit=20
Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/indicators
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/indicators"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/kostra/municipality/{kommunenummer}

Nøkkeltall per kommune

year optional
Årgang. Utelatt gir siste publiserte årgang. year=2024
Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/municipality/{kommunenummer}
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/municipality/{kommunenummer}"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/kostra/municipality/{kommunenummer}/category/{category}

Nøkkeltall per kommune filtrert til én kategori

Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/municipality/{kommunenummer}/category/{category}
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/municipality/{kommunenummer}/category/{category}"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/kostra/benchmark/{tableId}

Sammenlign kommuner for én tabell (nationalAverage + percentilrang)

Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/benchmark/{tableId}
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/benchmark/{tableId}"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/kostra/categories

Tilgjengelige KOSTRA-kategorier

Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/categories
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/categories"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/kostra/national-averages

Nasjonale gjennomsnitt per nøkkeltall

year optional
Filtrer til ett årstall (4 siffer)
Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/kostra/national-averages
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/kostra/national-averages"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/municipality/{kommunenummer}/befolkning

Befolkningstall per kommune fra SSB 07459 (folkemengde 1. januar)

years optional
Antall år bakover å hente. Klemmes til intervallet. years=10
Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/municipality/{kommunenummer}/befolkning
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/municipality/{kommunenummer}/befolkning"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/municipality/{kommunenummer}/arbeidsledighet

Registrerte arbeidsledige (NAV) som andel av arbeidsstyrken 15–74 år, per kommune og år, fra SSB 13563. NB: ikke AKU-ledighet — svaret bærer `definition`.

years optional
Antall år bakover å hente. Klemmes til intervallet. years=5
Show curl example
# GET https://data.ketl.no/api/connectors/ssb-kostra/municipality/{kommunenummer}/arbeidsledighet
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/ssb-kostra/municipality/{kommunenummer}/arbeidsledighet"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

Access and pricing

SSB KOSTRA is openly available — create an account to get started.

kommunenoekkeltalltjenesterskolehelse
KETL Data

Nordic open-data and compliance infrastructure. Source, rule and confidence on every answer.

Product links

  • Data
  • Apps
  • MCP
  • Contact

Legal links

  • AI transparency
  • Privacy
  • Terms
  • SLA
  • Cookies
  • Security

© 2026 KETL Data

build 8f3b7512