Open Government, Switzerland

Switzerland's open-data catalogue over CKAN

🏛 GovernmentUNMONITORED
AUTH NONECORS ✓AGENT ?HTTPS ✓COMMERCIAL ?

opendata.swiss, the Swiss Confederation's central open-data portal, exposed as a CKAN API. Search 17k+ multilingual datasets (DE/FR/IT/EN) and read their metadata as JSON. Contact points and periodicity use EU publication-office vocabularies.

—HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://opendata.swiss/api/3/action/package_search?rows=1

{
  "success": true,
  "result": {
    "count": 17205,
    "results": [
      {
        "creator_user_id": "af084126-f711-4016-a585-70354e997796",
        "accrual_periodicity": "http://publications.europa.eu/resource/authority/frequency/IRREG",
        "contact_points": [
          {
            "name": "Service de géologie, sols et déchets"
          }
        ]
      }
    ]
  }
}
Call itcurl · fetch · python
curl "https://opendata.swiss/api/3/action/package_search?rows=1"
const res = await fetch("https://opendata.swiss/api/3/action/package_search?rows=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://opendata.swiss/api/3/action/package_search?rows=1")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — GET /action/package_search?rows=1 awaits first probe
GET/action/package_search?rows=1PROBED

Switzerland's open-data catalogue over CKAN

GET/action

Action — documented GET route.

GET/action/1

Action details by ID (example: 1).

GET/action?limit=10

Action — documented GET route.

GET/action/search?q=test

Search by query parameters.

GET/action/package_search?limit=5

Package Search — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Open Government, Switzerland: common questions

Is Open Government, Switzerland free to use?

Yes — Open Government, Switzerland is a free government API. Free tier: Free — no key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Open Government, Switzerland need an API key?

No — Open Government, Switzerland needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Open Government, Switzerland from the browser?

Yes — Open Government, Switzerland returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Open Government, Switzerland up right now?

Open Government, Switzerland is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.