Dennery AgentNative

All API connectors

Statistics Denmark (StatBank) key tables

Statistics Denmark StatBank tables through its open API: a fixed list of key tables (population, consumer_prices, gdp, unemployment, labour_market, property_prices) with table structure lookup and bounded data queries.

No API key needed to call

Source
Statistics Denmark StatBank API
Licence and terms
CC BY 4.0
Coverage
Denmark
Refresh cadence
Answers are shared and cached for 21600 seconds.

Questions you can ask

Operations

Statistics Denmark table structure

Answers: which variables, codes and sample values does a Statistics Denmark table have, and which can be left out? Call this before dst_table_data.

tablerequired, string, FOLK1A | PRIS113 | NAN1 | AUS07 | AKU120 | EJ56, Table id: FOLK1A (population), PRIS113 (consumer_prices), NAN1 (gdp), AUS07 (unemployment), AKU120 (labour_market), EJ56 (property_prices).

Example: What variables does the Danish population table FOLK1A have?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"dst","operation":"dst_table_info","params":{"table":"FOLK1A"}}}

Over HTTP

curl '/v1/connectors/dst/dst_table_info?table=FOLK1A'

Statistics Denmark table data

Answers: what are the values of a Statistics Denmark table for chosen variable codes, for example Danish population or consumer prices? Every variable that cannot be omitted needs a selection. Returns the newest values first.

tablerequired, string, FOLK1A | PRIS113 | NAN1 | AUS07 | AKU120 | EJ56, Table id, see dst_table_info.
selectionsrequired, string, Selections as Code=value pairs separated by semicolons; several values for one variable are comma separated (up to 20), for example OMRÅDE=000;KØN=TOT;ALDER=IALT;CIVILSTAND=TOT;Tid=top:3. Use top:N as the only value of the time variable for its latest N periods. Variable codes and values come from the table_info operation. Variables that can be omitted are summed to their tota...

Example: What is the latest population of Denmark?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"dst","operation":"dst_table_data","params":{"table":"FOLK1A","selections":"OMRÅDE=000;KØN=TOT;ALDER=IALT;CIVILSTAND=TOT;Tid=top:3"}}}

Over HTTP

curl '/v1/connectors/dst/dst_table_data?table=FOLK1A&selections=OMR%C3%85DE%3D000%3BK%C3%98N%3DTOT%3BALDER%3DIALT%3BCIVILSTAND%3DTOT%3BTid%3Dtop%3A3'

Source notice

Source: Statistics Denmark, StatBank Denmark. Terms were not quoted here: see the terms page. Statistics Denmark publishes its statistics under the CC BY 4.0 licence and requires the source to be stated and any further processing to be indicated. Values are trimmed and reordered here; the publisher does not endorse this presentation.