Public APIs
Transport for Switzerland favicon

Transport for Switzerland

Transportation

Swiss public transport API.

Transport for Switzerland's website screenshot

About Transport for Switzerland

Transport for Switzerland is an API providing access to Swiss public transport timetable data, intended for developers building web, desktop, or mobile applications. It is described as an unofficial API, backed by a web service provided by search.ch, and covers public transport within Switzerland.

The API is maintained by Opendata.ch, with source code hosted on GitHub for technical questions. For officially supported data sources or full downloads in GTFS format, the documentation directs users to opendata.swiss instead.

Key features

  • Public transport timetable data API for Switzerland
  • Covers stationboards, connections, and locations via web service from search.ch
  • Free to use for developers building web, desktop, or mobile apps
  • Open source with source code available on GitHub
  • Documentation and usage examples provided

Frequently asked questions

Is this an official Swiss transport API?

No, it is described as an inofficial API covering public transport within Switzerland, powered by Opendata.ch.

Where does the data come from?

The API uses a web service provided by search.ch.

Is there an official alternative for downloading full datasets like GTFS?

Yes, opendata.swiss is recommended for an officially supported source or full data downloads in GTFS format.

Is the source code available?

Yes, the source code is hosted on GitHub where technical questions can also be asked.

How can I get support or contact the maintainers?

Technical questions should be asked on GitHub, or you can email transport@opendata.ch for direct contact.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product