v2

latestSwagger 2.0raw.githubusercontent.com2021-10-2111123.6 KB
location

Returns a list of relevant airports near to a given point.

get/reference-data/locations/airports

Query parameters

latitudenumber double required

latitude location to be at the center of the search circle

longitudenumber double required

longitude location to be at the center of the search circle

radiusinteger

radius of the search in Kilometer. Can be from 0 to 500, default value is 500 Km.

page[limit]integer

maximum items in one page

page[offset]integer

start index of the requested page

sort'relevance' | 'distance' | 'analytics.flights.score' | 'analytics.travelers.score'

defines on which attribute the sorting will be done from the best option to the worst one:

  • relevance - Score value calculated based on distance and traffic analytics
  • distance - Distance from the location to the geo-code given in API request parameters
  • analytics.flights.score - Approximate score for ranking purposes calculated based on estimated number of flights from/to airport in one reference year (last year)
  • analytics.travelers.score - Approximate score for ranking purposes calculated based on estimated number of travelers in the airport for one reference year (last year)

Response

Successful Operation

All 1 operations