← Agent Data Hub · Search endpoints · /llms.txt

Sweden Key Figures — Population, Unemployment, CPI Inflation, GDP, Trade, House Prices, Debt (Statistics Sweden, Full History)

20 headline figures of Sweden straight from Statistics Sweden (SCB), each with its full history: population (monthly since 2000), unemployment and employment rate (LFS, seasonally adjusted, monthly since 2001), CPI inflation and the CPI (monthly since 1980), quarterly GDP growth (since 1981), GDP per capita, exports and the trade balance of goods (monthly since 1975), industrial production, the real estate price index (quarterly since 1986), Maastricht debt, the producer price index, live births (since 1749), the fertility rate, life expectancy of women and men, the household saving rate and debt ratio, and the household electricity price. Licence CC0. Options for series: measure: population, unemployment-rate, employment-rate, inflation, consumer-price-index, gdp-growth-quarterly, gdp-per-capita, exports-of-goods, trade-balance-goods, industrial-production, house-price-index, government-debt, producer-price-index, live-births, fertility-rate, life-expectancy-women, life-expectancy-men, household-saving-rate, household-debt-ratio, household-electricity-price; country: SE.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/sweden-key-figures?measure=population&country=SE&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"sweden-key-figures"}

How to fetch it

curl:

curl -s 'https://api.agentdatahub.de/api/v1/call/sweden-key-figures?measure=population&country=SE&compact=1'

Python (standard library only):

import json, urllib.request

url = "https://api.agentdatahub.de/api/v1/call/sweden-key-figures?measure=population&country=SE&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
    data = json.load(r)
print(json.dumps(data, indent=2)[:2000])

Google Sheets:

=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/sweden-key-figures?measure=population&country=SE&_order=desc&_limit=500&format=csv")

The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.

Parameters

measurepopulation, unemployment-rate, employment-rate, inflation, consumer-price-index, gdp-growth-quarterly, gdp-per-capita, exports-of-goods, trade-balance-goods, industrial-production, house-price-index, government-debt, producer-price-index, live-births, fertility-rate, life-expectancy-women, life-expectancy-men, household-saving-rate, household-debt-ratio, household-electricity-price (required; several comma-separated to compare, up to 10 series): population, unemployment-rate, employment-rate, inflation, consumer-price-index, gdp-growth-quarterly, gdp-per-capita, exports-of-goods, trade-balance-goods, industrial-production, house-price-index, government-debt, producer-price-index, live-births, fertility-rate, life-expectancy-women, life-expectancy-men, household-saving-rate, household-debt-ratio, household-electricity-price
countrySE (Sweden) (required; several comma-separated to compare, up to 10 series): SE
seriesOptional full series key as returned by /ask (instead of the parameters above), comma-separated for several
fromOptional start YYYY, YYYY-MM or YYYY-MM-DD
toOptional end YYYY, YYYY-MM or YYYY-MM-DD
lastNumber of most recent periods when no from/to is given, 1-500 (default: 13)
groupOptional country group instead of country (EU27, EA, OECD, G7, G20, a continent): one row per member, newest value each
periodOnly with group: latest (default) or common (one period across members)

Example response (live, compact)

{
  "apiId": "sweden-key-figures",
  "trust": "checked",
  "data_freshness": "cached",
  "data": {
    "measure": "population",
    "country": "SE",
    "series": "Sweden, population at the end of the month (Statistics Sweden)",
    "unit": "persons",
    "frequency": "M",
    "latest": {
      "period": "2026-09",
      "value": 10621725
    },
    "history": [
      {
        "period": "2025-09",
        "value": 10609460
      },
      {
        "period": "2025-10",
        "value": 10610485
      },
      {
        "period": "2025-11",
        "value": 10608003
      },
      {
        "period": "2025-12",
        "value": 10605529
      },
      {
        "period": "2026-01",
        "value": 10604464
      },
      {
        "period": "2026-02",
        "value": 10604061
      },
      {
        "period": "2026-03",
        "value": 10604616
      },
      {
        "period": "2026-04",
        "value": 10605725
      },
      {
        "period": "2026-05",
        "value": 10608128
      },
      {
        "period": "2026-06",
        "value": 10610483
      },
      {
        "period": "2026-07",
        "value": 10613531
      },
      {
        "period": "2026-08",
        "value": 10621103
      },
      {
        "period": "2026-09",
        "value": 10621725
      }
    ],
    "available": {
      "from": "2000-01",
      "to": "2026-09",
      "points": 321
    },
    "verification": {
      "checked_at": "2026-12-02T18:17:04.169Z",
      "checks": [
        {
          "period": "2026-09",
          "field": "value",
          "expected": 10621725,
          "ok": true,
          "evidence": "SCB PxWeb 1 table BE0101G/MBefStatRegionCKM (read 2026-11-30): Sweden, population, total, 2026M09 = 10621725"
        }
      ]
    },
    "source": {
      "publisher": "Statistics Sweden (SCB)",
      "licence": "CC0 1.0 (Statistics Sweden open data)",
      "licence_url": "https://www.scb.se/en/services/open-data-api/",
      "series_title": "TAB6473 Population statistics by region and sex | region: Sweden | population changes: population | sex: total, all men and women | observations: Population"
    },
    "attribution": "Source: Statistics Sweden (SCB), Statistical Database"
  },
  "source": "Statistics Sweden (SCB)",
  "source_url": "https://www.scb.se/en/services/open-data-api/",
  "license": "CC0 1.0 (Statistics Sweden open data)",
  "licence_status": "green",
  "as_of": "2026-09",
  "checked": "2026-12-02"
}

Recorded history available: /api/v1/history/sweden-key-figures?measure=population&country=SE

Source & license

SourceStatistics Sweden (SCB)
LicenseCC0 1.0 (Statistics Sweden open data)
Source URLhttps://www.scb.se/en/services/open-data-api/
Termshttps://www.scb.se/en/services/open-data-api/
CategoryFinance & Markets › Economic Activity · more: top-income-tax-rate-by-country · uk-cpi-by-item · uk-economy-indicators