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. OECD Data API — macroeconomics and social indicators
EconomyStandardProprietaer

OECD Data API — macroeconomics and social indicators

The OECD's SDMX REST API provides access to thousands of indicators for 38 OECD countries including Sweden, Denmark and Norway: GDP, inflation, the labour market, social spending, taxes, health and education. Historical time series back to 1960. Complementary to Eurostat for non-EU comparison. Free use with attribution, a hard rate limit (20 downloads/hour) → 30-day cache. SDMX-JSON. Issue #1212.

—

Data volume

Monthly

Updates

3

MCP tools

Example response — /connectors/oecd-data/data
{
  "data": "..."
}

MCP integration

Available MCP tools
oecd_data.data
oecd_data.dataflows
oecd_data.gdp
Configuration for Claude Desktop / Cursor
{
  "mcpServers": {
    "oecd-data": {
      "url": "https://data.ketl.no/mcp/oecd-data",
      "headers": {
        "Authorization": "Bearer $KETL_API_KEY"
      }
    }
  }
}

Analysis apps that use this source

Ready-made tools built on OECD Data API — macroeconomics and social indicators data. Use them directly in the browser, or wire the same data into your own analysis via the API below.

OECD Nordic GDP
Compare gross domestic product (GDP) for Norway, Sweden, Denmark, Finland and Iceland. Historical trends and the latest figures from OECD open data — in millions of US dollars, current prices.

API endpoints

GET
/data

Hent SDMX-datasett

dataflow required
OECD dataflow-ID (uten agency/versjon — angi agency separat) dataflow=DSD_NAMAIN10@DF_TABLE1_EXPENDITURE
agency optional
SDMX agency-ID som eier dataflow-en agency=OECD.SDD.NAD
version optional
SDMX-versjon av dataflyten. Inngår i upstream-nøkkelen `{agency},{dataflow},{version}`. version=1.0
selection required
SDMX serie-nøkkel: dimensjons-verdier separert med `.`, `+` for alternativer på én dimensjon, `*` for alle. Rekkefølgen følger dataflyt-ens DSD. selection=A.NOR+SWE+DNK.*.*.*.*.B1GQ.*.*.*.USD_EXC.V.*.*
startPeriod optional
Startperiode (YYYY / YYYY-MM / YYYY-MM-DD) startPeriod=2020
endPeriod optional
Sluttperiode (YYYY / YYYY-MM / YYYY-MM-DD) endPeriod=2023
Show curl example
# GET https://data.ketl.no/api/connectors/oecd-data/data?dataflow=DSD_NAMAIN10%40DF_TABLE1_EXPENDITURE&selection=A.NOR%2BSWE%2BDNK.*.*.*.*.B1GQ.*.*.*.USD_EXC.V.*.*
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/oecd-data/data?dataflow=DSD_NAMAIN10%40DF_TABLE1_EXPENDITURE&selection=A.NOR%2BSWE%2BDNK.*.*.*.*.B1GQ.*.*.*.USD_EXC.V.*.*"

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

GET
/gdp

Konveniens: BNP per land

countries required
ISO-3 landkoder separert med `,` (anbefalt). `+` godtas som alias, men MÅ URL-enkodes (`%2B`) — en rå `+` i en query-string dekodes som mellomrom. countries=NOR,SWE,DNK
startPeriod optional
Startår (YYYY). Kun år — denne ruta er årlig, til forskjell fra `/data`, som også tar YYYY-MM og YYYY-MM-DD. startPeriod=2020
endPeriod optional
Sluttår (YYYY). Kun år, se `startPeriod`. endPeriod=2023
Show curl example
# GET https://data.ketl.no/api/connectors/oecd-data/gdp?countries=NOR%2CSWE%2CDNK
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/oecd-data/gdp?countries=NOR%2CSWE%2CDNK"

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

GET
/dataflows

List tilgjengelige dataflows

agency optional
SDMX agency-ID hvis dataflyter skal listes. `all` gir hele katalogen (~5,9 MB); f.eks. `OECD.CTP.TPS` (skatt), `OECD.ELS.HD` (helse), `OECD.EDU.IMEP` (utdanning). agency=OECD.SDD.NAD
Show curl example
# GET https://data.ketl.no/api/connectors/oecd-data/dataflows
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/oecd-data/dataflows"

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

Access and pricing

OECD Data API — macroeconomics and social indicators is openly available — create an account to get started.

oecdmakrososialskatthelsefelles
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