Hi David, thanks for reaching out. Apologies for the delayed response — this autumn we changed our internal process for responding to inquiries like this (including onboarding a new team member), and we're now getting up to speed. I hope our answer is still helpful!
When it comes to associating specific dates with trip_ids
, it's important to note that trips can occur on multiple days. Therefore, directly linking a single date to a trip_id
might not be super straightforward.
We might suggest associating each trip_id
with the corresponding service_id
found in the calendar.txt
file of the GTFS-static data. This link will allow you to understand on which days a specific trip is scheduled to run.
If your goal is to find out whether a trip runs on a particular date, you might find it more useful to filter the /schedules
endpoint in the v3 API
. By filtering by date, route, and other relevant parameters, you can determine if a specific trip is scheduled for that date.
I hope this helps clarify things. If you need more guidance, please let us know!
All the best,
Developer@MBTA