GTFS-realtime v1

Deprecation

Warning : the GTFS-realtime v1 API will be depracated in the coming weeks. It will no longer be available after Friday, May 28, 2021. After that date you will have to use version 2 of the GTFS-realtime API.

Prerequisite

  1. Obtain an API Key. To do so, you must create a new application. Go to Home > Applications
  2. Get familiar with the GTFS-real standard. Here is the official documentation
  3. Obtain STM's static GTFS file from this page. Watch carefully for the avalability period and the last update date, as the GTFS file is updated regularly.

API / Feed information

URL : https://api.stm.info/pub/od/gtfs-rt/ic/v1

Endpoints:

  • POST /tripUpdates
    • Get the bus schedule in real time
      • Mandatory HTTP header : apikey
  • POST /vehiclePositions
    • Get the bus positions in real time
      • Mandatory HTTP header : apikey