# 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](https://pushbuild.com/apis/app/signup?api=statistics-denmark)

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", … ]}
```

| 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 optional `filters` per variable
- **Search**: `search` returns 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](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Statistics Norway API: SSB StatBank CPI, Jobs, GDP & Homes API](https://pushbuild.com/apis/statistics-norway.html): Statistics Norway (SSB) StatBank data from the official PxWebApi: CPI, CPI-ATE, LFS unemployment, GDP and Mainland GDP growth, and existing dwelling price presets, any table by id with dimension filters, and table search.
- [Statistics Sweden API: SCB CPI, CPIF, Jobs, GDP & Any Table API](https://pushbuild.com/apis/statistics-sweden.html): Statistics Sweden (SCB) data from the official PxWebApi: CPI, CPIF and CPIF-XE, LFS unemployment, GDP and the monthly GDP indicator, and population presets, any table by id with dimension filters, and table search.
- [Statistics Iceland API: CPI, Population & Tables API](https://pushbuild.com/apis/statistics-iceland-data.html): Official Statistics Iceland (Hagstofa) data: monthly CPI and inflation, quarterly population, GDP, a folder browser, table search and any official Icelandic table with filters, from the PxWeb API..
- [Ireland CSO API: CPI, Unemployment, GDP, House Prices & Tables API](https://pushbuild.com/apis/ireland-cso-statistics.html): Central Statistics Office Ireland data from its official PxStat API: CPI, HICP, monthly unemployment, GDP and GNP, residential property prices, retail sales and industrial production presets, or any CSO table with dimension filters..
- [Statistics Estonia API: CPI, GDP & Any Official Table API](https://pushbuild.com/apis/statistics-estonia-data.html): Statistics Estonia data from its official PxWeb API: monthly CPI and quarterly GDP presets, a table search, or any table with variable filters, with year and month or quarter merged into one period..
- [Statistics Canada API: CPI, Jobs, GDP, Retail & Housing API](https://pushbuild.com/apis/statistics-canada-data.html): Statistics Canada data from the official Web Data Service: CPI and core inflation, unemployment and employment, wages, monthly and quarterly GDP, retail and manufacturing sales, housing starts and prices, building permits, exports and population.

## 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](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

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

---
As of 2026-12-03. Source: https://pushbuild.com/apis/statistics-denmark.html
