PASAR API

🇨🇭 transport.opendata.ch ~ Swiss transit connections API

← directory
Opendata.chTravel & mobilitytier: openauth: no authpricing: freeverified 2026-07-05

Community-run REST/JSON API (backed by search.ch timetable data) with CORS enabled; fair-use rate limits apply and it is not an official SBB endpoint.

View docs ↗ More Travel & mobility APIs All Switzerland APIs

Call it

curl --fail-with-body --location --max-time 30 'https://transport.opendata.ch/v1/'

AI prompt

I'm building an app using a public Switzerland API (no private credentials needed).

API: transport.opendata.ch ~ Swiss transit connections API
Provider: Opendata.ch
Endpoint: GET https://transport.opendata.ch/v1/
Response format: JSON

Source: Opendata.ch (https://transport.opendata.ch/docs.html)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Copy-paste ready
Last checked: 2026-07-05
Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts.

Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.

Related Travel & mobility APIs

Transit schedules ~ Rapid KL LRT/MRT/monorail/bus (Prasarana GTFS)Train schedules ~ KTMB (GTFS)Bus schedules ~ myBAS Johor Bahru (GTFS)LTA DataMall ~ Singapore real-time bus, train & traffic dataCarpark Availability (data.gov.sg) ~ live HDB carpark lotsTraffic Images (data.gov.sg) ~ live Singapore road camerasAviationstack Real-Time Flight DataFlightAware AeroAPIBooking.com Demand APIViator Partner API