From 17 February 2025 update: 20 February 2025, the following “LargeAPI” (LA) data will only be accessible via the new URLs.
We ask you to switch to the new APIs immediately.
- Real-time data public transport Switzerland | GTFS Realtime (GTFS RT):
Old: api.opentransportdata.swiss/gtfsrt2020
New: api.opentransportdata.swiss/la/gtfs-rt - Event information public transport Switzerland | GTFS Realtime Service Alerts (GTFS SA):
Old: api.opentransportdata.swiss/gtfs-sa
New: api.opentransportdata.swiss/la/gtfs-sa - Event information public transport Switzerland | SIRI Situation Exchange (SX):
Old: api.opentransportdata.swiss/siri-sx
New: api.opentransportdata.swiss/la/siri-sx - Daily updated public transport timetable for Switzerland | SIRI Planned Timetable (PT):
Alt: api.opentransportdata.swiss/siri-pt
New: api.opentransportdata.swiss/la/siri-pt - Real-time data public transport Switzerland | SIRI Estimated Timetable (ET):
Old: api.opentransportdata.swiss/siri-et
New: api.opentransportdata.swiss/la/siri-et
Important additional information:
- HTTP redirects (301/302):
Your requests will be forwarded to a new, certified endpoint. Please ensure that the option “allow redirects” or similar is enabled in your applications. - User agent in the HTTP header:
To successfully process your requests, you must specify the user agent in the HTTP header (for more information, see Wikipedia: “User agent”). The new endpoint does not accept requests without this information.
Affected data and interfaces
- All APIs