SBB Open Data

SBB Open Data — Swiss rail open data

🚆 TransportUNMONITORED
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.

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://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 · 2On scheduleFULL DOCS ↗
On schedule — GET /data.json awaits first probe
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

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

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 (Unpublished).

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?

SBB Open Data 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.