skypeek: great-circle distance between airports or points
airport_distanceskypeek: the great-circle distance between two airports (by code) or coordinates, in km, nautical miles and statute miles, with the initial and final true bearings and the midpoint. Input: from and to: each an airport code (2-8 characters) or {lat, lon}. Informational only: not for flight planning or navigation. A spherical (haversine) distance, within about 0.5 % of the WGS-84 geodesic. Airports: OurAirports (public domain); the data may contain errors and no endorsement is implied. An unknown code is a 422 unknown_airport (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day (every skypeek route shares one pool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Airport code (ICAO, IATA or ident) or {lat, lon}. | |
| from | Yes | Airport code (ICAO, IATA or ident) or {lat, lon}. |