Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to find departure & arrival times for future trips

13 views
Skip to first unread message

Tatian Greenleaf

unread,
Jan 3, 2025, 11:55:21 AMJan 3
to 511SFBayDeveloperResources
I've been testing out the stop timetables, patterns, stop monitoring, and trip updates API calls and I can't seem to find a response that includes the next departure time for a specific station as well as arrival times at all other stations on that route for a future date and time. Is there such a thing?

For example, I was hoping to be able to add monitoringref and starttime parameters to these urls but they seem to be ignored:

https://api.511.org/transit/tripupdates?api_key=[API key]&agency=SA&format=json&monitoringref=71051&starttime=202501040700

https://api.511.org/transit/StopMonitoring?agency=SA&api_key=[API key]&format=json&monitoringref=71051&starttime=202501040700

Thanks,
Tatian

Tatian Greenleaf

unread,
Jan 3, 2025, 12:18:34 PMJan 3
to 511SFBayDeveloperResources
I guess what I really need to use is the timetable call. I'll give that a try...

https://api.511.org/transit/timetable?api_key=<API_key>&operator_id=SA&line_id=SMART&format=json

Reply all
Reply to author
Forward
0 new messages