data.sz.ch
Open data portalsCHdata.sz.ch
OpenDataSoft open data portal data.sz.ch (366 datasets); example dataset: Ärzteschaft nach Hauptfachgebiet.
Capabilities (5)
GET /v1/data/data-sz-ch/dataset1 creditOne dataset's full metadata: title, description, theme, publisher, licence, record count and the complete field list with types and labels.
GET /v1/data/data-sz-ch/datasets1 creditSearch over the portal's catalogue: matching datasets with id, title, description, theme, publisher and the fields each dataset exposes, plus the total match count.
GET /v1/data/data-sz-ch/export-json1 creditThe dataset's records as a flat JSON array (no envelope, no total count), suitable for bulk download of small and medium datasets.
GET /v1/data/data-sz-ch/facets1 creditFacet value counts for one dataset: the distinct values of each faceted field with how many records carry them.
GET /v1/data/data-sz-ch/records1 creditA page of up to 100 records from one dataset as JSON objects keyed by field name, with the total record count for the query.
Response example
The shape of data from data-sz-ch/dataset (Dataset metadata). A sample, not live data.
| name | description | annotations | label | type |
|---|---|---|---|---|
| jahr | {"timeserie_precision":"year"} | JAHR | date | |
| hauptfachgebiet | {} | HAUPTFACHGEBIET | text | |
| anzahl | {} | ANZAHL | int |
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset metadata
Use data.sz.ch (data-sz-ch) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You have a dataset id and need its schema, licence or record count before querying it. Example options: id=aerzteschaft-nach-hauptfachgebiet. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sz-ch" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset search
Use data.sz.ch (data-sz-ch) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword or theme and do not know a dataset id. Example options: where=theme='Transport', order_by=modified desc, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sz-ch" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset export as JSON
Use data.sz.ch (data-sz-ch) from fastCRW Pergamon, capability "Dataset export as JSON" (export-json). You want the whole dataset, or a filtered slice of it, as a plain JSON array rather than a paged envelope. Example options: id=aerzteschaft-nach-hauptfachgebiet. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sz-ch" and capability "export-json". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset facets
Use data.sz.ch (data-sz-ch) from fastCRW Pergamon, capability "Dataset facets" (facets). You want to know the value distribution of a dataset's categorical fields without downloading rows. Example options: id=aerzteschaft-nach-hauptfachgebiet. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sz-ch" and capability "facets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Datasets on this portal declare the licence "CC BY 4.0" (https://creativecommons.org/licenses/by/4.0/). Licence is attached per dataset by its publisher; the portal states no separate API licence. Quoted from the dataset metadata returned by the catalogue API.
https://creativecommons.org/licenses/by/4.0/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.sz.ch (FMH - Verbindung der Schweizer Ärztinnen und Ärzte).
Cache: up to 3600s
