Developer Resources

getroutesbystop

Get a list of routes that service a given stop.

URL

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

Remarks

This method provides a stop-centric view of the routes. The results contain metadata about the routes including name, number, and hex colors.

Parameters

key (required) your API key
stop_id (required) id of the stop
changeset_id (optional) see interpretting responses for more information

Response

route_color hex color of route
route_id id of route
route_long_name long name
route_short_name short name
route_text_color hex color of route text

Sample