dataandbeyond--dk-statistics
Search Statistics Denmark Statbank tables by keyword, inspect their variables, and fetch official rows as JSON for analysis or reporting.
Instructions
Search Statistics Denmark (Statbank) tables by keyword, see their variables, and fetch rows as JSON. Official data, CC BY 4.0. Calls api.statbank.dk directly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dataandbeyond--dk-statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | search = find tables by keywords; data = fetch rows from one table. Example values: "search" | search |
| search | No | All words must match title/variables. Example values: "population municipality" | population municipality |
| filters | No | Variable code -> list of value codes, '*' for all, '(latest)' for latest period. Omitted variables use totals/latest. Example values: {"OMRÅDE":["*"]} | |
| maxRows | No | Max rows. Example values: 10000 | |
| tableId | No | e.g. FOLK1A, PRIS111, BY1 | |
| language | No | Language. If not set: English, and Danish search words are also matched against Danish titles. | |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| maxTables | No | Max tables (search mode). Example values: 10 | |
| lastNPeriods | No | Overrides time filter with the N most recent periods. |