Developer Resources

getcalendardatesbydate

Get a list of calendar dates based on a specific date.

URL

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

Remarks

The results provide all the service_ids that run on this particular date. Each trip references a calendar_date through the service_id to indicate which dates the trip operates.

Parameters

key (required) your API key
date (required) date (YYYY-MM-DD)
changeset_id (optional) see interpretting responses for more information

Response

date a date this service operates
service_id id for this service type

Sample