Skip to main content
fastCRW Pergamon
Government · CH

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).

Showing the catalogue

1Request

The `dataset_id` used in this portal's URLs (slug-like, may contain dots and dashes).

1 credit⌘ ↵
Code follows the fields above
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.

namedescriptionannotationslabeltypelabel_delabel_frlabel_en
datumDatum{"facetsort":"-count","timeserie_precision":"day"}datumdatedatumdatumdatum
georegionKanton{}geoRegiontextgeoRegiongeoRegiongeoRegion
entriesTägliche Fälle{}entriesintentriesentriesentries
sumtotalTotal Fälle{}sumTotalintsumTotalsumTotalsumTotal
popStändige Wohnbevölkerung 2020{}popintpoppoppop
versionVersion{}versiontextversionversionversion
per1000personsTägliche Fälle pro 1000 Personen{"facetsort":"-count","decimals":1}per1000personsdoubleper1000personsper1000personsper1000persons

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>