Route schedules
route_schedulesGet a full timetable grid for a line or route, showing every stop with upcoming vehicle times. Use when you need schedules for all stops along the way.
Instructions
Full timetable grid for a line or route: every stop along the way with the times of upcoming vehicles. Heavier output — prefer stop_schedules when you only care about one stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A 'line:...' or 'route:...' id (find lines via search_places or stop_schedules). | |
| 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). |