next_arrivals
Retrieve upcoming arrivals at any stop, sorted by predicted time. Filter by route or limit results for a real-time departure board.
Instructions
Get upcoming arrivals at a specific stop, across all routes, sorted by predicted arrival time. Equivalent to a digital departure board. Returns the 'minutes_from_now' field already computed for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum arrivals to return (default 20). | |
| stop_id | Yes | GTFS stop id, e.g. 's_1234'. | |
| route_id | No | Optional: only show arrivals on this route. |