Statistics Denmark Tables API

Any Statistics Denmark (StatBank) table as flat rows: one row per value with the period, the readable label of every dimension, the number and its unit. Prices, population, trade, labour and more.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 8 fieldsv1.0

Data from api.statbank.dk/v1/data/%7Btable%7D/JSONSTAT

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Table
StatBank table id, such as PRIS111 (consumer prices) or FOLK1A (population).
Example: PRIS111
Periodsoptional
Time filter: * for all periods, a code such as 2024M01, a list such as 2024M01,2024M02, or (-12) for the latest 12.
Example: *
Filtersoptional
Filters on the table's other variables, each as VARIABLE=value, VARIABLE=a,b or VARIABLE=*. One per line, or separated by commas.
Example: VAREGR=000000, ENHED=*

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/statbank-denmark-statistics/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/statbank-denmark-statistics/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"table":"PRIS111"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

tabletextrequired
StatBank table id, such as PRIS111 (consumer prices) or FOLK1A (population).
example: PRIS111
periodstext
Time filter: * for all periods, a code such as 2024M01, a list such as 2024M01,2024M02, or (-12) for the latest 12.
example: *
filterslist
Filters on the table's other variables, each as VARIABLE=value, VARIABLE=a,b or VARIABLE=*.
example: VAREGR=000000, ENHED=*

What's in each record

8 fields: 7 here, 1 technical one under Technical details.

Basics

  • Table

    The StatBank table id.

    Example PRIS111

  • Title

    The table's own title, such as the variables it is broken down by.

    Example Consumer price index by commodity group, unit, Indhold and time

  • Period

    Time period code, such as 2024M01 (month), 2024K1 (quarter) or 2024 (year).

    Example 2025M12

  • Content

    What the number measures, as the table names it.

    Example Consumer price index

  • Dimensions

    Readable label of every other variable, such as commodity group and unit.

    Example Commodity group: 00 Consumer price index, total · Unit: Index

  • Value

    The statistic's value.

    Example 121.2

  • Unit

    Unit of the value, when the table gives one.

    Example Index

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idTable, dimension codes and period joined with |.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
tabletextTable3 of 3
titletextTitle3 of 3
periodtextPeriod3 of 3
contenttextContent3 of 3
dimensionsgroup of valuesDimensions3 of 3
valuenumberValue3 of 3
unittextUnit3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleTablePeriodContentDimensionsValueUnit
1Consumer price index by commodity group, unit, Indhold and timePRIS1112025M12Consumer price indexCommodity group: 00 Consumer price index, total · Unit: Index121.2Index
2Consumer price index by commodity group, unit, Indhold and timePRIS1112025M12Consumer price indexCommodity group: 00 Consumer price index, total · Unit: Percentage change compared to previous month (per cent)-0.4Percentage change compared to previous month (per cent)
3Consumer price index by commodity group, unit, Indhold and timePRIS1112025M12Consumer price indexCommodity group: 00 Consumer price index, total · Unit: Percentage change compared to same month the year before (per cent)1.9Percentage change compared to same month the year before (per cent)

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • You must give a StatBank table id (such as PRIS111 or FOLK1A, listed on statbank.dk). The API reads one table per run.
  • Tables with several variables often need a filter for each one (VARIABLE=value or VARIABLE=*); Statistics Denmark refuses a request that is too large, and the message tells you what to narrow down.
  • Large tables are slow on the source's side: a request can take 10 seconds or more. Rows come newest period first, and one run returns at most 20,000 values.
  • Some tables are no longer updated (PRIS111 stopped in January 2026 and was replaced by PRIS01); the table's own label and period show what you get.
  • Values the source marks as missing (..) come back empty. The unit is empty for tables that publish none.
  • Data comes from Statistics Denmark, a free open source: credit Statistics Denmark (dst.dk) when you publish it.

Version history

A run uses the live version unless the request names another one with version.