Kolada: Sweden Municipalities KPIs and Municipal Statistics avatar

Kolada: Sweden Municipalities KPIs and Municipal Statistics

Pricing

$1.00 / 1,000 kpi values

Go to Apify Store
Kolada: Sweden Municipalities KPIs and Municipal Statistics

Kolada: Sweden Municipalities KPIs and Municipal Statistics

Returns key figures (KPIs) for Sweden's 290 municipalities and 21 regions from Kolada (RKA): population, tax rates, schools, elderly care, costs and 5 000+ more, one row per area, year and gender. Search KPIs by keyword or id. Supports onlyNew for scheduled runs.

Pricing

$1.00 / 1,000 kpi values

Rating

0.0

(0)

Developer

Viktor Wiberg

Viktor Wiberg

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Key figures for Sweden's 290 municipalities (kommuner), 21 regions and the whole country from Kolada, the open database run by RKA (Rådet för främjande av kommunala analyser). Kolada holds about 5 800 KPIs (nyckeltal) on population, tax rates, school results, elderly care, social services, costs, environment and more, collected from SCB, Skolverket, Socialstyrelsen and other agencies. This actor returns them as flat, comparable rows: one row per KPI, area, year and gender.

  • Find KPIs by a word in the Swedish title (kpiSearch: "skattesats", "skola", "äldreomsorg") or give their ids (kpiIds). The run log lists other matching KPIs with their ids.
  • Name areas the way you write them: "Lund", "Göteborg", "Region Skåne", "Sverige" or Kolada ids such as 1281.
  • Sensible defaults: every municipality, the latest year with data, the total for both genders. A run with empty input returns population per municipality for the latest year.
  • onlyNew turns the actor into a monitor: a scheduled run returns only values that are new or revised since the last run.
  • Uses the official Kolada API v3. No API key and no scraping of web pages.

Example from a real run

Input (run OglVl368zhZ0LatJ1, 5 October 2026):

{
"kpiIds": ["N00901", "N01951"],
"municipalities": ["Stockholm", "Göteborg", "Malmö", "Lund", "Region Skåne"],
"years": ["2024", "2025"],
"gender": "all",
"maxResults": 100
}

The run returned 38 rows: the municipal tax rate for the four municipalities in both years (Region Skåne has no municipal tax rate) and the population for all five areas, split by gender. The first tax rate rows for 2025 were Stockholm 18.22, Malmö 21.24, Lund 21.24 and Göteborg 21.12. One full row, unchanged:

{
"kpiId": "N01951",
"kpiTitle": "Invånare totalt, antal",
"kpiDescription": "Antal invånare totalt den 31/12. Källa: SCB.",
"operatingArea": "Befolkning",
"perspective": "Volymer",
"municipalityId": "0012",
"municipalityName": "Region Skåne",
"municipalityType": "region",
"year": 2025,
"period": "2025",
"gender": "female",
"value": 719253,
"status": null,
"source": "Källa: Kolada (RKA), kolada.se",
"license": "Kolada API terms: free of charge, no agreement needed, commercial use allowed. Credit the source as 'Källa: Kolada'; do not name Kolada as the source of your own processed figures (kolada.se/om-oss/api).",
"retrievedAt": "2026-10-05T05:40:13.337Z"
}

With {"kpiSearch": "skattesats"} the actor chose N00900 (Skattesats, totalt), N00901 (Skattesats till kommun) and N00902 (Skattesats till region), found 2026 as the latest year and returned the first 50 rows, starting with "municipalityName": "Upplands Väsby", "year": 2026, "value": 31.75. With empty input the first row was "municipalityName": "Upplands Väsby", "year": 2025, "value": 50495 (population).

Input

