Developer Resources

gettrip

Get information for a given trip.

URL

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

Remarks

Keep in mind that not all trips for the same route service the same stops or use the same shape.

Parameters

key (required) your API key
trip_id (required) semi-colon separated list of trips
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