Download OpenAPI specification:
API provided by data from transit.app
Returns routes around a location
lat required | number <double> Example: lat=45.526168 Latitude |
lon required | number <double> Example: lon=-73.595061 Longitude |
max_distance | integer <= 1500 Default: 150 Example: max_distance=1500 Maximum radius of search from the request location (in meters) |
should_update_realtime | boolean Default: true Boolean telling the system if it should update real time or just return schedule information. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "routes": [
- {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "30",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:884",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:93806",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Nord",
- "direction_id": 0,
- "headsign": "Nord",
- "merged_headsign": "Nord",
- "schedule_items": [ ]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:93807",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53827",
- "stop_code": "53827",
- "stop_lat": 45.55619574481179,
- "stop_lon": -73.66700690039492,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Sud",
- "direction_id": 1,
- "headsign": "Sud",
- "merged_headsign": "Sud",
- "schedule_items": [
- {
- "departure_time": 1706734320,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "270709132",
- "scheduled_departure_time": 1706734320,
- "trip_search_key": "STM:44434357:56:1:23",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735940,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270709587",
- "scheduled_departure_time": 1706735940,
- "trip_search_key": "STM:44434357:56:1:24",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706737740,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270709414",
- "scheduled_departure_time": 1706737740,
- "trip_search_key": "STM:44434357:56:1:25",
- "wheelchair_accessible": 1
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "30",
- "route_color": "009ee0",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "30",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Saint-Denis / Saint-Hubert",
- "route_short_name": "30",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "30",
- "tts_long_name": "Saint-Denis / Saint-Hubert",
- "tts_short_name": "30"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "171",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:980",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:88368",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [ ]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:88180",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54114",
- "stop_code": "54114",
- "stop_lat": 45.55550326815347,
- "stop_lon": -73.66742058774925,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [
- {
- "departure_time": 1706734020,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "274099525",
- "scheduled_departure_time": 1706734020,
- "trip_search_key": "STM:44434357:312:1:16",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706734920,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "274099717",
- "scheduled_departure_time": 1706734920,
- "trip_search_key": "STM:44434357:312:1:17",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735820,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "274099796",
- "scheduled_departure_time": 1706735820,
- "trip_search_key": "STM:44434357:312:1:18",
- "wheelchair_accessible": 1
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "171",
- "route_color": "781b7d",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "171",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Henri-Bourassa",
- "route_short_name": "171",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "171",
- "tts_long_name": "Henri-Bourassa",
- "tts_short_name": "171"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "164",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:975",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:102657",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [ ]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:102658",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53793",
- "stop_code": "53793",
- "stop_lat": 45.55567413901721,
- "stop_lon": -73.6673486421224,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [
- {
- "departure_time": 1706734200,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "270703982",
- "scheduled_departure_time": 1706734200,
- "trip_search_key": "STM:44434357:296:1:32",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706734800,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "270703998",
- "scheduled_departure_time": 1706734800,
- "trip_search_key": "STM:44434357:296:1:33",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735400,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270704077",
- "scheduled_departure_time": 1706735400,
- "trip_search_key": "STM:44434357:296:1:34",
- "wheelchair_accessible": 1
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "164",
- "route_color": "009ee0",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "164",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Dudemaine",
- "route_short_name": "164",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "164",
- "tts_long_name": "Dudemaine",
- "tts_short_name": "164"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "56",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:906",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:104628",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Nord",
- "direction_id": 0,
- "headsign": "Nord",
- "merged_headsign": "Nord",
- "schedule_items": [ ]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:104604",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53827",
- "stop_code": "53827",
- "stop_lat": 45.55619574481179,
- "stop_lon": -73.66700690039492,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Sud",
- "direction_id": 1,
- "headsign": "Sud",
- "merged_headsign": "Sud",
- "schedule_items": [
- {
- "departure_time": 1706734860,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171725",
- "scheduled_departure_time": 1706734860,
- "trip_search_key": "STM:44434357:122:1:32",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706735460,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171697",
- "scheduled_departure_time": 1706735460,
- "trip_search_key": "STM:44434357:122:1:33",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706737020,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171728",
- "scheduled_departure_time": 1706737020,
- "trip_search_key": "STM:44434357:122:1:34",
- "wheelchair_accessible": 0
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "56",
- "route_color": "009ee0",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "56",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Saint-Hubert",
- "route_short_name": "56",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "56",
- "tts_long_name": "Saint-Hubert",
- "tts_short_name": "56"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "49",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:900",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:91156",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "60367",
- "stop_code": "60367",
- "stop_lat": 45.55584500988095,
- "stop_lon": -73.66721374407209,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [
- {
- "departure_time": 1706734020,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "274252176",
- "scheduled_departure_time": 1706734020,
- "trip_search_key": "STM:44434357:103:1:41",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706734500,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "274252897",
- "scheduled_departure_time": 1706734500,
- "trip_search_key": "STM:44434357:103:1:42",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706734920,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "274251862",
- "scheduled_departure_time": 1706734920,
- "trip_search_key": "STM:44434357:103:1:43",
- "wheelchair_accessible": 1
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:91155",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [ ]
}
], - "mode_name": "Bus",
- "real_time_route_id": "49",
- "route_color": "781b7d",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "49",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Maurice-Duplessis",
- "route_short_name": "49",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "49",
- "tts_long_name": "Maurice-Duplessis",
- "tts_short_name": "49"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "469",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:1082",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:99806",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53757",
- "stop_code": "53757",
- "stop_lat": 45.55646554091244,
- "stop_lon": -73.66690797515801,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [
- {
- "departure_time": 1706734200,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271169443",
- "scheduled_departure_time": 1706734200,
- "trip_search_key": "STM:44434357:540:1:22",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706734860,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "274099736",
- "scheduled_departure_time": 1706734860,
- "trip_search_key": "STM:44434357:540:1:23",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735580,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171150",
- "scheduled_departure_time": 1706735580,
- "trip_search_key": "STM:44434357:540:1:24",
- "wheelchair_accessible": 1
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:99767",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [ ]
}
], - "mode_name": "Bus",
- "real_time_route_id": "469",
- "route_color": "009ee0",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "469",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Express Henri-Bourassa",
- "route_short_name": "469",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "469",
- "tts_long_name": "Express Henri-Bourassa",
- "tts_short_name": "469"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "48",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:899",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:90473",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50313",
- "stop_code": "50313",
- "stop_lat": 45.55603386715141,
- "stop_lon": -73.66711481883517,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [
- {
- "departure_time": 1706734260,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171388",
- "scheduled_departure_time": 1706734260,
- "trip_search_key": "STM:44434357:100:1:30",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706734620,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271169753",
- "scheduled_departure_time": 1706734620,
- "trip_search_key": "STM:44434357:100:1:31",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735040,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "271171088",
- "scheduled_departure_time": 1706735040,
- "trip_search_key": "STM:44434357:98:1:19",
- "wheelchair_accessible": 0
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:90472",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "54127",
- "stop_code": "54127",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66728568969893,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [ ]
}
], - "mode_name": "Bus",
- "real_time_route_id": "48",
- "route_color": "781b7d",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "48",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Perras",
- "route_short_name": "48",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "48",
- "tts_long_name": "Perras",
- "tts_short_name": "48"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "69",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:915",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:98967",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50307",
- "stop_code": "50307",
- "stop_lat": 45.5561148059816,
- "stop_lon": -73.66748354017273,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Est",
- "merged_headsign": "Est",
- "schedule_items": [
- {
- "departure_time": 1706733879,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172518",
- "scheduled_departure_time": 1706734020,
- "trip_search_key": "STM:44434357:147:1:50",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706734504,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172434",
- "scheduled_departure_time": 1706734740,
- "trip_search_key": "STM:44434357:147:1:51",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735116,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172379",
- "scheduled_departure_time": 1706735400,
- "trip_search_key": "STM:44434357:147:1:52",
- "wheelchair_accessible": 1
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:99053",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50306",
- "stop_code": "50306",
- "stop_lat": 45.55555722737359,
- "stop_lon": -73.66822098284783,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Ouest",
- "merged_headsign": "Ouest",
- "schedule_items": [
- {
- "departure_time": 1706734068,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172405",
- "scheduled_departure_time": 1706733900,
- "trip_search_key": "STM:44434357:146:1:49",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706734255,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172335",
- "scheduled_departure_time": 1706734440,
- "trip_search_key": "STM:44434357:146:1:50",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706735014,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "271172454",
- "scheduled_departure_time": 1706735040,
- "trip_search_key": "STM:44434357:146:1:51",
- "wheelchair_accessible": 1
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "69",
- "route_color": "781b7d",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "69",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Gouin",
- "route_short_name": "69",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "69",
- "tts_long_name": "Gouin",
- "tts_short_name": "69"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "25",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "MRCLM:2219",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "MRCLM:18221",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "84657",
- "stop_code": "84657",
- "stop_lat": 45.55546729534004,
- "stop_lon": -73.667870247917,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 0
}, - "direction_headsign": "Terminus Terrebonne",
- "direction_id": 1,
- "headsign": "Terminus Terrebonne",
- "merged_headsign": "Terminus Terrebonne",
- "schedule_items": [
- {
- "departure_time": 1706734980,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "3258106-TM-H24-TM_GTFS-Semaine-01",
- "scheduled_departure_time": 1706734980,
- "trip_search_key": "MRCLM:44089199:86:41:11",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706736720,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "3258082-TM-H24-TM_GTFS-Semaine-01",
- "scheduled_departure_time": 1706736720,
- "trip_search_key": "MRCLM:44089199:86:41:12",
- "wheelchair_accessible": 0
}, - {
- "departure_time": 1706738520,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "3258234-TM-H24-TM_GTFS-Semaine-01",
- "scheduled_departure_time": 1706738520,
- "trip_search_key": "MRCLM:44089199:86:41:13",
- "wheelchair_accessible": 0
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "25",
- "route_color": "0669b2",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "25",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Terrebonne - Montréal",
- "route_short_name": "25",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "25",
- "tts_long_name": "Terrebonne - Montréal",
- "tts_short_name": "25"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "31",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STM:885",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:93904",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50305",
- "stop_code": "50305",
- "stop_lat": 45.55509857400249,
- "stop_lon": -73.66755548579957,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Nord",
- "direction_id": 0,
- "headsign": "Nord",
- "merged_headsign": "Nord",
- "schedule_items": [
- {
- "departure_time": 1706734888,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "270711186",
- "scheduled_departure_time": 1706735100,
- "trip_search_key": "STM:44434357:59:1:25",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706736780,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270709108",
- "scheduled_departure_time": 1706736780,
- "trip_search_key": "STM:44434357:59:1:26",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706738280,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270710705",
- "scheduled_departure_time": 1706738280,
- "trip_search_key": "STM:44434357:59:1:27",
- "wheelchair_accessible": 1
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STM:93852",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50314",
- "stop_code": "50314",
- "stop_lat": 45.55695117389361,
- "stop_lon": -73.66803212557738,
- "stop_name": "Millen / Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Sud",
- "direction_id": 1,
- "headsign": "Sud",
- "merged_headsign": "Sud",
- "schedule_items": [
- {
- "departure_time": 1706734200,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "270710703",
- "scheduled_departure_time": 1706734200,
- "trip_search_key": "STM:44434357:58:1:24",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706736180,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270711187",
- "scheduled_departure_time": 1706736180,
- "trip_search_key": "STM:44434357:58:1:25",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1706738160,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "270709109",
- "scheduled_departure_time": 1706738160,
- "trip_search_key": "STM:44434357:58:1:26",
- "wheelchair_accessible": 1
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "31",
- "route_color": "009ee0",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "31",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Saint-Denis",
- "route_short_name": "31",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "31",
- "tts_long_name": "Saint-Denis",
- "tts_short_name": "31"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "31",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STL:13349",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:27420",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "40131",
- "stop_code": "40131",
- "stop_lat": 45.55702311952044,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 2
}, - "direction_headsign": "Sud",
- "direction_id": 0,
- "headsign": "Métro Henri-Bourassa",
- "merged_headsign": "Sud vers Métro Henri-Bourassa",
- "schedule_items": [ ]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:27292",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "46654",
- "stop_code": "46654",
- "stop_lat": 45.55700513311373,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Nord",
- "direction_id": 1,
- "headsign": "Auteuil",
- "merged_headsign": "Nord vers Auteuil",
- "schedule_items": [
- {
- "departure_time": 1706734680,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "31N1L30316510115",
- "scheduled_departure_time": 1706734680,
- "trip_search_key": "STL:44437779:21:0:12",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706736420,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "31N1L31017200125",
- "scheduled_departure_time": 1706736420,
- "trip_search_key": "STL:44437779:21:0:13",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706737500,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "31N1L24117380129",
- "scheduled_departure_time": 1706737500,
- "trip_search_key": "STL:44437779:21:0:14",
- "wheelchair_accessible": 2
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "JANV2431N",
- "route_color": "00327f",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "31",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Auteuil",
- "route_short_name": "31",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "31",
- "tts_long_name": "Auteuil",
- "tts_short_name": "31"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "52",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STL:13363",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:28930",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "46654",
- "stop_code": "46654",
- "stop_lat": 45.55700513311373,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Saint-François",
- "merged_headsign": "Est vers Saint-François",
- "schedule_items": [
- {
- "departure_time": 1706734380,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "52E2L17917060025",
- "scheduled_departure_time": 1706734380,
- "trip_search_key": "STL:44437779:56:0:10",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706738100,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "52E2L32118070031",
- "scheduled_departure_time": 1706738100,
- "trip_search_key": "STL:44437779:56:0:11",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706742000,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "52E2L34919060035",
- "scheduled_departure_time": 1706742000,
- "trip_search_key": "STL:44437779:56:0:12",
- "wheelchair_accessible": 2
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:29144",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "40131",
- "stop_code": "40131",
- "stop_lat": 45.55702311952044,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 2
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Métro Henri-Bourassa",
- "merged_headsign": "Ouest vers Métro Henri-Bourassa",
- "schedule_items": [ ]
}
], - "mode_name": "Bus",
- "real_time_route_id": "JANV2452E",
- "route_color": "00327f",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "52",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Saint-François",
- "route_short_name": "52",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "52",
- "tts_long_name": "Saint-François",
- "tts_short_name": "52"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "252",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STL:13343",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:26892",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "46654",
- "stop_code": "46654",
- "stop_lat": 45.55700513311373,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Est",
- "direction_id": 0,
- "headsign": "Saint-François",
- "merged_headsign": "Est vers Saint-François",
- "schedule_items": [
- {
- "departure_time": 1706735640,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "252E1L16717080027",
- "scheduled_departure_time": 1706735640,
- "trip_search_key": "STL:44437779:98:0:2",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706736840,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "252E1L21717280029",
- "scheduled_departure_time": 1706736840,
- "trip_search_key": "STL:44437779:98:0:3",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706739840,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "252E1L20018110033",
- "scheduled_departure_time": 1706739840,
- "trip_search_key": "STL:44437779:98:0:4",
- "wheelchair_accessible": 2
}
]
}, - {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:27005",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "40131",
- "stop_code": "40131",
- "stop_lat": 45.55702311952044,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 2
}, - "direction_headsign": "Ouest",
- "direction_id": 1,
- "headsign": "Métro Henri-Bourassa",
- "merged_headsign": "Ouest vers Métro Henri-Bourassa",
- "schedule_items": [ ]
}
], - "mode_name": "Bus",
- "real_time_route_id": "JANV24252E",
- "route_color": "00327f",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "252",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Saint-François",
- "route_short_name": "252",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "252",
- "tts_long_name": "Saint-François",
- "tts_short_name": "252"
}, - {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "55",
- null
], - "route_name_redundancy": false
}, - "fares": [
- {
- "fare_media_type": 1,
- "price_min": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}, - "price_max": {
- "currency_code": "CAD",
- "symbol": "$",
- "text": "3,75$",
- "value": 3.75
}
}
], - "global_route_id": "STL:13364",
- "itineraries": [
- {
- "branch_code": "",
- "closest_stop": {
- "global_stop_id": "STL:29145",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "46654",
- "stop_code": "46654",
- "stop_lat": 45.55700513311373,
- "stop_lon": -73.66754649259622,
- "stop_name": "Terminus Henri-Bourassa",
- "wheelchair_boarding": 1
}, - "direction_headsign": "Nord",
- "direction_id": 1,
- "headsign": "Laval-Ouest",
- "merged_headsign": "Nord vers Laval-Ouest",
- "schedule_items": [
- {
- "departure_time": 1706736180,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "55N2L30817430023",
- "scheduled_departure_time": 1706736180,
- "trip_search_key": "STL:44437779:58:0:11",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706738340,
- "is_cancelled": false,
- "is_real_time": true,
- "rt_trip_id": "55N2L18818120025",
- "scheduled_departure_time": 1706738340,
- "trip_search_key": "STL:44437779:58:0:12",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1706740380,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "55N2L33718390027",
- "scheduled_departure_time": 1706740380,
- "trip_search_key": "STL:44437779:58:0:13",
- "wheelchair_accessible": 2
}
]
}
], - "mode_name": "Bus",
- "real_time_route_id": "JANV2455N",
- "route_color": "00327f",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "55",
- null
], - "route_name_redundancy": false
}, - "route_long_name": "Laval-Ouest",
- "route_short_name": "55",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "55",
- "tts_long_name": "Laval-Ouest",
- "tts_short_name": "55"
}
]
}
Returns stops around a location
lat required | number <double> Example: lat=45.526168 Latitude |
lon required | number <double> Example: lon=-73.595061 Longitude |
max_distance | integer <= 1500 Default: 150 Example: max_distance=1500 Maximum radius of search from the request location (in meters) |
stop_filter | string Default: "Routable" Enum: "Routable" "EntrancesAndStopsOutsideStations" "Entrances" "Any" Example: stop_filter=Routable Determines which location types from the GTFS are included in the response.
|
pickup_dropoff_filter | string Enum: "PickupAllowedOnly" "DropoffAllowedOnly" "Everything" For routable stops, futher filter based on whether a rider can embark or disembark at this stop.
For further reference, see the GTFS pickup_type and drop_off_type fields.' |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
]
}
Get upcoming departures for all routes serving a stop, with optional real time information.
global_stop_id required | string Example: global_stop_id=1:82774 A global stop ID, representing a routable stop. Usually this value will be reused from a previous call (ex : nearby_stops) |
time | number <int> Default: "The current time when the request was issued" UNIX timestamp representing the time for which departures should be determined |
remove_cancelled | boolean Default: false Remove cancelled schedule items from the results |
should_update_realtime | boolean Default: true Boolean telling the system if it should update real time or just return schedule information. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "route_departures": [
- {
- "global_route_id": "1:897",
- "itineraries": [
- {
- "direction_id": 0,
- "headsign": "string",
- "direction_headsign": "string",
- "merged_headsign": "string",
- "schedule_items": [
- {
- "departure_time": 1614372300,
- "is_cancelled": true,
- "is_real_time": true,
- "rt_trip_id": "229201965",
- "scheduled_departure_time": 1614372300,
- "wheelchair_accessible": 1,
- "trip_search_key": "BCTWK:38359648:33:28:1",
- "plan_details": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897",
- "arrival_schedule_item": { },
- "continues_to": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897"
}
}
}
], - "branch_code": "string",
- "closest_stop": {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}, - "plan_details": {
- "start_stop_offset": 0,
- "end_stop_offset": 0,
- "plan_shape": "string",
- "internal_itinerary_id": "string"
}, - "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
]
}
], - "route_long_name": "Casgrain",
- "route_short_name": "46",
- "route_timezone": "America/Toronto",
- "route_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "compact_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "fares": [
- {
- "fare_media_type": 0,
- "price_min": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}, - "price_max": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}
}
], - "route_type": 0,
- "route_color": "string",
- "route_text_color": "string",
- "route_network_name": "string",
- "route_network_id": "string",
- "tts_long_name": "string",
- "tts_short_name": "string",
- "sorting_key": "string",
- "mode_name": "string",
- "real_time_route_id": "string",
- "vehicle": {
- "name": "string",
- "name_inflection": "string",
- "image": "string"
}
}
]
}
Except as noted, the API is compatible with the OpenTripPlanner API. For additional information, you may refer to http://dev.opentripplanner.org/apidoc/2.0.0/resource_PlannerResource.html.
arriveBy | boolean Default: false Selects 'leave after' or 'arrive by' planning.
| |||||||||||||||||||||||||||||||||||||||
date | string <%Y-%m-%d> Default: "Current time when request was issued." Example: date=2021-01-29 Date of departure or arrival. Must be in UTC. | |||||||||||||||||||||||||||||||||||||||
time | string <%H:%M> Default: "Current time when request was issued." Example: time=20:45 Time of departure or arrival. Must be in UTC. | |||||||||||||||||||||||||||||||||||||||
mode | string Default: "TRANSIT,WALK" Example: mode=TRANSIT,BICYCLE_RENT The following combinations of mode are currently supported.
| |||||||||||||||||||||||||||||||||||||||
fromPlace required | string Example: fromPlace=45.51487167249841, -73.56092863046088 Originating location for the trip.
| |||||||||||||||||||||||||||||||||||||||
numItineraries | integer <int32> [ 1 .. 3 ] Default: 3 The maximum number of possible itineraries to return. | |||||||||||||||||||||||||||||||||||||||
toPlace required | string Example: toPlace=45.526168077787894,-73.59506067289408 Destination location for the trip.
| |||||||||||||||||||||||||||||||||||||||
locale | string Default: "en" Language to be used for names in response | |||||||||||||||||||||||||||||||||||||||
walkReluctance | number Default: 2 Walking is minimized if walkReluctance ≥ 20.0. | |||||||||||||||||||||||||||||||||||||||
wheelchair | boolean Default: false Whether the trip must be wheelchair accessible. | |||||||||||||||||||||||||||||||||||||||
ignoreRealTimeUpdates | boolean Default: false If false, times within trip plans reflect real-time information if available. | |||||||||||||||||||||||||||||||||||||||
allowedNetworks | string Example: allowedNetworks=MBTA|Boston,RIPTA|Providence If set, only the specified networks will be used to plan trips. A list of available networks can be obtained from This parameter will accept a comma-separated list containing network IDs, network locations or a combination of both.
Provides similar functionality to the OTP parameter |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "plan": {
- "date": 0,
- "from": {
- "lat": 0.1,
- "lon": 0.1,
- "name": "string",
- "vertexType": "TRANSIT"
}, - "itineraries": [
- {
- "accessibility": "None",
- "duration": 0,
- "endTime": 0,
- "legs": [
- {
- "agencyId": "1:STM",
- "agencyName": "Société de transport de Montréal",
- "agencyTimeZoneOffset": -18000000,
- "agencyUrl": "string",
- "distance": 0,
- "duration": 0,
- "endTime": 0,
- "from": {
- "lat": 0.1,
- "lon": 0.1,
- "name": "string",
- "stopCode": "string",
- "stopId": "36:L16",
- "globalStopId": "1:94380",
- "stopIndex": 0,
- "vertexType": "TRANSIT"
}, - "headsign": "East",
- "intermediateStops": [
- {
- "lat": 0.1,
- "lon": 0.1,
- "name": "string",
- "stopCode": "string",
- "stopId": "36:L16",
- "globalStopId": "1:94380",
- "stopIndex": 0,
- "vertexType": "TRANSIT"
}
], - "legGeometry": {
- "length": 0,
- "points": "string"
}, - "mode": "TRANSIT",
- "route": "string",
- "routeColor": "string",
- "routeId": "36:L",
- "globalRouteId": "1:897",
- "routeLongName": "Casgrain",
- "routeShortName": "46",
- "routeTextColor": "string",
- "routeType": 0,
- "startTime": 0,
- "to": {
- "lat": 0.1,
- "lon": 0.1,
- "name": "string",
- "stopCode": "string",
- "stopId": "36:L16",
- "globalStopId": "1:94380",
- "stopIndex": 0,
- "vertexType": "TRANSIT"
}, - "transitLeg": true,
- "tripBlockId": "string",
- "tripId": "string",
- "tripShortName": "106",
- "tripSearchKey": "BCTWK:38359648:33:28:1",
- "interlineWithPreviousLeg": true,
- "realTime": true,
- "departureDelay": 0,
- "arrivalDelay": 0
}
], - "startTime": 0,
- "transfers": 0,
- "transitTime": 0,
- "walkTime": 0,
- "wheelchairNeed": "string"
}
], - "to": {
- "lat": 0.1,
- "lon": 0.1,
- "name": "string",
- "vertexType": "TRANSIT"
}
}, - "transfers": {
- "bufferTime": 0,
- "defaultMinimumTime": 0,
- "minimumTimes": [
- {
- "fromFeedId": 0,
- "fromStopId": 0,
- "minTime": 0,
- "toFeedId": 0,
- "toStopId": 0
}
]
}
}
This endpoint returns an estimated duration for a trip plan based on the provided origin and destination. This endpoint is made available as a preview, and is subject to change.
The query params used in this endpoint are the same as /public/plan, except for the more limited mode selection, real time not available and multiple results aren't provided.
from_lat | number Latitude of the starting location for the trip |
from_lon | number Longitude of the starting location for the trip |
to_lat | number Latitude of the destination location for the trip |
to_lon | number Longitude of the destination location for the trip |
mode | string Default: "transit" Enum: "transit" "microtransit" The primary mode of transportation for the trip |
secondary_mode | string Value: "microtransit" The secondary mode of transportation for the trip, if applicable |
leave_time | number UNIX timestamp representing the desired departure time for the trip |
arrival_time | number UNIX timestamp representing the desired arrival time for the trip |
accessibility_need | string Default: "none" Enum: "none" "strict" "prioritize_step_free" This parameter specifies accessibility requirements for the trip. The following values are available:
|
walk_reluctance | number A factor that determines how much walking costly compared to riding in a transit vehicle in the trip plan. Values lower than 1.0 will be ignored. Transit uses the value of 1.1 by default and 2.1 when in the "Minimize Walking" mode. |
max_distance_between_location_and_stop | number The maximum distance allowed between the starting or destination locations and a transit stop. This value can be adjusted to optimize performance by limiting the search radius. This value can only be customized if |
{- "duration": 0,
- "type": "string"
}
This endpoint returns a plan from the origin to the destination in different modes, including multimodal trips.
This endpoint will eventually replace the /otp/plan. The OTP endpoint is deprecated as the OpenTripPlanner endpoint it's based on is also deprecated.
from_lat required | number <double> Latitude of the starting location for the trip |
from_lon required | number <double> Longitude of the starting location for the trip |
to_lat required | number <double> Latitude of the destination location for the trip |
to_lon required | number <double> Longitude of the destination location for the trip |
mode | string Default: "transit" Enum: "transit" "microtransit" "personal_bike" "walk" The primary mode of transportation for the trip |
secondary_mode | string Enum: "microtransit" "personal_bike" "walk" This specifies the secondary mode of transportation for the trip, if applicable. This value allows for creating multimodal trips mixing transit and another mode. If a value other than walk is specified here, primary_mode must be set to transit. When this value is set, the planner attempts to replace the first and last legs of the trip with the specified mode if advantageous to do so. If it is not advantageous, a walk leg might be used instead. Note that the results generated are optimal given the specified modes, but they might not represent the absolute optimal trip overall. Depending on the context, it may be advantageous to compare the result of the multimodal plan against a direct plan (using only the primary mode) to ensure true optimality (i.e., a transit + microtransit result should likely be disregarded if the transit-only plan is faster). |
leave_time | number UNIX timestamp representing the desired departure time for the trip. If both |
arrival_time | number UNIX timestamp representing the desired arrival time for the trip. If both |
accessibility_need | string Default: "none" Enum: "none" "strict" "prioritize_step_free" This parameter specifies accessibility requirements for the trip. The following values are available:
|
walk_reluctance | number This factor determines how costly walking is compared to riding in a transit vehicle within the trip plan. Values lower than 1.0 will be ignored. Transit, the app, uses a default value of 1.1, and 2.1 when the "Minimize Walking" mode is active. |
max_distance_between_location_and_stop | number This is the maximum distance allowed between the starting or destination locations and a transit stop. This value can be adjusted to optimize performance by limiting the search radius. By default, the value depends on the selected mode; for example, it is 1500 m for a standard |
should_update_realtime | boolean Default: false If true, the server will update the trip times in the response using real-time data, enhancing the schedule items with real time information. This happens after the initial route planning, which is still based on static schedule data. |
consider_downtimes | boolean Default: false If true, the planning will avoid any known downtimes identified in the service alerts. For example, if a subway is currently not working and has a severe service alert, the planner will offer results that work around that disruption. This parameter is ignored if the |
{- "results": [
- {
- "accessibility": "WheelchairStrict",
- "duration": 1517,
- "end_time": 1746043067,
- "legs": [
- {
- "distance": 281.6752572370887,
- "duration": 330,
- "end_time": 1746041880,
- "leg_mode": "walk",
- "polyline": "og}tGzch`MeCfH??CFAD??aAlC??ZZTFFB@EZjA",
- "start_time": 1746041550
}, - {
- "departures": [
- {
- "departure_time": 1746041880,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746042720,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "284450730",
- "scheduled_departure_time": 1746042720,
- "trip_search_key": "STM:48373262:2:1:129",
- "wheelchair_accessible": 1
}, - "global_route_id": "STM:863",
- "internal_itinerary_id": "2:65535:false"
}, - "rt_trip_id": "284450730",
- "scheduled_departure_time": 1746041880,
- "trip_search_key": "STM:48373262:2:1:129",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1746042120,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746042960,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "284450769",
- "scheduled_departure_time": 1746042960,
- "trip_search_key": "STM:48373262:2:1:130",
- "wheelchair_accessible": 1
}, - "global_route_id": "STM:863",
- "internal_itinerary_id": "2:65535:false"
}, - "rt_trip_id": "284450769",
- "scheduled_departure_time": 1746042120,
- "trip_search_key": "STM:48373262:2:1:130",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1746042300,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746043140,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "284450823",
- "scheduled_departure_time": 1746043140,
- "trip_search_key": "STM:48373262:2:1:131",
- "wheelchair_accessible": 1
}, - "global_route_id": "STM:863",
- "internal_itinerary_id": "2:65535:false"
}, - "rt_trip_id": "284450823",
- "scheduled_departure_time": 1746042300,
- "trip_search_key": "STM:48373262:2:1:131",
- "wheelchair_accessible": 1
}
], - "leg_mode": "transit",
- "routes": [
- {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- "stm-metro-2",
- "",
- null
], - "route_name_redundancy": false
}, - "fares": [ ],
- "global_route_id": "STM:863",
- "itineraries": [
- {
- "branch_code": "",
- "canonical_itinerary": true,
- "direction_headsign": "Côte-Vertu",
- "direction_id": 0,
- "headsign": "Côte-Vertu",
- "is_active": true,
- "merged_headsign": "Côte-Vertu",
- "plan_details": {
- "end_stop_offset": 17,
- "internal_itinerary_id": "2:65535:false",
- "plan_shape": "ek}tGluh`MJ_Apn@ocBfA}DtAeG^oCn@sDb@eBdP{d@j@kA|BaEvtAgzDp@}A^g@\\Mb@Gb@Fh@Tv{@pq@lVzW^b@",
- "start_stop_offset": 7
}, - "shape": "sbauGz{}`MsDyJ_AcDQoAmGglAaAegCFsAp@sG\\gAtBeEdP{X`F{Rt@wMJaGZ{F|@_F~@sDdMa[Tu@foAwxGxDiZpn@ocBfA}DtAeG^oCn@sDb@eBdP{d@j@kA|BaEvtAgzDp@}A^g@\\Mb@Gb@Fh@Tv{@pq@lVzWne@jl@|CvC~Az@pIhElCbAbAT~@PfBBpGKbBJnCf@`Bt@fAbA~@lA`ArCh@rAbBfDlDvFpA`BfLtIfAfAjBjCfAlBf@rArClKH`AFjACbDUlFQ|Ag@jBcDpHk@fB[`CM|BCtCLbBZdBx@|B~@jBjJpLzDlHhA~C~CnMPlB?TQxAo|@~lCYf@m@Ru@?m\\qIgAEc@Ha@X_@t@k^|fAsFvNc@`DPpBp@|C|@|BdHzNj@jCPjDI~Ho@bFgDbK{`@ju@}CpDwl@h`Amb@n}@",
- "stops": [
- {
- "global_stop_id": "STM:87803",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87758",
- "route_type": 1,
- "rt_stop_id": "68",
- "stop_code": "10288",
- "stop_lat": 45.55843505244717,
- "stop_lon": -73.72245899228142,
- "stop_name": "Montmorency",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87802",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87757",
- "route_type": 1,
- "rt_stop_id": "67",
- "stop_code": "10286",
- "stop_lat": 45.56070133969261,
- "stop_lon": -73.7093918678067,
- "stop_name": "De la Concorde",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87801",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87756",
- "route_type": 1,
- "rt_stop_id": "66",
- "stop_code": "10282",
- "stop_lat": 45.55999986983092,
- "stop_lon": -73.682313332505,
- "stop_name": "Cartier",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87800",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87755",
- "route_type": 1,
- "rt_stop_id": "1",
- "stop_code": "10280",
- "stop_lat": 45.55527843806959,
- "stop_lon": -73.66817601683105,
- "stop_name": "Henri-Bourassa",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87799",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87754",
- "route_type": 1,
- "rt_stop_id": "2",
- "stop_code": "10278",
- "stop_lat": 45.55075485678206,
- "stop_lon": -73.6560172058952,
- "stop_name": "Sauvé",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87798",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87753",
- "route_type": 1,
- "rt_stop_id": "3",
- "stop_code": "10276",
- "stop_lat": 45.5460783910375,
- "stop_lon": -73.6390560243678,
- "stop_name": "Crémazie",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87797",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87752",
- "route_type": 1,
- "rt_stop_id": "4",
- "stop_code": "10274",
- "stop_lat": 45.54319157276056,
- "stop_lon": -73.62876779972976,
- "stop_name": "Jarry",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87796",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87751",
- "route_type": 1,
- "rt_stop_id": "9999052",
- "stop_code": "10272",
- "stop_lat": 45.5390546992173,
- "stop_lon": -73.61390203458406,
- "stop_name": "Jean-Talon",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87795",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87750",
- "route_type": 1,
- "rt_stop_id": "6",
- "stop_code": "10270",
- "stop_lat": 45.53535849263842,
- "stop_lon": -73.60468400114526,
- "stop_name": "Beaubien",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87794",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87749",
- "route_type": 1,
- "rt_stop_id": "7",
- "stop_code": "10268",
- "stop_lat": 45.53173423168639,
- "stop_lon": -73.59777722096868,
- "stop_name": "Rosemont",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87793",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87748",
- "route_type": 1,
- "rt_stop_id": "8",
- "stop_code": "10266",
- "stop_lat": 45.52739950766931,
- "stop_lon": -73.58690443811257,
- "stop_name": "Laurier",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87792",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87747",
- "route_type": 1,
- "rt_stop_id": "9",
- "stop_code": "10264",
- "stop_lat": 45.52493536995006,
- "stop_lon": -73.58195817626735,
- "stop_name": "Mont-Royal",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87791",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87746",
- "route_type": 1,
- "rt_stop_id": "10",
- "stop_code": "10262",
- "stop_lat": 45.51906280815929,
- "stop_lon": -73.56921480711343,
- "stop_name": "Sherbrooke",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87790",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:104510",
- "route_type": 1,
- "rt_stop_id": "9999112",
- "stop_code": "10146",
- "stop_lat": 45.51521371712338,
- "stop_lon": -73.56104897846714,
- "stop_name": "Berri-UQAM",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87789",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:116119",
- "route_type": 1,
- "rt_stop_id": "12",
- "stop_code": "10258",
- "stop_lat": 45.51004262519429,
- "stop_lon": -73.55659734280646,
- "stop_name": "Champ-de-Mars",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87788",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:116133",
- "route_type": 1,
- "rt_stop_id": "13",
- "stop_code": "10256",
- "stop_lat": 45.50634641861542,
- "stop_lon": -73.55954711350688,
- "stop_name": "Place-d'Armes",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87787",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:116132",
- "route_type": 1,
- "rt_stop_id": "14",
- "stop_code": "10254",
- "stop_lat": 45.5019397489715,
- "stop_lon": -73.56311741523878,
- "stop_name": "Square-Victoria–OACI",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87786",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87742",
- "route_type": 1,
- "rt_stop_id": "15",
- "stop_code": "10252",
- "stop_lat": 45.49808166473224,
- "stop_lon": -73.56723630237533,
- "stop_name": "Bonaventure",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87785",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87741",
- "route_type": 1,
- "rt_stop_id": "16",
- "stop_code": "10250",
- "stop_lat": 45.49474518628756,
- "stop_lon": -73.57107640020789,
- "stop_name": "Lucien-l'Allier",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87784",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87740",
- "route_type": 1,
- "rt_stop_id": "17",
- "stop_code": "10248",
- "stop_lat": 45.48889960410686,
- "stop_lon": -73.57685003676175,
- "stop_name": "Georges-Vanier",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87783",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87710",
- "route_type": 1,
- "rt_stop_id": "36",
- "stop_code": "10132",
- "stop_lat": 45.48250543652151,
- "stop_lon": -73.58017752200308,
- "stop_name": "Lionel-Groulx",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87782",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:116131",
- "route_type": 1,
- "rt_stop_id": "46",
- "stop_code": "10244",
- "stop_lat": 45.47731635818571,
- "stop_lon": -73.58662564880856,
- "stop_name": "Place-Saint-Henri",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87781",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87738",
- "route_type": 1,
- "rt_stop_id": "47",
- "stop_code": "10242",
- "stop_lat": 45.47409679138465,
- "stop_lon": -73.60370374197957,
- "stop_name": "Vendôme",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87780",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87737",
- "route_type": 1,
- "rt_stop_id": "48",
- "stop_code": "10238",
- "stop_lat": 45.47970855027812,
- "stop_lon": -73.61981956239161,
- "stop_name": "Villa-Maria",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87779",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87736",
- "route_type": 1,
- "rt_stop_id": "9999492",
- "stop_code": "10236",
- "stop_lat": 45.48543722081521,
- "stop_lon": -73.62773358134395,
- "stop_name": "Snowdon",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87778",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:116130",
- "route_type": 1,
- "rt_stop_id": "50",
- "stop_code": "10234",
- "stop_lat": 45.49235299419515,
- "stop_lon": -73.63310252374684,
- "stop_name": "Côte-Sainte-Catherine",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87777",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87734",
- "route_type": 1,
- "rt_stop_id": "51",
- "stop_code": "10232",
- "stop_lat": 45.49464626105066,
- "stop_lon": -73.63825562926921,
- "stop_name": "Plamondon",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87776",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87733",
- "route_type": 1,
- "rt_stop_id": "52",
- "stop_code": "10230",
- "stop_lat": 45.49464626105066,
- "stop_lon": -73.6528246187042,
- "stop_name": "Namur",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87775",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87732",
- "route_type": 1,
- "rt_stop_id": "53",
- "stop_code": "10228",
- "stop_lat": 45.50005117626697,
- "stop_lon": -73.66153903275512,
- "stop_name": "De la Savane",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "STM:87774",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87731",
- "route_type": 1,
- "rt_stop_id": "54",
- "stop_code": "10224",
- "stop_lat": 45.50926021650242,
- "stop_lon": -73.67479501450029,
- "stop_name": "Du Collège",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "STM:87773",
- "location_type": 0,
- "parent_station_global_stop_id": "STM:87730",
- "route_type": 1,
- "rt_stop_id": "65",
- "stop_code": "10222",
- "stop_lat": 45.51423345795769,
- "stop_lon": -73.6827539994694,
- "stop_name": "Côte-Vertu",
- "wheelchair_boarding": 1
}
]
}
], - "mode_name": "Métro",
- "real_time_route_id": "2",
- "route_color": "f37d00",
- "route_display_short_name": {
- "boxed_text": "",
- "elements": [
- "stm-metro",
- "",
- "stm-metro-2"
], - "route_name_redundancy": false
}, - "route_image": "stm-metro-2",
- "route_long_name": "Ligne 2 - Orange",
- "route_network_id": "STM|Montréal",
- "route_network_name": "STM",
- "route_short_name": "2",
- "route_text_color": "ffffff",
- "route_type": 1,
- "sorting_key": "2",
- "tts_long_name": "Côte-Vertu - Montmorency",
- "tts_short_name": "ligne 2, orange",
- "vehicle": {
- "image": "vehicle-rail-mpm10",
- "name": "métro",
- "name_inflection": "m"
}
}
]
}, - {
- "distance": 293.6093402468491,
- "duration": 347,
- "end_time": 1746043067,
- "leg_mode": "walk",
- "polyline": "ejutGpr_`MFcA@BBEHU??BGDK??b@cA??DODO??H[??B???JWDOBG???A??dByE??@A??FOJ[??CG_@_@??ECCC??CC",
- "start_time": 1746042720
}
], - "start_time": 1746041550
}, - {
- "accessibility": "None",
- "duration": 3402,
- "end_time": 1746045228,
- "legs": [
- {
- "distance": 849.7729938846024,
- "duration": 714,
- "end_time": 1746042540,
- "leg_mode": "walk",
- "polyline": "og}tGzch`MRi@@A??n@j@??DBBB??n@p@??BC??FHHF??@B??r@l@??@BB@??|@z@??B???B@JHJLBB???B??~@t@??BDBB??\\n@D^??@@??FRFT???@??H@f@r@??@???FF??FO??HFdA~@FFHFnAjAFF??FDpAlAJFHJZXv@r@JJ??LJr@p@r@n@JJ??`@iA??HHp@j@??p@n@??EJ??JHHJ???B??CH",
- "start_time": 1746041826
}, - {
- "departures": [
- {
- "departure_time": 1746042540,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746044220,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "285002179",
- "scheduled_departure_time": 1746044220,
- "trip_search_key": "SANDBOX:48261170:3:14:40",
- "wheelchair_accessible": 2
}, - "global_route_id": "SANDBOX:242447",
- "internal_itinerary_id": "3:65535:false"
}, - "rt_trip_id": "285002179",
- "scheduled_departure_time": 1746042540,
- "trip_search_key": "SANDBOX:48261170:3:14:40",
- "wheelchair_accessible": 2
}, - {
- "departure_time": 1746043500,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746045240,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "284738744",
- "scheduled_departure_time": 1746045240,
- "trip_search_key": "SANDBOX:48261170:3:14:41",
- "wheelchair_accessible": 1
}, - "global_route_id": "SANDBOX:242447",
- "internal_itinerary_id": "3:65535:false"
}, - "rt_trip_id": "284738744",
- "scheduled_departure_time": 1746043500,
- "trip_search_key": "SANDBOX:48261170:3:14:41",
- "wheelchair_accessible": 1
}, - {
- "departure_time": 1746044400,
- "is_cancelled": false,
- "is_real_time": false,
- "plan_details": {
- "arrival_schedule_item": {
- "departure_time": 1746046140,
- "is_cancelled": false,
- "is_real_time": false,
- "rt_trip_id": "284740835",
- "scheduled_departure_time": 1746046140,
- "trip_search_key": "SANDBOX:48261170:3:14:42",
- "wheelchair_accessible": 1
}, - "global_route_id": "SANDBOX:242447",
- "internal_itinerary_id": "3:65535:false"
}, - "rt_trip_id": "284740835",
- "scheduled_departure_time": 1746044400,
- "trip_search_key": "SANDBOX:48261170:3:14:42",
- "wheelchair_accessible": 1
}
], - "leg_mode": "transit",
- "routes": [
- {
- "compact_display_short_name": {
- "boxed_text": "",
- "elements": [
- null,
- "TDSN",
- null
], - "route_name_redundancy": false
}, - "fares": [ ],
- "global_route_id": "SANDBOX:242447",
- "itineraries": [
- {
- "branch_code": "",
- "canonical_itinerary": true,
- "direction_headsign": "Sud",
- "direction_id": 1,
- "headsign": "Sud",
- "is_active": true,
- "merged_headsign": "Sud",
- "plan_details": {
- "end_stop_offset": 44,
- "internal_itinerary_id": "3:65535:false",
- "plan_shape": "yb|tGrci`M@CHc@jAqCfMo_@|AaEf@yAfC_FnJoOLKtLs\\nMk_@bFmMtDyKlGiQ`Lq\\tLy\\`DiJn@gBhAiDpG_Rj@cBb@kBhAwC|AkE^gAhBcFR_AjAgDxI{UDWx@eCnAaDHc@bAcCpAwD",
- "start_stop_offset": 22
}, - "shape": "wy`uGhhs`MqAdHjC|Cb@rApApAhCbBH?`DwPrCfApInDlIdEHErCsMbJid@nD{P|CuOrIed@tDiRvCcPVw@Po@vBuKPk@BIbAm@LOHEPMJUDc@Bo@Ci@q@eD?QF_@jBkJp@}DrDcRvDeRzBaM~E{VnD_RbAyE`AaDHk@hDgJjB|ALCzFiPHc@jAqCfMo_@|AaEf@yAfC_FnJoOLKtLs\\nMk_@bFmMtDyKlGiQ`Lq\\tLy\\`DiJn@gBhAiDpG_Rj@cBb@kBhAwC|AkE^gAhBcFR_AjAgDxI{UDWx@eCnAaDHc@bAcCnDkK|@kAZ{@JK?MBGd@}BFWwFiEKFm@lB",
- "stops": [
- {
- "global_stop_id": "SANDBOX:7483",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50314",
- "stop_code": "50314",
- "stop_lat": 45.55695117389361,
- "stop_lon": -73.66803212557738,
- "stop_name": "Millen / Henri-Bourassa",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7484",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50301",
- "stop_code": "50301",
- "stop_lat": 45.55390247795629,
- "stop_lon": -73.66914728279339,
- "stop_name": "Station Henri-Bourassa",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7485",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50299",
- "stop_code": "50299",
- "stop_lat": 45.55222974213227,
- "stop_lon": -73.67001063031546,
- "stop_name": "Henri-Bourassa / Laverdure",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7486",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50298",
- "stop_code": "50298",
- "stop_lat": 45.5500893597338,
- "stop_lon": -73.6704243176698,
- "stop_name": "Saint-Laurent / Henri-Bourassa",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7487",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50310",
- "stop_code": "50310",
- "stop_lat": 45.54939688307547,
- "stop_lon": -73.66812205761093,
- "stop_name": "Saint-Laurent / Prieur",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7488",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50338",
- "stop_code": "50338",
- "stop_lat": 45.54847957633326,
- "stop_lon": -73.66508235487696,
- "stop_name": "Saint-Laurent / Fleury",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7489",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50356",
- "stop_code": "50356",
- "stop_lat": 45.54776012006486,
- "stop_lon": -73.66271714239461,
- "stop_name": "Saint-Laurent / Sauriol",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7490",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50392",
- "stop_code": "50392",
- "stop_lat": 45.54695073176293,
- "stop_lon": -73.66009112701498,
- "stop_name": "Saint-Laurent / Sauvé",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7491",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50423",
- "stop_code": "50423",
- "stop_lat": 45.5461773162744,
- "stop_lon": -73.65742913882193,
- "stop_name": "Saint-Laurent / de Port-Royal",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7492",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50455",
- "stop_code": "50455",
- "stop_lat": 45.54546685320936,
- "stop_lon": -73.65498298750938,
- "stop_name": "Saint-Laurent / de Louvain",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7493",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50519",
- "stop_code": "50519",
- "stop_lat": 45.54443263482354,
- "stop_lon": -73.65137671296405,
- "stop_name": "Saint-Laurent / Chabanel",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7494",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50564",
- "stop_code": "50564",
- "stop_lat": 45.54349734167463,
- "stop_lon": -73.64812117334957,
- "stop_name": "Saint-Laurent / Legendre",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7495",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50620",
- "stop_code": "50620",
- "stop_lat": 45.5426070145425,
- "stop_lon": -73.64502751139547,
- "stop_name": "Saint-Laurent / de Beauharnois",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7496",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50670",
- "stop_code": "50670",
- "stop_lat": 45.54111414278557,
- "stop_lon": -73.6418079445944,
- "stop_name": "Saint-Laurent / Crémazie",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7497",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50786",
- "stop_code": "50786",
- "stop_lat": 45.54066448261783,
- "stop_lon": -73.63772503027127,
- "stop_name": "Saint-Laurent / de Liège",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7498",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50869",
- "stop_code": "50869",
- "stop_lat": 45.53977415548569,
- "stop_lon": -73.6346673411306,
- "stop_name": "Saint-Laurent / Guizot",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7499",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "50936",
- "stop_code": "50936",
- "stop_lat": 45.53889282155691,
- "stop_lon": -73.63164562480334,
- "stop_name": "Saint-Laurent / Jarry",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7500",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51007",
- "stop_code": "51007",
- "stop_lat": 45.53800249442477,
- "stop_lon": -73.62857894245931,
- "stop_name": "Saint-Laurent / Gounod",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7501",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51068",
- "stop_code": "51068",
- "stop_lat": 45.53706720127586,
- "stop_lon": -73.6253683688616,
- "stop_name": "Saint-Laurent / Villeray",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7502",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51150",
- "stop_code": "51150",
- "stop_lat": 45.53625781297391,
- "stop_lon": -73.62260745543163,
- "stop_name": "Saint-Laurent / Gary-Carter",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7503",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51206",
- "stop_code": "51206",
- "stop_lat": 45.53518762177467,
- "stop_lon": -73.61963070512115,
- "stop_name": "Station de Castelnau",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7504",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51228",
- "stop_code": "51228",
- "stop_lat": 45.53371273642447,
- "stop_lon": -73.61821877219442,
- "stop_name": "Clark / Jean-Talon",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7505",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53983",
- "stop_code": "53983",
- "stop_lat": 45.53275046366549,
- "stop_lon": -73.61610536940603,
- "stop_name": "Clark / Mozart",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7506",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53984",
- "stop_code": "53984",
- "stop_lat": 45.53134752394212,
- "stop_lon": -73.61302070065528,
- "stop_name": "Clark / Saint-Zotique",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7507",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51411",
- "stop_code": "51411",
- "stop_lat": 45.5298366657785,
- "stop_lon": -73.60956731056699,
- "stop_name": "Clark / Beaubien",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7508",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53790",
- "stop_code": "53790",
- "stop_lat": 45.52915318232352,
- "stop_lon": -73.60818235725033,
- "stop_name": "Clark / Voie Ferrée",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7509",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51555",
- "stop_code": "51555",
- "stop_lat": 45.52621240482646,
- "stop_lon": -73.60354186431918,
- "stop_name": "Saint-Urbain / Bernard",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7510",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51624",
- "stop_code": "51624",
- "stop_lat": 45.52465658064605,
- "stop_lon": -73.60015142665438,
- "stop_name": "Saint-Urbain / Saint-Viateur",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7511",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51721",
- "stop_code": "51721",
- "stop_lat": 45.52267807590797,
- "stop_lon": -73.59578072982389,
- "stop_name": "Saint-Urbain / Fairmount",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7512",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51764",
- "stop_code": "51764",
- "stop_lat": 45.52188667401274,
- "stop_lon": -73.5940630279831,
- "stop_name": "Saint-Urbain / Laurier",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7513",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51797",
- "stop_code": "51797",
- "stop_lat": 45.52121218376111,
- "stop_lon": -73.59266908146307,
- "stop_name": "Saint-Urbain / Saint-Joseph",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7514",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51848",
- "stop_code": "51848",
- "stop_lat": 45.52031286342562,
- "stop_lon": -73.59069956992835,
- "stop_name": "Saint-Urbain / Villeneuve",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7515",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "51938",
- "stop_code": "51938",
- "stop_lat": 45.51893690331232,
- "stop_lon": -73.5876958400078,
- "stop_name": "Saint-Urbain / du Mont-Royal",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7516",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52012",
- "stop_code": "52012",
- "stop_lat": 45.51787570531644,
- "stop_lon": -73.5853036479154,
- "stop_name": "Saint-Urbain / Marie-Anne",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7517",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52076",
- "stop_code": "52076",
- "stop_lat": 45.51658967723669,
- "stop_lon": -73.58247978206194,
- "stop_name": "Saint-Urbain / Rachel",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7518",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52139",
- "stop_code": "52139",
- "stop_lat": 45.51578928213809,
- "stop_lon": -73.58061818896748,
- "stop_name": "Saint-Urbain / Duluth",
- "wheelchair_boarding": 2
}, - {
- "global_stop_id": "SANDBOX:7519",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52211",
- "stop_code": "52211",
- "stop_lat": 45.51481801617577,
- "stop_lon": -73.57848679977235,
- "stop_name": "Hôpital Hôtel-Dieu de Montréal (St-Urbain / St-Cut",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7520",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52282",
- "stop_code": "52282",
- "stop_lat": 45.51384675021343,
- "stop_lon": -73.57631044456046,
- "stop_name": "Saint-Urbain / des Pins",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7521",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52363",
- "stop_code": "52363",
- "stop_lat": 45.51268662698065,
- "stop_lon": -73.57381932723115,
- "stop_name": "Saint-Urbain / Prince-Arthur",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7522",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52486",
- "stop_code": "52486",
- "stop_lat": 45.51115778241031,
- "stop_lon": -73.57025801870259,
- "stop_name": "Saint-Urbain / Sherbrooke",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7523",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52581",
- "stop_code": "52581",
- "stop_lat": 45.50994369995739,
- "stop_lon": -73.56767696933973,
- "stop_name": "Station Pl.-des-Arts (St-Urbain / Président-K 👥",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7524",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52670",
- "stop_code": "52670",
- "stop_lat": 45.50873861070783,
- "stop_lon": -73.56499699473996,
- "stop_name": "Saint-Urbain / Sainte-Catherine 👥",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7525",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52746",
- "stop_code": "52746",
- "stop_lat": 45.50775835154214,
- "stop_lon": -73.56284761913814,
- "stop_name": "Saint-Urbain / René-Lévesque 👥",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7526",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52807",
- "stop_code": "52807",
- "stop_lat": 45.50692198363014,
- "stop_lon": -73.56099501924702,
- "stop_name": "Saint-Urbain / de la Gauchetière",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7527",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52851",
- "stop_code": "52851",
- "stop_lat": 45.50613957493826,
- "stop_lon": -73.55929530381293,
- "stop_name": "Station Place-d'Armes (Saint-Urbain / Viger)",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7528",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "53811",
- "stop_code": "53811",
- "stop_lat": 45.50530320702625,
- "stop_lon": -73.55627358748568,
- "stop_name": "Notre-Dame / Saint-Sulpice",
- "wheelchair_boarding": 1
}, - {
- "global_stop_id": "SANDBOX:7529",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 3,
- "rt_stop_id": "52947",
- "stop_code": "52947",
- "stop_lat": 45.50648131666574,
- "stop_lon": -73.55618365545213,
- "stop_name": "Saint-Laurent / Saint-Jacques",
- "wheelchair_boarding": 1
}
]
}
], - "mode_name": "Mode name",
- "real_time_route_id": "55",
- "route_color": "781b7d",
- "route_display_short_name": {
- "boxed_text": "Saint-Laurent",
- "elements": [
- "mla-g",
- "55",
- "mla-d"
], - "route_name_redundancy": false
}, - "route_image": "stm-metro",
- "route_long_name": "Station Pl.-des-Arts <> Bureau <> Station de Castelnau",
- "route_network_id": "Network name (tGTFS fields)|Montréal",
- "route_network_name": "Network name (tGTFS fields)",
- "route_short_name": "55",
- "route_text_color": "ffffff",
- "route_type": 3,
- "sorting_key": "55",
- "tts_long_name": "Station Pl.-des-Arts <> Bureau <> Station de Castelnau",
- "tts_short_name": "55",
- "vehicle": {
- "image": "cal-bus",
- "name": "bus",
- "name_inflection": "m"
}
}
]
}, - {
- "distance": 1202.10671170531,
- "duration": 1008,
- "end_time": 1746045228,
- "leg_mode": "walk",
- "polyline": "g|vtGt`~_M`@kA??DBt@o@??VS??DE??fCrB??LL??DB??LJ??VPpA~@??FDHJHFHF??|AnAZV??LHLJ??l@j@??FDHH??lB|A??FDFD??nAdA??BC??PEHEHC??????h@`@??DBFDHJ??RL??DBDD??@@??zFlE??BBFD??RT??BEt@oAZi@??B???JNT\\HJ??BF??DG??D@VT??DDDH??rBnB??NJNP??RP^`@??@A??JLJF??JMJW??`@X???@??HHHH??@???PP",
- "start_time": 1746044220
}
], - "start_time": 1746041826
}
]
}
List of networks available in the entire Transit system. For more information about networks, refer to the /public/stop_departures endpoint and the 'route_network_name'. Optionnaly, a lat/lon can be passed to filter networks to only the ones that support that coordinate.
lat | number Optional latitude, if provided in addition to |
lon | number Optional longitude, if provided in addition to |
include_all_networks | boolean Default: false Include additional supported networks that are filtered out by default. For example, these may include school busses and previews of upcoming agency network redesigns. |
include_network_geometry | boolean Default: "true" Include the network geometry in the response. True by default. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
Get detailed information like shape and itineraries for a route
global_route_id required | string Global route id provided by other endpoint on which more detail is requested. |
include_next_departure | boolean Default: false If set to true, will make the stop list include the next departure for each stop. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "itineraries": [
- {
- "direction_headsign": "string",
- "direction_id": 0,
- "headsign": "string",
- "merged_headsign": "string",
- "shape": "string",
- "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
], - "next_departure": {
- "departure_time": 1614372300,
- "is_cancelled": true,
- "is_real_time": true,
- "rt_trip_id": "229201965",
- "scheduled_departure_time": 1614372300,
- "wheelchair_accessible": 1,
- "trip_search_key": "BCTWK:38359648:33:28:1",
- "plan_details": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897",
- "arrival_schedule_item": { },
- "continues_to": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897"
}
}
}, - "canonical_itinerary": false,
- "is_active": true
}
], - "route": {
- "global_route_id": "1:897",
- "itineraries": [
- {
- "direction_id": 0,
- "headsign": "string",
- "direction_headsign": "string",
- "merged_headsign": "string",
- "schedule_items": [
- {
- "departure_time": 1614372300,
- "is_cancelled": true,
- "is_real_time": true,
- "rt_trip_id": "229201965",
- "scheduled_departure_time": 1614372300,
- "wheelchair_accessible": 1,
- "trip_search_key": "BCTWK:38359648:33:28:1",
- "plan_details": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897",
- "arrival_schedule_item": { },
- "continues_to": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897"
}
}
}
], - "branch_code": "string",
- "closest_stop": {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}, - "plan_details": {
- "start_stop_offset": 0,
- "end_stop_offset": 0,
- "plan_shape": "string",
- "internal_itinerary_id": "string"
}, - "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
]
}
], - "route_long_name": "Casgrain",
- "route_short_name": "46",
- "route_timezone": "America/Toronto",
- "route_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "compact_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "fares": [
- {
- "fare_media_type": 0,
- "price_min": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}, - "price_max": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}
}
], - "route_type": 0,
- "route_color": "string",
- "route_text_color": "string",
- "route_network_name": "string",
- "route_network_id": "string",
- "tts_long_name": "string",
- "tts_short_name": "string",
- "sorting_key": "string",
- "mode_name": "string",
- "real_time_route_id": "string",
- "vehicle": {
- "name": "string",
- "name_inflection": "string",
- "image": "string"
}
}
}
Return all the routes for a list of given networks.
network_ids | string Example: network_ids=BC Transit West Kootenay|West Kootenay List of comma seperated Network IDs provided from |
lat | number Any lat of a location that serves that network. If provided, the performance of this call will be improved. |
lon | number Any lon of a location that serves that network. If provided, the performance of this call will be improved. |
include_itineraries | boolean If set to true, the response will include itineraries detail for the listed routes. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "routes": [
- {
- "global_route_id": "1:897",
- "itineraries": [
- {
- "direction_id": 0,
- "headsign": "string",
- "direction_headsign": "string",
- "merged_headsign": "string",
- "schedule_items": [
- {
- "departure_time": 1614372300,
- "is_cancelled": true,
- "is_real_time": true,
- "rt_trip_id": "229201965",
- "scheduled_departure_time": 1614372300,
- "wheelchair_accessible": 1,
- "trip_search_key": "BCTWK:38359648:33:28:1",
- "plan_details": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897",
- "arrival_schedule_item": { },
- "continues_to": {
- "internal_itinerary_id": "string",
- "global_route_id": "1:897"
}
}
}
], - "branch_code": "string",
- "closest_stop": {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}, - "plan_details": {
- "start_stop_offset": 0,
- "end_stop_offset": 0,
- "plan_shape": "string",
- "internal_itinerary_id": "string"
}, - "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
]
}
], - "route_long_name": "Casgrain",
- "route_short_name": "46",
- "route_timezone": "America/Toronto",
- "route_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "compact_display_short_name": {
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": null,
- "boxed_text": "string"
}, - "fares": [
- {
- "fare_media_type": 0,
- "price_min": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}, - "price_max": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": 0
}
}
], - "route_type": 0,
- "route_color": "string",
- "route_text_color": "string",
- "route_network_name": "string",
- "route_network_id": "string",
- "tts_long_name": "string",
- "tts_short_name": "string",
- "sorting_key": "string",
- "mode_name": "string",
- "real_time_route_id": "string",
- "vehicle": {
- "name": "string",
- "name_inflection": "string",
- "image": "string"
}
}
]
}
Return all the stops for a given network.
network_id | string Example: network_id=BC Transit West Kootenay|West Kootenay Network ID or Network Location provided from |
lat | number Any lat of a location that serves that network. If provided, the performance of this call will be improved. |
lon | number Any lon of a location that serves that network. If provided, the performance of this call will be improved. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "stops": [
- {
- "distance": 45,
- "global_stop_id": "1:94380",
- "location_type": 0,
- "parent_station_global_stop_id": "string",
- "route_type": 0,
- "stop_lat": 45.526168077787894,
- "stop_lon": -73.59506067289408,
- "stop_name": "De Gaspé / Maguire",
- "stop_code": "51752",
- "rt_stop_id": "51752",
- "wheelchair_boarding": 1
}
]
}
Return the time of the most recent data update for a given network ID or network location
network_id | string Example: network_id=BC Transit West Kootenay|West Kootenay Network ID or Network Location provided from |
lat | number Any lat of a location that serves that network. If provided, the performance of this call will be improved. |
lon | number Any lon of a location that serves that network. If provided, the performance of this call will be improved. |
{- "time": 0
}
Given coordinates of an approximate area to search, find transit stops whose names or stop codes match the given search term, from feeds which serve the search area.
lat | number Latitude of the approximate area of the search. |
lon | number Longitude of the approximate area of the search. |
query | string Search term. Will be matched against the |
pickup_dropoff_filter | string Enum: "PickupAllowedOnly" "DropoffAllowedOnly" "Everything" For routable stops, futher filter based on whether a rider can embark or disembark at this stop.
For further reference, see the GTFS pickup_type and drop_off_type fields.' |
max_num_results | integer [ 1 .. 50 ] Maximum number of results to return. If there are few matches, less results than requested will be returned. |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "results": [
- {
- "global_stop_id": "1:94380",
- "location_type": "0",
- "match_strength": 1,
- "parent_station_global_stop_id": "1:94380",
- "route_type": "string",
- "stop_lat": 0.1,
- "stop_lon": 0,
- "stop_name": "string"
}
]
}
Provides scheduled times and stop information for an entire trip
trip_search_key required | string A trip identifier obtained from other endpoints like |
Accept-Language | string Example: fr,en Names and other strings can translated into any of the supported languages of a feed. If not provided, the default language of the feed is selected. |
{- "route": {
- "compact_display_short_name": {
- "boxed_text": "string",
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": "boolean"
}, - "fares": [
- {
- "fare_media_type": "number",
- "price_min": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": "string"
}, - "price_max": {
- "currency_code": "string",
- "symbol": "string",
- "text": "string",
- "value": "string"
}
}
], - "global_route_id": "string",
- "real_time_route_id": "string",
- "route_color": "string",
- "route_display_short_name": {
- "boxed_text": "string",
- "elements": [
- "string",
- "string",
- "string"
], - "route_name_redundancy": "boolean"
}, - "route_long_name": "string",
- "route_short_name": "string",
- "route_text_color": "string",
- "route_type": 0,
- "sorting_key": "string",
- "tts_long_name": "string",
- "tts_short_name": "string"
}, - "rt_trip_id": "string",
- "schedule_items": [
- {
- "departure_time": 0,
- "stop": {
- "global_stop_id": "string",
- "location_type": 0,
- "parent_station_global_stop_id": null,
- "route_type": 0,
- "rt_stop_id": "string",
- "stop_code": "string",
- "stop_lat": 0,
- "stop_lon": 0,
- "stop_name": "string",
- "wheelchair_boarding": 0
}
}
]
}