data.stadt-zuerich.ch
Open data portalsCHdata.stadt-zuerich.ch
Open Government Data portal for the city of Zürich, Switzerland.
Capabilities (18)
GET /v1/data/data-stadt-zuerich-ch/dataset1 creditFull metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.
GET /v1/data/data-stadt-zuerich-ch/dataset-dcat1 creditOne dataset serialised as DCAT-AP RDF in JSON-LD, with dcat:Distribution nodes for each resource (the EU data.europa.eu interchange form rather than CKAN's native shape).
GET /v1/data/data-stadt-zuerich-ch/dataset-names1 creditFlat JSON array of every dataset slug on the portal, in alphabetical order.
GET /v1/data/data-stadt-zuerich-ch/datasets1 creditSolr-backed search over every dataset published on the Latvian open data portal; returns a page of 20 full dataset records plus the total match count and facets.
GET /v1/data/data-stadt-zuerich-ch/dataset-suggest1 creditLightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.
GET /v1/data/data-stadt-zuerich-ch/group1 creditMetadata for one thematic group: title, description, image and dataset count.
GET /v1/data/data-stadt-zuerich-ch/group-datasets1 creditA page of up to 20 full dataset records belonging to one thematic group, with the group's total count.
GET /v1/data/data-stadt-zuerich-ch/groups1 creditEvery thematic group (subject category) on the portal with its name, display title, description and dataset count.
GET /v1/data/data-stadt-zuerich-ch/licenses1 creditEvery licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.
GET /v1/data/data-stadt-zuerich-ch/organization1 creditMetadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.
GET /v1/data/data-stadt-zuerich-ch/organization-datasets1 creditA page of up to 20 full dataset records published by one organization, with the total count for that publisher.
GET /v1/data/data-stadt-zuerich-ch/organizations1 creditEvery publishing organization on the portal with its name, display title, description, image and dataset count.
GET /v1/data/data-stadt-zuerich-ch/resource1 creditMetadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.
GET /v1/data/data-stadt-zuerich-ch/resource-rows1 creditUp to 100 parsed rows of a tabular resource straight from CKAN's DataStore, with the column schema and total row count, so no file download or CSV parsing is needed.
GET /v1/data/data-stadt-zuerich-ch/resource-search1 creditSearches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.
GET /v1/data/data-stadt-zuerich-ch/site-status1 creditThe portal's CKAN version, site title, locale and the list of installed CKAN extensions.
GET /v1/data/data-stadt-zuerich-ch/tag1 creditThe id, name and vocabulary of one tag, and optionally every dataset carrying it.
GET /v1/data/data-stadt-zuerich-ch/tags1 creditFlat JSON array of every free tag used on the portal.
Response example
The shape of data from data-stadt-zuerich-ch/dataset (Dataset detail). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"help": "https://ckan-prod.zurich.datopian.com/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"author": "Statistik Stadt Zürich, Präsidialdepartement",
"author_email": null,
"creator_user_id": "fb87ce0e-e695-45b6-8017-eeb36a2952ab",
"dataQuality": "Siehe dazu «Detailinformationen bezüglich Datenqualität» unter Bemerkungen.\n\t\t",
"dataType": [
"Einzeldaten"
],
"dateFirstPublished": "25.01.2024",
"dateLastUpdated": "23.10.2026",
"id": "01547e1d-7e92-4050-a332-ccff35d5021f",
"isopen": true,
"legalInformation": " ",
"license_id": "cc-zero",
"license_title": "Creative Commons CCZero",
"license_url": "http://www.opendefinition.org/licenses/cc-zero",
"maintainer": "Open Data Zürich",
"maintainer_email": "opendata@zuerich.ch",
"metadata_created": "2024-02-14T16:04:50.023524",
"metadata_modified": "2026-10-23T02:56:07.975215",
"name": "prd_ssz_ogd_katalog_inventar",
"notes": "Die wichtigsten Metadaten (Titel, Beschreibung, Dataowner etc.) aller veröffentlichten Datensätze des OGD-Katalogs der Stadt Zürich sind in diesem Datensatz zusammengefasst.",
"num_resources": 1,
"num_tags": 6,
"organization": {
"id": "stadt-zurich",
"name": "stadt-zurich",
"title": "Stadt Zürich",
"type": "organization",
"description": "",
"image_url": "https://www.stadt-zuerich.ch/content/dam/stzh/portal/Deutsch/OGD/Bilder/ckan/platzhalter_org_ckan.png",
"created": "2015-06-25T13:53:59.198168",
"is_organization": true,
"approval_status": "approved",
"state": "active"
},
"owner_org": "stadt-zurich",
"private": false,
"spatialRelationship": "Keine räumliche Einschränkung",
"sszBemerkungen": "**Beschriebene Attribute (Metadaten)**\n\nBei den im Datensatz geführten Attribute handelt es sich um die wichtigsten Metadaten, wie sie für jeden Datensatz im OGD-Katalog erfasst sind.\n\n",
"sszFields": "[[\"titel (technisch: titel)\", \"Treffender, vollst\\u00e4ndiger Titel zum jeweiligen publizierenden Datensatz\"], [\"beschreibung (technisch: beschreibung)\", \"Kurzbeschreibung zum Datensatz\"], [\"kategorie (technisch: kategorie)\", \"Kategorien, welche dem jeweiligen Datensatz zugeordnet werden\"], [\"raeumliche_beziehung (technisch: raeumliche_beziehung)\", \"R\\u00e4umlicher Bezug des Datensatzes\"], [\"quelle (technisch: quelle)\", \"Dataowner: die f\\u00fcr die Daten verantwortliche Stelle\"], [\"zeitraum (technisch: zeitraum)\", \"Zeitlicher Bezugsrahmen des Datensatzes\"], [\"datentyp (technisch: datentyp)\", \"Beschreibung des Datentyps (Einzeldaten, aggregierte Daten, Bilddaten)\"], [\"aktualisierungsdatum (technisch: aktualisierungsdatum)\", \"Aktualisierungsdatum des Datensatzes\"], [\"dataset_name (technisch: dataset_name)\", \"Einheitsname des Datensatzes ('slug name')\"], [\"dataset_id (technisch: dataset_id)\", \"ID des Datensatzes\"], [\"anzahl_ressourcen (technisch: anzahl_ressourcen)\", \"Anzahl Ressourcen des Datensatzes\"]]",
"state": "active",
"timeRange": "Aktueller Stand",
"title": "Dateninventar des OGD-Katalogs der Stadt Zürich",
"type": "dataset",
"updateInterval": [
"taeglich"
],
"url": "Statistik Stadt Zürich, Präsidialdepartement",
"version": "1.0",
"extras": [
{
"key": "harvest_object_id",
"value": "67081b19-aa84-4e9e-bc38-40d230a476b7"
},
{
"key": "harvest_source_id",
"value": "82f277c5-5309-4d0a-a56f-17820cb80ee8"
},
{
"key": "harvest_source_title",
"value": "VBZ Archive Dropzone Harvester"
}
],
"groups": [
{
"description": "",
"display_name": "Verwaltung",
"id": "verwaltung",
"image_display_url": "https://statistik.stadt-zuerich.ch/Modules/ogd_bspe/group_pics/kategorien-18.png",
"name": "verwaltung",
"title": "Verwaltung"
}
],
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset detail
Use data.stadt-zuerich.ch (data-stadt-zuerich-ch) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a dataset name or UUID from a search and need its resources, licence or full description. Example options: id=prd_ssz_ogd_katalog_inventar. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-stadt-zuerich-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 as DCAT-AP JSON-LD
Use data.stadt-zuerich.ch (data-stadt-zuerich-ch) from fastCRW Pergamon, capability "Dataset as DCAT-AP JSON-LD" (dataset-dcat). You are feeding a European data catalogue or an RDF pipeline and want standards-shaped metadata instead of CKAN's package dict. Example options: id=prd_ssz_ogd_katalog_inventar. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-stadt-zuerich-ch" and capability "dataset-dcat". 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>
All dataset names
Use data.stadt-zuerich.ch (data-stadt-zuerich-ch) from fastCRW Pergamon, capability "All dataset names" (dataset-names). You want the complete inventory of dataset ids to iterate over, rather than a scored search page. Example options: limit=100, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-stadt-zuerich-ch" and capability "dataset-names". 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.stadt-zuerich.ch (data-stadt-zuerich-ch) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword, filter, or recency, and you do not already know a dataset id. Example options: q=statistika, fq=res_format:CSV, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-stadt-zuerich-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>
Licence
Dataset records on this portal declare the licence "Creative Commons CCZero" (http://www.opendefinition.org/licenses/cc-zero). This is the licence the publishing organisations attach to their own datasets; the portal itself states no separate API licence. Quoted as found in the portal's own dataset metadata.
http://www.opendefinition.org/licenses/cc-zeroAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.stadt-zuerich.ch (Stadt Zürich). Data published by the portal's contributing organisations.
Cache: up to 3600s
