e5d7af502419
Airports and cities near a point
The airports (and optionally cities) closest to a place or a coordinate pair, nearest first – for finding an alternative departure airport serving the same trip. Pass either place (a code, resolved to coordinates here) or latitude+longitude, never neither.
Query parameters
Place code to search around (e.g. LON, LHR). Resolved to coordinates before the upstream call.
Latitude of the point to search around, decimal degrees (-90 to 90). Give latitude and longitude together; use either this pair or place, never both.
Longitude of the point to search around, decimal degrees (-180 to 180). Give latitude and longitude together; use either this pair or place, never both.
Place types to resolve; repeat or comma-separate to mix.
Language tag for localized place names (e.g. en, ar). Defaults to en.
Max results (1-50). Defaults to 50, the maximum, because this read wants the complete set of nearby places, not a page of it. The upstream returns roughly ten rows and ignores paging, so pageSize can only narrow that set, never reach further.
Response
Nearby places, nearest first, plus the origin they were measured from.