Get the next N departures or arrivals of a stop sorted by time
Query parameters
stop id of the stop to retrieve departures/arrivals for
Anchor coordinate. Format: latitude,longitude pair. Used as fallback when "stopId" is missing or can't be found. If both are provided and "stopId" resolves, "stopId" is used. If "stopId" does not resolve, "center" is used instead. "radius" is required when querying by "center" (i.e. without a valid "stopId").
Optional. Defaults to the current time.
Optional. Default is false.
- arriveBy=true: the parameters date and time refer to the arrival time
- arriveBy=false: the parameters date and time refer to the departure time
This parameter will be ignored in case pageCursor is set.
Optional. Default is
- LATER for arriveBy=false
- EARLIER for arriveBy=true
The response will contain the next n arrivals / departures in case EARLIER is selected and the previous n arrivals / departures if LATER is selected.
Optional. Window in seconds around time. Limiting the response to those that are at most window seconds aways in time. If both n and window are set, it uses whichever returns more.
Optional. Default is all transit modes.
Only return arrivals/departures of the given modes.
Minimum number of events to return. If both n and window are provided, the API uses whichever returns more events.
Optional. Radius in meters.
Default is that only stop times of the parent of the stop itself and all stops with the same name (+ their child stops) are returned.
If set, all stops at parent stations and their child stops in the specified radius are returned.
Optional. Default is false.
If set to true, only stations that are phyiscally in the radius are considered. If set to false, additionally to the stations in the radius, equivalences with the same name and children are considered.
Experimental. Expect unannounced breaking changes (without version bumps).
Optional. Default is false. If set to true, the following stops are returned for departures and the previous stops are returned for arrivals.
Use the cursor to go to the next "page" of stop times. Copy the cursor from the last response and keep the original request as is. This will enable you to search for stop times in the next or previous time-window.
Optional. Include stoptimes where passengers can not alight/board according to schedule.
language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
Optional. Default is true. If set to false, alerts are omitted in the metadata of place for all stopTimes.
Response
A list of departures/arrivals