Developer Resources

getstoptimesbystop

Get a list of schedule information for a given stop.

URL

https://developer.mtd.org/api/{version}/{format}/getstoptimesbystop

Remarks

This method lets you get a schedule catered to a specific stop. You can also filter it by route(s) or date to fit your needs.

Please note that we use a 30 hour clock. Any times past 24:00:00 are technically part of the next day, but we still consider them part of the same service day.

Parameters

key (required) your API key
stop_id (required) id of stop
route_id (optional) semi-colon separated list of route ids
date (optional) scheduled date
changeset_id (optional) see interpretting responses for more information

Response

arrival_times scheduled time of arrival (HH:mm:ss)
departure_time scheduled time of departure (HH:mm:ss)
stop_id id of stop
stop_sequence sequence of stop
trip_id id of trip

Sample