# 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](https://www.dst.dk/en/Statistik/brug-statistikken/muligheder-i-statistikbanken/api)
- Licence and terms: [CC BY 4.0](https://www.dst.dk/en/Statistik/brug-statistikken/kildeangivelse)
- Coverage: Denmark
- Answers are shared and cached for 21600 seconds.

## Questions you can ask

- What variables does the Danish population table FOLK1A have? (operation `dst_table_info`)
- What is the latest population of Denmark? (operation `dst_table_data`)

## 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.

- `table`: required, 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.

- `table`: required, string, FOLK1A \| PRIS113 \| NAN1 \| AUS07 \| AKU120 \| EJ56, Table id, see dst\_table\_info.
- `selections`: required, 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.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
