This is an old revision of the document!
Swiss public transport API
Introduction
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. Find out more about how you can start exploring the timetable data playground or just browse the API Documentation.
API Documentation
The Transport API builds on REST style resources which respond in JSON. Individual resources are detailed below.  /stations /connections /stationboard
Returns the matching locations for the given parameters.
The locations in the response are scored to determine which is the most exact location. This method can return a refine response, what means that the request has to be redone.
Resource URL
http://transport.opendata.ch/v1/locations
=== Example Request ===
GET http://transport.opendata.ch/v1/locations?query=Basel
Example response
{ "stations": [ { "coordinate": { "type": "WGS84", "x": "8540192", "y": "47378177" }, "id": "008503000", "name": "Zuerich", "score": "100" }, {