Destatis Table
destatis_tableFetch a Destatis GENESIS statistical table's data by its code (get codes from destatis_search), e.g. "12411-0001" (population) or "61111-0001" (consumer price index). Returns the table content (values across its dimensions) plus title. Germany-wide and by Land where the table provides it. A table can offer only a coarse level (e.g. 48112-0001 is WZ sections A-S only; the 4-digit industry rows are in the sibling 48112-0002): call with structure:true to see its dimensions, then filter with classifying_key1 (e.g. WZ08-9200 for gambling and betting) and start_year/end_year. A filtered call takes 12-20s.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table_code": "12411-0001"
},
"name": "destatis_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | GENESIS area: free (default), public, all, user. | |
| _apiKey | No | Optional — your own free Destatis GENESIS API token. Omit to use the shared Pipeworx token. | |
| end_year | No | Last year, e.g. "2024". | |
| structure | No | true = return the table's dimensions (variables, time range, classification levels) instead of data. Use it to learn which classification keys a table offers before filtering. | |
| start_year | No | First year, e.g. "2022". | |
| table_code | Yes | GENESIS table code, e.g. "12411-0001". | |
| classifying_key1 | No | Filter the table's 1st classifying variable to these keys (comma-separated, e.g. "WZ08-92" for lotteries/betting in an industry table). Without a filter GENESIS may return only the top level (e.g. WZ sections). | |
| classifying_key2 | No | Same, 2nd classifying variable. | |
| classifying_key3 | No | Same, 3rd classifying variable. | |
| classifying_variable1 | No | Name of the 1st classifying variable (from structure:true), e.g. "WZ08". Optional. | |
| classifying_variable2 | No | Name of the 2nd classifying variable. Optional. | |
| classifying_variable3 | No | Name of the 3rd classifying variable. Optional. |