Skip to main content
All providers

data.tg.ch

GovernmentCH

data.tg.ch

OpenDataSoft open data portal data.tg.ch (467 datasets); example dataset: Forstkreise.

Capabilities (4)

GET /v1/data/data-tg-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/data-tg-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/data-tg-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/data-tg-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 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://data.tg.ch/

Attribution

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

Source: data.tg.ch (Kanton Thurgau, Forstamt).

Cache: up to 3600s