Stop schedules
stop_schedulesGet next departure times at any transit stop, grouped by line and direction, with optional realtime delays and line filters for accurate trip planning.
Instructions
Timetable at a stop, grouped by line and route: for each line/direction serving the stop, the next departure times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | No | Filter to a single line ('line:...' id). | |
| stop_id | Yes | Stop id from search_places: 'stop_area:...' or 'stop_point:...'. | |
| from_datetime | No | ISO 8601 datetime to start from (local to the region). Defaults to now. | |
| data_freshness | No | 'realtime' includes delays; 'base_schedule' (default for schedules) is the planned timetable. | |
| items_per_schedule | No | Max upcoming times per line/direction (default 5 here to keep output small). |