Skip to main content
All providers

opendata.fr.ch

GovernmentCH

opendata.fr.ch

OpenDataSoft open data portal opendata.fr.ch (125 datasets); example dataset: Énergie solaire, dès 2020.

Capabilities (5)

GET /v1/data/opendata-fr-ch/dataset1 credit

One dataset's full metadata: title, description, theme, publisher, licence, record count and the complete field list with types and labels.

id
GET /v1/data/opendata-fr-ch/datasets1 credit

Search over the portal's catalogue: matching datasets with id, title, description, theme, publisher and the fields each dataset exposes, plus the total match count.

where?order_by?offset?select?refine?lang?
GET /v1/data/opendata-fr-ch/export-json1 credit

The dataset's records as a flat JSON array (no envelope, no total count), suitable for bulk download of small and medium datasets.

idselect?where?order_by?
GET /v1/data/opendata-fr-ch/facets1 credit

Facet value counts for one dataset: the distinct values of each faceted field with how many records carry them.

idfacet?refine?
GET /v1/data/opendata-fr-ch/records1 credit

A page of up to 100 records from one dataset as JSON objects keyed by field name, with the total record count for the query.

idselect?where?order_by?group_by?refine?offset?

Licence

Datasets on this portal declare the licence "CC BY-SA 4.0" (https://creativecommons.org/licenses/by-sa/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-sa/4.0/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: opendata.fr.ch (Geoimpact, Office fédéral de l'énergie (OFEN)).

Cache: up to 3600s