Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: OpenSwissData — public read-only Sources API
version: 1.0.0
description: 'Read-only JSON endpoints over the official localities and streets directories (swisstopo), the combined commune and canton profiles (including the BFE one-time photovoltaic remuneration), a catalogue of approved open Swiss datasets (generic engine, filterable by canton, commune, postal code, NOGA code or year), the Swiss company fiche (company_check) and the public source registry. Free, no key, limited per network address. The company fiche is also available over MCP (`company_check`, see /mcp) without a key; the commune and canton profiles, the BFE data and the open datasets catalogue are REST-only. Unofficial copies: binding decisions belong to the official sources named in each `sources`/`source` entry.'
contact:
url: https://www.openswissdata.com/en/
servers:
- url: https://www.openswissdata.com
tags:
- name: Sources
paths:
/api/v1/sources:
get:
summary: Public registry of sources served by the API and the MCP server
description: 'Id, publishing institution, licence and URL of each public source, with the directory edition or data version when known, except the two Eurostat SPARQL queries used only at classification-collection time. The TARES permission reference is never shown here (it names a person): TARES entries carry `licence: "see the provenance file of the archive"` instead. A separate dataset_sources array, derived from the current open-datasets catalogue (GET /api/v1/datasets), lists the publisher and source URL of each approved dataset — kept apart from sources, which stays the registry compared against etl/shared/sources/registry.ts.'
responses:
'200':
description: Source registry
headers:
Cache-Control:
schema:
type: string
description: public, max-age=3600
'429':
description: Rate limit exceeded for this network address (600 requests/hour, shared with /localities, /communes and /cantons)
tags:
- Sources
operationId: getApiV1Sources
x-operation-id-source: derived