data.bl.ch
data.bl.ch
OpenDataSoft open data portal data.bl.ch (188 datasets); example dataset: Covid-19: Tägliche Fallzahlen (Februar 2020 - Januar 2023).
GET /v1/data/data-bl-ch/dataset1Request
The `dataset_id` used in this portal's URLs (slug-like, may contain dots and dashes).
curl "https://api.fastcrw.com/v1/data/data-bl-ch/dataset?id=10340" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from data.bl.ch.
| name | description | annotations | label | type | label_de | label_fr | label_en |
|---|---|---|---|---|---|---|---|
| datum | Datum | {"facetsort":"-count","timeserie_precision":"day"} | datum | date | datum | datum | datum |
| georegion | Kanton | {} | geoRegion | text | geoRegion | geoRegion | geoRegion |
| entries | Tägliche Fälle | {} | entries | int | entries | entries | entries |
| sumtotal | Total Fälle | {} | sumTotal | int | sumTotal | sumTotal | sumTotal |
| pop | Ständige Wohnbevölkerung 2020 | {} | pop | int | pop | pop | pop |
| version | Version | {} | version | text | version | version | version |
| per1000persons | Tägliche Fälle pro 1000 Personen | {"facetsort":"-count","decimals":1} | per1000persons | double | per1000persons | per1000persons | per1000persons |
5 more columns in JSON.
Attribution: Source: data.bl.ch (Bundesamt für Gesundheit).
Licence: OGD is machine-readable government data that can be reused under an open license (including for commercial purposes).
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.bl.ch (data-bl-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=10340. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-bl-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.bl.ch (data-bl-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-bl-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.bl.ch (data-bl-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=10340. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-bl-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.bl.ch (data-bl-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=10340. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-bl-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>
