What a response looks like
{"count": 5, "items": [{ "codes": { "ENHED": "100", "VAREGR": "000000" }, "date": "2025-10", "dimensions": { "commodity group": "00 Consumer price index, total", "unit": "Index" }, "period": "2025M10", … ]}| date | period | series | source | table | tableTitle |
|---|---|---|---|---|---|
| 2025-10 | 2025M10 | 00 Consumer price index, total, Index | https://www.statbank.dk/PRIS01 | PRIS01 | Consumer price index |
| 2025-11 | 2025M11 | 00 Consumer price index, total, Index | https://www.statbank.dk/PRIS01 | PRIS01 | Consumer price index |
| 2025-12 | 2025M12 | 00 Consumer price index, total, Index | https://www.statbank.dk/PRIS01 | PRIS01 | Consumer price index |
| 2026-01 | 2026M01 | 00 Consumer price index, total, Index | https://www.statbank.dk/PRIS01 | PRIS01 | Consumer price index |
| 2026-02 | 2026M02 | 00 Consumer price index, total, Index | https://www.statbank.dk/PRIS01 | PRIS01 | Consumer 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 optionalfiltersper variable - Search:
searchreturns matching table ids, titles, periods and variables
| field | meaning |
|---|---|
table, tableTitle | Statbank table |
period, date | Statbank period id and ISO form (2026-09, 2026Q2, 2026-10-15) |
series | the dimension labels joined |
dimensions, codes | each dimension's label, and the value ids to reuse in filters |
value, unit | the figure and its unit |
updated, source | when 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.
| Field | Type | Description |
|---|---|---|
presets | list of strings | Any of: cpi, cpi-groups, unemployment, unemployment-regions, gdp, population, policy-rates. Default (when no table is given): cpi, unemployment, gdp, policy-rates. |
table | string | Any Statbank table id, e.g. FOLK1AM, PRIS01, NKN1, BIL51. Find ids with search. |
filters | string | Variable id -> value ids, e.g. {"OMRÅDE": ["101", "751"]}. "*" selects all values. Variables left out use the table's total, or its first value. |
lastN | integer | How many of the latest periods to return. Default: 12. |
fromPeriod | string | Statbank period id, e.g. 2020M01, 2020K1, 2020, 2026M10D01. Overrides lastN. |
toPeriod | string | Statbank period id. |
search | string | Words to find in table ids, titles and variables. Returns matching tables (up to 200) instead of data. |
language | string: en, da | en: English labels. da: Danish labels. Default: "en". |
maxItems | integer | Maximum 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.
| Values | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want these numbers on one screen alongside your own? Dashboards and reporting