Get Stop Schedule
onebusaway_get_schedule_for_stopFull-day departure schedule for a stop. Lists every departure by route and direction for the specified date (defaults to today). Useful for planning or when real-time data isn't needed. For live predictions, use onebusaway_get_arrivals instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO 8601 date (e.g. "2026-05-23"). Defaults to today in the agency's timezone. | |
| stopId | Yes | Agency-prefixed stop ID (e.g. "1_75403"). Use onebusaway_find_stops or onebusaway_search_stops to discover IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date parameter used for the schedule request, if specified. | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when no routes were found — e.g. no service on weekends or holiday schedule in effect. | |
| routes | No | All routes with departures from this stop on this date. | |
| stopId | No | The queried stop ID. | |
| stopName | No | Stop name. | |
| routeCount | No | Number of routes with departures from this stop on this date. | |
| queriedStop | No | Stop ID queried. | |
| serviceDateMs | No | Service date as Unix milliseconds (start of service day). |