Terminus schedules
terminus_schedulesGet station-style departure boards for a specific line at a stop, with times grouped by each final destination. Requires a stop and line ID from search.
Instructions
Departure board for one line at a stop, grouped by final destination (terminus) — what you would see on a station display. Both a stop and a line are required: resolve the line id with search_pt_objects first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | Yes | Line id ('line:...') from search_pt_objects, e.g. search 'metro 14' -> its line id. Required. | |
| 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). |