The Transport API allows interested developers to build their own applications using public timetable data, whether they're on the web, the desktop or mobile devices. The aim of this inofficial API is to cover public transport within Switzerland. The API uses a web service provided by search.ch.
If you are looking for an officially supported source or need to download all data e.g in GTFS format, please check opendata.swiss.
In order to be kept update on the future development of this API, please subscribe to our low-traffic Google Group.