apple_maps_transit_departures
Fetch live transit departures and lines for an Apple Maps stop by place ID, returning systems, headsigns, scheduled/live times, and real-time status.
Instructions
Get a transit stop's lines and live departures from Apple Maps. Returns a transit stop or station's systems (e.g. BART, Muni Metro), lines (name, shield, color), and the upcoming departures Apple Maps shows, each with the line, headsign, direction, scheduled and live times, and real-time status. Takes the stop's Apple place ID (find stops with the search endpoint, e.g. a station name). A place that is not a transit stop returns 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Display language as a BCP 47 tag, e.g. en-US. Defaults to en-US. | |
| country | No | Two-letter ISO 3166-1 country code. Defaults to US. | |
| place_id | Yes | Apple place ID of a transit stop or station (external I... form or numeric id) |