FieldTypeDefaultDescription
kpiIdsarray of stringsKolada KPI ids, for example N01951 (population) or N00901 (municipal tax rate).
kpiSearchstringA word in the Swedish KPI title. Used when kpiIds is empty.
maxKpisinteger3How many of the best matching KPIs to use with kpiSearch. 1 to 25.
municipalitiesarray of stringsallNames or ids of municipalities, regions or Sverige (id 0000).
municipalityTypestringmunicipalityWhen municipalities is empty: municipality, region (21 regions and the whole country) or all.
yearsarray of stringslatestYears such as ["2024", "2025"]. Empty means the latest year with data for each KPI.
genderstringtotaltotal, female, male or all. Only matters for KPIs that Kolada splits by gender.
onlyNewbooleanfalseReturn only values that earlier runs with the same input did not deliver.
maxResultsinteger50Maximum number of rows. 1 to 100 000.

Without kpiIds and kpiSearch the actor uses N01951 (Invånare totalt, antal: population on 31 December).

Search tips: KPI titles are in Swedish. Useful words are skattesats (tax rate), invånare (inhabitants), grundskola, gymnasieskola, förskola, äldreomsorg, hemtjänst, ekonomiskt bistånd (social assistance), arbetslöshet (unemployment), nettokostnad (net cost) and avfall (waste). Titles that start with the word rank first.

Output

FieldDescription
kpiIdKolada KPI id, for example N00901
kpiTitleKPI title in Swedish, with the unit in brackets, for example Skattesats till kommun (%)
kpiDescriptionKolada's description of the KPI, including the original source
operatingAreaKolada's subject area, for example Befolkning or Kommunen, övergripande
perspectiveKolada's perspective: Resurser, Volymer, Kvalitet och resultat or Övrigt
municipalityIdKolada area id: four digits, 0000 is the whole country
municipalityNameMunicipality or region name, for example Lund or Region Skåne
municipalityTypemunicipality, region or country
year, periodThe year the value refers to, as a number and as text
gendertotal, female or male
valueThe number
statusKolada's status code for the value when it has one, otherwise null
source, licenseSource credit and the terms of use
retrievedAtWhen the actor fetched the value (ISO 8601)

Rows come KPI by KPI and newest year first, ordered by area id within a year. Empty and deleted values are left out and never charged. Kolada's municipality groups (ids starting with G) are not included.

Use cases

  • Compare municipalities on tax rates, costs, school results or care quality, for consultants, journalists and analysts.
  • Load Kolada KPIs into a spreadsheet, BI tool or database without writing an API client.
  • Background figures for a municipality in a tender, a market analysis or a site selection.
  • Let an AI agent answer questions such as "which municipalities in Skåne have the highest municipal tax rate" through the Apify MCP server.
  • Watch for new releases: Kolada publishes new figures throughout the year as each source agency publishes.

Monitoring and scheduling

Set onlyNew to true to use the actor for recurring monitoring. The actor then remembers which values it has delivered for the same input, in a named key-value store in your Apify account (nightwave-state-kolada-municipal-kpis, one record per input). Each run returns and charges only values that earlier runs did not deliver. The value itself is part of what is remembered, so when Kolada revises a figure the new value is delivered again. The first run returns everything in the selection. A run without news finishes successfully with 0 rows. In our cloud test, the first run with the input below returned 4 rows and the second returned 0. A second run straight after the first, with onlyNew and the same input, returns 0 rows like that and is not charged.

onlyNew and maxResults are not part of the remembered input, so you can change them without starting over. Leave years empty to follow the latest year as new data arrives.

Example: a daily run at 07:00 that tells you when the municipal tax rate for Lund or Malmö changes.

{
"kpiIds": ["N00901"],
"municipalities": ["Lund", "Malmö"],
"years": ["2025", "2026"],
"onlyNew": true
}

In Apify Console, open Schedules, create a schedule with the cron expression 0 7 * * * and add this actor with the input above. The same schedule through the Apify API:

curl -X POST "https://api.apify.com/v2/schedules?token=<YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"name": "daily-kolada", "cronExpression": "0 7 * * *", "timezone": "Europe/Stockholm", "isEnabled": true, "isExclusive": true,
"actions": [{"type": "RUN_ACTOR", "actorId": "nightwave-owner~kolada-municipal-kpis",
"runInput": {"contentType": "application/json; charset=utf-8", "body": "<the input above as a JSON string>"}}]}'

