Apple Maps

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.

get/apple-maps/transit-departures

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/apple-maps/transit-departures
  • Auth: API key in header x-api-key

Query parameters

place_idstring required

Apple place ID of a transit stop or station (external I... form or numeric id)

langstring

Display language as a BCP 47 tag, e.g. en-US. Defaults to en-US.

countrystring

Two-letter ISO 3166-1 country code. Defaults to US.

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Changes

No recorded changes to this operation across all 2 revisions of this API.