Skip to main content
SIRI API
A
Written by Antoine Marin
Updated over 4 months ago

The SIRI interface (Service Interface for Real time Information) - is a protocol for exchanging real time information for public transport (XML format).

Access point

There are 2 ways of connecting to the SIRI real time service provided by Pysae:

  • Public access: limited to 1 request per second

  • Authenticated access (API-KEY): no restrictions

To generate an API KEY you need to :

Limits by type of access

Free access :

  • limited to Siri

  • limited to request mode

  • limited to 1 request per second

Authenticated access

  • access to Siri and Siri Lite

  • access to request mode and subscription mode

  • no frequency limit

Available Siri services

The following services are available in "request" or "subscription" mode:

  • CheckStatus

  • StopPointsDiscovery

  • LinesDiscovery

  • StopMonitoring

  • VehicleMonitoring

  • EstimatedTimetable

  • Situation Exchange

Siri request format

Siri requests can be sent in raw XML or SOAP format. The endpoints must be adapted according to the format the user wishes to use:

raw XML format :

SOAP format :

Example of a real time service request

Here is an example of how to access the Cars Faure real-time service on SYTRAL.

The basic URL for accessing the services is as follows: https://api.okina.fr/gateway/fau/realtime/

Example of a request to the /anshar/services (Don't forget to fill in the API-KEY generated earlier) :

Sample response:

Did this answer your question?