Developer Resources

getstop

Get information for a given stop.

URL

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

Remarks

Aside from using stop_ids, you can also drop the colon and number of a stop to get all the stops for that location (ex. IT:1 -> IT gives all the stops at IT).

Parameters

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

Response

code text message code
stop_point stop points that compose a parent stop
stop_id id of stop
stop_lat latitude of stop
stop_lon longitude of stop
stop_name name of stop

Sample