SBB Open Data

SBB Open Data — Swiss rail open data

🚆 TransportHEALTHYchecked 4h ago
AUTH NONECORS ✗AGENT ✓HTTPS ✓COMMERCIAL ?

SBB Open Data exposes swiss rail open data We verified a keyless GET endpoint returning JSON (Transportation). Check the provider docs for rate limits and terms before production use.

64HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 64 · healthy
Uptime history
99.44%90 days
100%30 days
865P50 · ms
3322P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 370 ms, slowest 2280 ms, most recent 865 ms.
Live response samplecaptured by our last successful check
GET https://data.sbb.ch/data.json

{
  "@context": "https://project-open-data.cio.gov/v1.1/schema/catalog.jsonld",
  "@id": "https://data.sbb.ch/data.json",
  "@type": "dcat:Catalog",
  "conformsTo": "https://project-open-data.cio.gov/v1.1/schema",
  "describedBy": "https://project-open-data.cio.gov/v1.1/schema/catalog.json",
  "dataset": [
    {
      "@type": "dcat:Dataset",
      "identifier": "anzahl-sbb-bahnhofbenutzer",
      "title": "Number of SBB station users",
      "description": "<p></p><p>Anzahl SBB-Bahnhofbenutzer. D.h. Personen, die den Bahnhof frequentieren, nicht gleich Benützer von Transportleistungen.</p><p>Letzter Update: 5.4.2024 mit Daten 2023</p><p></p><p></p><p>Number of SBB station users. I.e. persons using the station do not immediately use transport services.</p><p>Last update per 5.4.2024 with data 2023<br></p><p></p><p></p><p></p>",
      "modified": "2026-04-23T10:44:59+00:00",
      "landingPage": "https://data.sbb.ch/explore/dataset/anzahl-sbb-bahnhofbenutzer/",
      "publisher": {
        "name": "SBB"
      },
      "accessLevel": "public"
    },
    {
      "@type": "dcat:Dataset",
      "identifier": "aufzugsstammdaten",
      "title": "Elevator master data",
      "description": "<p>Master data on SBB lifts and escalators</p>",
      "modified": "2019-07-08T09:13:16+00:00",
      "landingPage": "https://data.sbb.ch/explore/dataset/aufzugsstammdaten/",
      "publisher": {
        "name": "SBB Infrastruktur"
      },
      "accessLevel": "public"
    }
  ]
}
Call itcurl · fetch · python
curl "https://data.sbb.ch/data.json"
const res = await fetch("https://data.sbb.ch/data.json");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://data.sbb.ch/data.json")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 2HealthyFULL DOCS ↗
Monitored path responding — GET /data.json865 mschecked 4h ago
GET/data.jsonPROBED

SBB Open Data — Swiss rail open data

GET/data.json?limit=5

Paginated variant with limit parameter.

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.

SBB Open Data: common questions

Is SBB Open Data free to use?

Yes — SBB Open Data is a free transport API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does SBB Open Data need an API key?

No — SBB Open Data needs no API key or signup. You can call it straight away; rate limits still apply (6000 req/window · 5999 remaining · resets 2026-07-09 00:00:00+00:00).

Can I call SBB Open Data from the browser?

Not directly — SBB Open Data doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is SBB Open Data up right now?

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