API reference
19 endpoints. Every one has a Try it console, a parameters table and a real captured response — no invented payloads.
Getting started
Feed
Vehicles
Trip updates
Alerts
Routes
Stops
GET
/api/stops public Every stop id mentioned anywhere in the feed, named, with counts.
GET
/api/stops/:stopId/arrivals public Predicted calls at a stop, earliest first, across all trips.
GET
/api/stops/:stopId/alerts public snapshot caveats Alerts affecting a stop, with the same station/platform expansion.
Punctuality
GET
/api/punctuality public local instance only What the forecasts are built from, and — importantly — what they cannot do.
GET
/api/punctuality/trips/:tripId public local instance only A delay forecast for every remaining call of a trip that is in the feed.
GET
/api/punctuality/predict public local instance only snapshot caveats A forecast for a trip this snapshot does not carry — one being planned, say.
GET
/api/punctuality/baseline public local instance only snapshot caveats How punctual the network is right now, as a distribution and a histogram.