Next departures
next_departuresPlan trips with accurate departure times by retrieving realtime or scheduled departures for any station or platform.
Instructions
List the next departures from a stop (station or platform), with realtime delays when available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Max results (default 10). | |
| line_id | No | Filter to a single line ('line:...' id). | |
| stop_id | Yes | Stop id from search_places: 'stop_area:...' (station) or 'stop_point:...' (platform). | |
| from_datetime | No | ISO 8601 datetime to start from (local to the region). Defaults to now. | |
| data_freshness | No | 'realtime' (default) includes delays and cancellations; 'base_schedule' is the theoretical timetable. |