Schedules endpoint return empty data set

49 views
Skip to first unread message

Jean-Baptiste

unread,
Jun 25, 2023, 8:37:02 AM6/25/23
to MBTA Developers
Hello there,
 
I am contacting you because it seems the /schedules endpoint it not working  even though a stop id is filled in the query

The data set returned is always empty
 
curl -X GET "https://api-v3.mbta.com/schedules?filter%5Bstop%5D=FR-0201" -H "accept: application/vnd.api+json" -H "x-api-key: MY_API_KEY"
 
Would you happen to know where the problem comes from?
 
Many thanks for your insights on this
 

Jeff @ Keolis

unread,
Jun 30, 2023, 8:58:08 AM6/30/23
to MBTA Developers
The stop_id you're querying is for the "unassigned track" child stop at Concord (FR-0201).

As of the May 22 Commuter Rail schedule change, Commuter Rail GTFS includes track assignments at most stations, meaning there are no trips scheduled to use the "unassigned track" stop.

You can adjust your query to view:
Reply all
Reply to author
Forward
0 new messages