opendata.swiss
Open data portalsCHckan.opendata.swiss
National Open Data Portal of Switzerland launched in September 2013.
Capabilities (18)
GET /v1/data/opendata-swiss/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/opendata-swiss/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/opendata-swiss/dataset-names1 creditFlat JSON array of every dataset slug on the portal, in alphabetical order.
GET /v1/data/opendata-swiss/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/opendata-swiss/dataset-suggest1 creditLightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.
GET /v1/data/opendata-swiss/group1 creditMetadata for one thematic group: title, description, image and dataset count.
GET /v1/data/opendata-swiss/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/opendata-swiss/groups1 creditEvery thematic group (subject category) on the portal with its name, display title, description and dataset count.
GET /v1/data/opendata-swiss/licenses1 creditEvery licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.
GET /v1/data/opendata-swiss/organization1 creditMetadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.
GET /v1/data/opendata-swiss/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/opendata-swiss/organizations1 creditEvery publishing organization on the portal with its name, display title, description, image and dataset count.
GET /v1/data/opendata-swiss/resource1 creditMetadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.
GET /v1/data/opendata-swiss/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/opendata-swiss/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/opendata-swiss/site-status1 creditThe portal's CKAN version, site title, locale and the list of installed CKAN extensions.
GET /v1/data/opendata-swiss/tag1 creditThe id, name and vocabulary of one tag, and optionally every dataset carrying it.
GET /v1/data/opendata-swiss/tags1 creditFlat JSON array of every free tag used on the portal.
Response example
The shape of data from opendata-swiss/dataset (Dataset detail). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"help": "https://ckan.opendata.swiss/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"accrual_periodicity": "http://publications.europa.eu/resource/authority/frequency/DAILY",
"author": "Schweizerisches Institut für Kunstwissenschaft (SIK-ISEA)",
"author_email": null,
"contact_points": [
{
"email": "sikart@sik-isea.ch",
"name": "SIKART"
}
],
"creator_user_id": "082dec4d-1b01-4463-886e-6bb9e5b3a69a",
"description": {
"fr": "SIKART Dictionnaire sur l'art en Suisse est une plateforme de l’Institut suisse pour l’étude de l’art (SIK-ISEA). Quotidiennement actualisé et richement illustré, SIKART documente l'art en Suisse, du Moyen Âge à nos jours. SIKART offre un accès d'information sur les artistes, les œuvres, les expositions, la littérature et les distinctions ainsi qu’à 1'700 articles approfondis. Le jeu de données contient les données biographiques de plus de 17'000 artistes historiques ou contemporains.",
"en": "SIKART Lexicon on art in Switzerland is an online dictionary on historical and contemporary art, published by the Swiss Institute for Art Research (SIK-ISEA). Richly illustrated, it is edited and updated on a daily basis. SIKART offers information on artists, works, exhibitions, literature, awards and contains 1,700 in-depth biographical articles. The dataset encompasses 17,000 entries with biographical data on current and historical artists.",
"de": "SIKART Lexikon zur Kunst in der Schweiz ist das redaktionell betreute, täglich aktualisierte und reich illustrierte Online-Nachschlagewerk des Schweizerischen Instituts für Kunstwissenschaft (SIK-ISEA) zur historischen und zeitgenössischen Kunst in der Schweiz. SIKART bietet Informationen zu KünstlerInnen, Werken, Ausstellungen, Literatur, Auszeichnungen und enthält rund 1'700 ausführliche biografische Artikel. Der Datensatz umfasst 17'000 Einträge mit den biografischen Grunddaten zu aktuellen und historischen Kunstschaffenden.",
"it": "SIKART Dizionario sull'arte in Svizzera è il sistema di informazioni online dell’Istituto svizzero di studi d’arte (SIK-ISEA). Curato da una redazione scientifica, viene quotidianamente aggiornato ed è riccamente illustrato. SIKART offre la possibilità di effettuare ricerche combinate nei seguenti campi: artisti, opere, esposizioni, bibliografia, riconoscimenti e presenta 1'700 voci monografiche di ampio respiro. Il set di dati contiene l'elenco di tutte le 17'000 schede biografiche di artisti contemporanei e del passato."
},
"display_name": {
"fr": "Données biographiques des artistes de SIKART Dictionnaire sur l'art en Suisse",
"de": "Biografische Daten zu Kunstschaffenden aus SIKART Lexikon zur Kunst in der Schweiz",
"en": "Biographical data on artists from SIKART Lexicon on art in Switzerland",
"it": "Dati biografici da SIKART Dizionario sull'arte in Svizzera"
},
"id": "bfbb629c-ebc7-4b43-8b4c-c2eead8d7ec2",
"identifier": "SIKART_Artists_20190115@sik-isea",
"isopen": false,
"issued": "2019-03-18T00:00:00",
"keywords": {
"en": [
"art",
"art-history",
"artist",
"artists",
"culture",
"dictionary",
"glam",
"history",
"metadata",
"openglam",
"… 2 more items"
],
"de": [
"geschichte",
"glam",
"kultur",
"kunst",
"kunstgeschichte",
"kunstler",
"kunstlerinnen",
"lexikon",
"metadaten",
"openglam",
"… 2 more items"
],
"fr": [
"artistes",
"arts",
"culture",
"dictionnaire",
"glam",
"histoire",
"histoire-de-lart",
"histoire-suisse",
"metadonnees",
"openglam"
],
"it": [
"arte",
"artisti",
"cultura",
"dizionario",
"glam",
"metadati",
"openglAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Dataset detail
Use opendata.swiss (opendata-swiss) 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=kuenstlernamen-aus-sikart-lexikon-zur-kunst-in-der-schweiz. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-swiss" 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 opendata.swiss (opendata-swiss) 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=kuenstlernamen-aus-sikart-lexikon-zur-kunst-in-der-schweiz. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-swiss" 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 opendata.swiss (opendata-swiss) 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 "opendata-swiss" 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 opendata.swiss (opendata-swiss) 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 "opendata-swiss" 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>
Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Offene Behördendaten der Schweiz (Schweizerische Eidgenossenschaft). Data published by the portal's contributing organisations.
Cache: up to 3600s