Limitations

  • KPI titles, descriptions, subject areas and area names are in Swedish, as Kolada publishes them. Field names and the rest of the output are in English.
  • The latest year differs between KPIs. Tax rates are set in advance, so 2026 is already there; most other figures are for 2025 or earlier. The run log says which year it chose for each KPI.
  • Some KPIs exist only for municipalities, some only for regions. If a KPI has no values for the chosen areas, the log says so and the run continues with the next KPI.
  • Kolada can revise or remove KPIs without notice. A removed id gives a clear message in the log.
  • Unit-level data (single schools or care homes) is not included in this version.

Data source and license

Data comes from the Kolada API v3 (https://api.kolada.se/v3), run by RKA, a non-profit association whose members are the Swedish state and Sveriges Kommuner och Regioner (SKR). The terms of use on kolada.se/om-oss/api say, in Swedish:

Utnyttjande av data från Koladas API är avgiftsfritt och kräver inget avtal. Om du använder data från Kolada i en tjänst, ska källan anges ('Källa: Kolada'). Gör du egna bearbetningar på vår data, får inte Kolada anges som källa. Det är tillåtet att använda vår data för kommersiella ändamål.

In English: use of data from the Kolada API is free of charge and needs no agreement; if you use Kolada data in a service you must credit the source ("Källa: Kolada"); if you process the data yourself, you may not name Kolada as the source of the result; commercial use is allowed. The terms also say that the service is provided as is, that data may be revised without notice, and that a third-party service may not be presented as an official cooperation or partnership with RKA or Kolada.

This actor passes the values on unchanged and puts the credit in every row (source). It is made by Nightwave AB and is not affiliated with or endorsed by RKA or Kolada.

Pricing

Pay per event: USD 0.001 per row (data-point), that is USD 1 per 1 000 values. A run with the default 50 rows costs USD 0.05. Empty values and municipality groups are never charged, and onlyNew runs charge only new values.

Rows are delivered only after they have been charged. If you set a maximum cost per run (maxTotalChargeUsd), the run stops there and its status message says how many rows were delivered.

Contact

Nightwave AB, kontakt@nightwave.se. Report problems in the Issues tab of this actor.

På svenska

Nyckeltal för Sveriges 290 kommuner, 21 regioner och riket från Kolada (RKA): befolkning, skattesatser, skola, äldreomsorg, socialtjänst, kostnader, miljö och omkring 5 800 andra nyckeltal. Varje värde blir en rad med nyckeltal, kommun eller region, år, kön och värde, så att kommuner går att jämföra direkt i Excel, BI-verktyg eller en databas.

  • Sök nyckeltal med ett ord i titeln (kpiSearch, till exempel "skattesats", "grundskola" eller "äldreomsorg") eller ange id:n (kpiIds, till exempel N01951 för invånare och N00901 för skattesats till kommun). Körningsloggen visar andra träffar med id.
  • Ange kommuner och regioner med namn ("Lund", "Region Skåne", "Sverige") eller Kolada-id. Tomt betyder alla kommuner, eller alla regioner med municipalityType: "region".
  • Utan år hämtas det senaste året med data för varje nyckeltal. Utan input hämtas folkmängden per kommun.
  • Med onlyNew: true levereras bara värden som är nya eller reviderade sedan förra körningen med samma input. Det passar för schemalagda körningar (se "Monitoring and scheduling").
  • Källa och villkor: Koladas API är avgiftsfritt, kräver inget avtal och får användas kommersiellt. Källan ska anges som "Källa: Kolada", och egna bearbetningar får inte anges med Kolada som källa. Källan följer med i varje rad. Nightwave AB har inget samarbete med RKA eller Kolada.
  • Pris: 0,001 USD per rad (händelsen data-point), 1 USD per 1 000 värden. Tomma värden debiteras aldrig.
  • Kontakt: kontakt@nightwave.se