Skip to content

SIRI ET/PT with request/response

SIRI ET (Estimated Timetable) provides real-time information for the entire Swiss public transport network. SIRI PT (Planned Timetable) delivers the current operating timetable for Swiss public transport every morning.

Technical description

For all business organisations that provide real-time data, we make this available as SIRI ET, which is real-time data.

The operating timetable is made available every morning. It should be occupied from about 04:00. We update it every 30 minutes.

Technical aspects

Access is via the following URL:

The necessary API key can be obtained via the self-service portal.

The query is made with a GET request without parameters.

Testing can be carried out with the following CURL scripts:

Please note that the response ET is approx. 100MB and the response PT is approx. 500MB.

If you use curl for PT you should add the parameter

as well.

The ET values are a maximum of 1.5 minutes old. The query can be made every 30 seconds at most. PT generates an updated version every 30 minutes, which is then delivered with a maximum delay of one hour. It is possible that a new version is created during the day.

Response

Here is an example of the response to a single journey (without headers)

At the moment, delivery is carried out at specific stops (StopPointRef) and not yet with SLOID.

Questions & answers

Further information