Developer Space – Open data
Our GTFS (General Transit Feed Specification) planned and realtime data is available to the developers’ community for designing information tools for riders.
Terms of use
As would any other public organization sharing its data, we ask you to review our Terms of Use.
Compliance with these Terms of Use is mandatory in order to use the STO’s open data for commercial or other purposes. By downloading the GTFS files, you agree to comply with the related Terms of Use. If you do not agree to all the terms, you may not use this data, and must not download the files.
Types of data
Planned data (GTFS)
The following is an overview of the GTFS files provided:
- Terms of use (readme_first.txt);
- Bus stop positions (stops.txt);
- Bus route circuits (trips.txt);
- Planned schedules for each route at each stop (stop_times.txt);
- Service schedule (calendar.txt);
- Holiday schedule (calendar_dates.txt);
- Transfer points (transfers.txt);
- Accessible service (routes.txt).
Planned data is automatically updated every 24hours.
Accessing planned data
No registration or authentication is required to access this data.
Stay informed
Sign up for our email notifications in order to keep up to date with the latest developments and changes about GTFS. You will only be sent information about open data.
Realtime open data (GTFS-RT)
GTFS realtime data must be paired with GTFS planned data in order to work.
GTFS-RT consists of three types of files:
- Service alerts (Alert.pb);
- Bus positions (VehiclePosition.pb);
- Trip updates (TripUpdate.pb).
There are two files for trip updates (TripUpdate.pb):
The “Standard” file: this file contains only the schedules for the trips followed in real time by the Système d’aide à l’exploitation et information voyageur (SAEIV). This file is consistent with established standards.
Apps developed according to those standards will not require any programming adjustments or modifications to the file.
The “Custom” file enables apps to display the same information as that which appears in the STO realtime information tools. In fact, it is the one used by the developers of the Transit app.
Given that the “Custom” file is not consistent with established standards, you will have to make adjustments or modifications to your app program so that the information disseminated to customers is accurate. Thus, the use of this file is conditional upon compliance with the Conditions d’utilisation et profil d’implémentation des flux GTFS-RT 2.0 de la STO.
Access to realtime data
Registration with identification is required to access this data, which requires an API key.
Apply to register for an API key
Consult the documentation on the use of an API key (in French only)
Technical support
The STO does not commit to offering support or guidance in the use of its open data.
We recommend that, if need be, you consult the many sources of information already available online regarding the use of this type of file:
- Google – GTFS Static Overview
- Google – GTFS Realtime Overview. https://developers.google.com/transit/gtfs-realtime
Email updates to developers
In order to receive an email about the availability of new files, please fill out the following fields: