Apple Maps

Get Apple Maps travel-time estimates between two points

Returns Apple Maps travel-time estimates between an origin and a destination: for each transport type Apple reports (driving always; walking when requested), the live best estimate, the historic and free-flow durations, and the route distance. Cheaper than the directions endpoint when only the time and distance are needed. Apple has no cycling ETA; use the directions endpoint for cycling.

get/apple-maps/eta

Request

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

Query parameters

origin_latitudenumber required

Origin latitude

origin_longitudenumber required

Origin longitude

destination_latitudenumber required

Destination latitude

destination_longitudenumber required

Destination longitude

mode'driving' | 'walking'

Travel mode. Defaults to driving.

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.