Developer Resources

GetTripsByRoute

Get a list of trips by route.

URL

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

Remarks

Keep in mind that not all trips for the same route service the same stops or use the same shape. This list represents all the trips for the given route on all service types, though not all service types operate on the same day.

Parameters

key (required) your API key
route_id (required) id of route
changeset_id (optional) see interpretting responses for more information

Response

route_id id of route
service_id id of service
shape_id id of shape
trip_headsign information usually shown on headsign
trip_id id of trip

Sample