data.tg.ch
data.tg.ch
OpenDataSoft open data portal data.tg.ch (467 datasets); example dataset: Forstkreise.
GET /v1/data/data-tg-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-tg-ch/dataset?id=forstkreise" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from data.tg.ch.
{
"visibility": "domain",
"fields": [],
"dataset_id": "forstkreise",
"dataset_uid": "da_45iryl",
"has_records": false,
"features": [],
"attachments": [],
"alternative_exports": [],
"data_visible": true,
"metas": {
"default": {
"title": "Forstkreise",
"title_de": "Forstkreise",
"title_en": "Forstkreise",
"title_fr": "Forstkreise",
"description": "Verwaltungseinheit, dem Forstamt unterstellt; besteht aus mehreren Forstrevieren; wird geleitet durch einen Kreisforstingenieur.",
"description_de": "Verwaltungseinheit, dem Forstamt unterstellt; besteht aus mehreren Forstrevieren; wird geleitet durch einen Kreisforstingenieur.",
"description_en": "Verwaltungseinheit, dem Forstamt unterstellt; besteht aus mehreren Forstrevieren; wird geleitet durch einen Kreisforstingenieur.",
"description_fr": "Verwaltungseinheit, dem Forstamt unterstellt; besteht aus mehreren Forstrevieren; wird geleitet durch einen Kreisforstingenieur.",
"theme": [
"Landwirtschaft, Fischerei, Forstwirtschaft und Nahrungsmittel",
"Umwelt"
],
"theme_de": [
"Landwirtschaft, Fischerei, Forstwirtschaft und Nahrungsmittel",
"Umwelt"
],
"theme_en": [
"Agriculture, fisheries, forestry and food",
"Environment"
],
"theme_fr": [
"Agriculture, pêche, sylviculture et alimentation",
"Environnement"
],
"keyword": [
"geodaten",
"fauna",
"flora",
"wald",
"forstwirtschaft"
],
"keyword_de": [
"geodaten",
"fauna",
"flora",
"wald",
"forstwirtschaft"
],
"keyword_en": [
"geodaten",
"fauna",
"flora",
"wald",
"forstwirtschaft"
],
"keyword_fr": [
"geodaten",
"fauna",
"flora",
"wald",
"forstwirtschaft"
],
"license": "CC By 4.0",
"license_de": "CC By 4.0",
"license_en": "CC By 4.0",
"license_fr": "CC By 4.0",
"license_url": null,
"license_url_de": null,
"license_url_en": null,
"license_url_fr": null,
"language": "de",
"modified": "2026-07-28T05:05:48+00:00",
"publisher": "Kanton Thurgau, Forstamt",
"publisher_de": "Kanton Thurgau, Forstamt",
"publisher_en": "Kanton Thurgau, Forstamt",
"publisher_fr": "Kanton Thurgau, Forstamt",
"references": "https://map.geo.tg.ch/apps/mf-geoadmin3/?lang=de&topic=ech&layers=forstreviere_kreise",
"attributions": [
"https://ows.geo.tg.ch/geofy_access_proxy/forstreviere?service=WMS&version=1.3.0&request=GetCapabilities, https://ows.geo.tg.ch/geofy_access_proxy/forstreviere?service=WFS&version=2.0.0&request=GetCapabilities"
],
"update_frequency": null,
"bbox": null,
"data_processed": null,
"federated": false,
"geographic_reference": [
"ch_40_20"
],
"geographic_reference_auto": null,
"geometry_types": null,
"metadata_languages": [
"de"
],
"metadata_processed": "2026-10-23T18:00:29.137000+00:00",
"modified_updates_on_data_change": false,
"modified_updates_on_metadata_change": false,
"parent_domain": null,
"records_count": 0,
"shared_catalog": null,
"source_dataset": null,
"source_domain": null,
"source_domain_address": null,
"source_domain_title": null,
"territory": [
"Thurgau"
],
"timezone": "Europe/Zurich"
},
"custom": {
"tags": null
},
"dcat": {
"accessRights": null,
"accrualperiodicity": "unregelmässig",
"conforms_to": null,
"contact_email": null,
"contact_name": null,
"contributor": null,
"created": "1993-07-01",
"creator": null,
"dataquality": null,
"granularity": null,
"issued": null,
"publisher_type": null,
"relation": null,
"spatial": null,
"temporal": null,
"temporal_coverage_end": null,
"temporal_coverage_start": null
},
"dcat_ap_ch": {
"domain": null,
"license": null,
"rights": null
}
}
}Attribution: Source: data.tg.ch (Kanton Thurgau, Forstamt).
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.
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.tg.ch (data-tg-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=forstkreise. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-tg-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.tg.ch (data-tg-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-tg-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 facets
Use data.tg.ch (data-tg-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=forstkreise. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-tg-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>
Dataset records
Use data.tg.ch (data-tg-ch) from fastCRW Pergamon, capability "Dataset records" (records). You want the actual rows of a dataset, optionally filtered, sorted, grouped or narrowed to selected fields. Example options: id=forstkreise, select=count(*) as n, where=1=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-tg-ch" and capability "records". 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>
