Swiss FSO Table Data Query
swissfso.table.queryQuery data from any Swiss Federal Statistical Office (FSO/BFS) STAT-TAB dataset using dimension filters. Provide a database_id from catalog.list and optional filters (from table.metadata). Each filter specifies a dimension code and an array of value codes. Returns JSON-stat2 formatted data with dimension labels and numeric values. Note: variable codes and labels are in German (official FSO data language). Unfiltered dimensions return all values, so always filter time and region to keep responses manageable. Swiss OGD, no auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Array of dimension filters. Unfiltered dimensions return all values. Tip: always filter time and region dimensions to keep response size manageable. | |
| database_id | Yes | BFS database identifier (e.g. "px-x-0304010000_201"). Use catalog.list to discover IDs; table.metadata to see variable codes and values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |