Open Government, Switzerland

Switzerland's open-data catalogue over CKAN

🏛 GovernmentHEALTHYchecked 12h ago
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.

59HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 59 · healthy
Uptime history
99.02%90 days
100%30 days
1685P50 · ms
4147P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 178 ms, slowest 2713 ms, most recent 219 ms.
Live response samplecaptured by our last successful check
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 · 6HealthyFULL DOCS ↗
Monitored path responding — GET /action/package_search?rows=11685 mschecked 12h ago
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

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

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?

As of our last scheduled check, Open Government, Switzerland is healthy with 99.02% uptime over 90 days and a 1685 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.