Nearest Relevant Airport

get

Nearest Relevant Airport

This service gives the most relevant airports in a radius of 500 km around the given coordinates. The relevance of an airport is computed by dividing the number of airport movements (take offs and landings) by the distance from the point. This causes the relevance of an airport to increase exponentially as you approach it.

To minimize response time, all distances are computed as a great-circle distance from the provided coordinates to the airport coordinates, and thus do not take into account traffic conditions, international boundaries, mountains, water, or other elements that might make the a nearby airport hard to reach.

Only civilian airports with at least several commercial flights per week are included in the results.

The result is a list of airports sorted by decreasing relevance. It always contains the nearest airport with significant commercial traffic. You can freely download the point of reference information used by this API from the Open Travel Data project.

Resource URL

https://api.sandbox.amadeus.com/v1.2 /airports/nearest-relevant

Query Parameters


Name Values Description
apikey
(required)

API Key provided for your account, to identify you for API access. Make sure to keep this API key secret.

latitude
(required)

Latitude location to be at the center of your search circle.

longitude
(required)

Longitude location to be at the center of your search circle.


Request Body

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

 

The response format

The response is returned as a JSON array of airport objects which always has each of the following pieces of data:

Element Meaning
airport The 3 letter IATA airport code of this given airport. You can use this as an input parameter for a low-fare flight search, to get more specific results than the city code, but inspiration search works best using the city code.
airport_name The name of this airport, in UTF-8 format.
city The three letter IATA city code of the city in which this airport is located. If you intend to make a flight search from the output of this call, I recommend using this as your input parameter as it generally gives the best results.
city_name The English name of the city in which this airport is located.
distance The great-circle distance, in km, from the given location to this airport.
location An object containing the longitude and latitude of the given airport.
aircraft_movements The annual number of aircraft movements at that airport.
timezone The Olson format name of the time zone in which this airport is located.

 

 

 

 

Example

Request:

http://api.sandbox.amadeus.com/v1.2/airports/nearest-relevant?latitude=54.9501&longitude=-7.7373&apikey=<your API key>

In the response below, we can see that Dublin airport is returned first, whereas the nearest airports, LDY and CFN are returned towards the end of the list because they have a relatively low selection of flights.

 

Response

		[
    {
        "airport": "DUB", 
        "airport_name": "Dublin Airport", 
        "city": "DUB", 
        "city_name": "Dublin", 
        "distance": 194.95416242124801, 
        "location": {
            "latitude": 53.42133, 
            "longitude": -6.27008
        }, 
        "aircraft_movements": 41570, 
        "timezone": "Europe/Dublin"
    }, 
    {
        "airport": "BFS", 
        "airport_name": "Belfast International Airport", 
        "city": "BFS", 
        "city_name": "Belfast", 
        "distance": 102.79368882433666, 
        "location": {
            "latitude": 54.6575, 
            "longitude": -6.21583
        }, 
        "aircraft_movements": 16823, 
        "timezone": "Europe/London"
    }, 
    {
        "airport": "BHD", 
        "airport_name": "George Best Belfast City Airport", 
        "city": "BFS", 
        "city_name": "Belfast", 
        "distance": 125.13983281048155, 
        "location": {
            "latitude": 54.61806, 
            "longitude": -5.8725
        }, 
        "aircraft_movements": 13666, 
        "timezone": "Europe/London"
    }, 
    {
        "airport": "CFN", 
        "airport_name": "Donegal Airport", 
        "city": "CFN", 
        "city_name": "Donegal", 
        "distance": 39.583468540872616, 
        "location": {
            "latitude": 55.05, 
            "longitude": -8.333
        }, 
        "aircraft_movements": 789, 
        "timezone": "Europe/Dublin"
    }, 
    {
        "airport": "LDY", 
        "airport_name": "City of Derry Airport", 
        "city": "LDY", 
        "city_name": "Derry", 
        "distance": 38.169375583429, 
        "location": {
            "latitude": 55.04278, 
            "longitude": -7.16111
        }, 
        "aircraft_movements": 644, 
        "timezone": "Europe/London"
    }
]