Pushbuild

Statistics Denmark API: Statbank Tables, CPI, GDP & Rates

Any of Statistics Denmark's ~2,300 Statbank tables by id with dimension filters, plus presets for CPI, unemployment, GDP, population and Nationalbank policy rates, and a table search. English or Danish labels, ISO dates, from the official API.

$0.16 per 1,000 values

Get an API key

Example request

POST /statistics-denmark/run
{
  "presets": [
    "cpi",
    "policy-rates"
  ],
  "maxItems": 20
}

What a response looks like

POST /statistics-denmark/run{"maxItems": 5, "presets": ["cpi", "policy-rates"]}
{"count": 5, "items": [{ "codes": {  "ENHED": "100",  "VAREGR": "000000" }, "date": "2025-10", "dimensions": {  "commodity group": "00 Consumer price index, total",  "unit": "Index" }, "period": "2025M10", … ]}
dateperiodseriessourcetabletableTitle
2025-102025M1000 Consumer price index, total, Indexhttps://www.statbank.dk/PRIS01PRIS01Consumer price index
2025-112025M1100 Consumer price index, total, Indexhttps://www.statbank.dk/PRIS01PRIS01Consumer price index
2025-122025M1200 Consumer price index, total, Indexhttps://www.statbank.dk/PRIS01PRIS01Consumer price index
2026-012026M0100 Consumer price index, total, Indexhttps://www.statbank.dk/PRIS01PRIS01Consumer price index
2026-022026M0200 Consumer price index, total, Indexhttps://www.statbank.dk/PRIS01PRIS01Consumer price index

Real rows returned by this API on 2026-11-09 for the request shown.

What it returns

Data from Statistics Denmark's official Statbank API, in flat rows with English (or Danish) labels and ISO dates.

  • Presets: cpi (index and annual change), cpi-groups (annual change by COICOP group), unemployment, unemployment-regions, gdp (current prices and real growth, seasonally adjusted), population (monthly), policy-rates (Danmarks Nationalbank discount, current-account, lending and CD rates, and DESTR, daily)
  • Any table: give table (e.g. FOLK1AM, BIL51, NKN1) and optional filters per variable
  • Search: search returns matching table ids, titles, periods and variables
fieldmeaning
table, tableTitleStatbank table
period, dateStatbank period id and ISO form (2026-09, 2026Q2, 2026-10-15)
seriesthe dimension labels joined
dimensions, codeseach dimension's label, and the value ids to reuse in filters
value, unitthe figure and its unit
updated, sourcewhen Statistics Denmark last updated the table, and its Statbank page

Variables you leave out use the table's total where it has one.

Request

POST https://api.pushbuild.com/statistics-denmark/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
presetslist of stringsAny of: cpi, cpi-groups, unemployment, unemployment-regions, gdp, population, policy-rates. Default (when no table is given): cpi, unemployment, gdp, policy-rates.
tablestringAny Statbank table id, e.g. FOLK1AM, PRIS01, NKN1, BIL51. Find ids with search.
filtersstringVariable id -> value ids, e.g. {"OMRÅDE": ["101", "751"]}. "*" selects all values. Variables left out use the table's total, or its first value.
lastNintegerHow many of the latest periods to return. Default: 12.
fromPeriodstringStatbank period id, e.g. 2020M01, 2020K1, 2020, 2026M10D01. Overrides lastN.
toPeriodstringStatbank period id.
searchstringWords to find in table ids, titles and variables. Returns matching tables (up to 200) instead of data.
languagestring: en, daen: English labels. da: Danish labels. Default: "en".
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/statistics-denmark/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["cpi", "policy-rates"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 values. No charge for errors or empty searches.

ValuesCost
1,000$0.16
10,000$1.60
100,000$16.00
1,000,000$160.00
6,249 a monthFree ($1 monthly credit)

Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: https://api.pushbuild.com/mcp/statistics-denmark. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.

Want these numbers on one screen alongside your own? Dashboards and reporting