Note: All requests require an API key key
as a query parameter
Provides upcoming transit arrivals time for the given stop
GET /predictions/:stopId
{
"predictions": [
{
"vehicleId": "6540",
"routeId": "64",
"routeTitle": "Lawrenceville Via Sq Hill-Shadyside-Bloomfield-Inbound",
"arrivalTime": 1588455780
}
]
}
stopId
string the unique id of the stop
vehicleId
string the unique id of the bus or train
route
string the route identifier
routeTitle
string the route title
arrivalTime
int the unix timestamp of the predicted arrival time