These resources can be used to find airports that are contained in a bounding box, such as a map viewport or within a radius of a point.
The latitude and longitude values are entered as real values in WGS 84. For example, New York, NY latitude = 40.726 and longitude = -73.997.
/mapping/box
Returns the airports within a bounding box
When entering the web address, please replace "XXXXXXXXXXXX" with your API key.
https://api.airportdata.com/mapping/box?apikey=XXXXXXXXXXXX&ll_latitude=24.28745&ll_longitude=54.394255&ur_latitude=24.52365&ur_longitude=54.689006
https://api.airportdata.com/mapping/box?apikey=XXXXXXXXXXXX&ll_latitude=24.28745&ll_longitude=54.394255&ur_latitude=24.52365&ur_longitude=54.689006&format=xml
Method
GET – retrieves a list of airports inside a bounding box specified by the lower left and upper right corners. This is useful for retrieving airports to display on a map.
Query Parameters
| Parameter |
Value |
Description |
| ll_latitude |
real (mandatory) |
Latitude of the lower left corner of the bounding box |
| ll_longitude |
real (mandatory) |
Longitude of the lower left corner of the bounding box |
| ur_latitude |
real (mandatory) |
Latitude of the upper right corner of the bounding box |
| ur_longitude |
real (mandatory) |
Longitude of the upper right corner of the bounding box |
Response
JSON
| { |
|
|
| |
"airports": [ |
|
| |
{ |
|
| |
|
"airport_id": 3415, |
| |
|
"icao": "OMAA", |
| |
|
"iata": "AUH", |
| |
|
"faa": null, |
| |
|
"airport_name": "Abu Dhabi International" |
| |
|
"city": "Abu Dhabi" |
| |
|
"airport_of_entry": "Yes" |
| |
|
"last_edited": "24/2/2014" |
| |
|
"latitude": "24.33333" |
| |
|
"longitude": "54.651667" |
| |
}, |
|
| |
{ |
|
| |
|
"airport_id": 3416, |
| |
|
"icao": "OMAD", |
| |
|
"iata": "AZI", |
| |
|
"faa": null, |
| |
|
"airport_name": "Al Bateen Executive International" |
| |
|
"city": "Abu Dhabi" |
| |
|
"airport_of_entry": "Yes" |
| |
|
"last_edited": "24/2/2014" |
| |
|
"latitude": "24.42833" |
| |
|
"longitude": "54.458333" |
| |
} |
|
| |
] |
|
| } |
|
|
XML
| <airports> |
|
|
| |
<airport> |
|
| |
|
<airport_id>3415</airport_id> |
| |
|
<icao>OMAA</icao> |
| |
|
<iata>AUH</iata> |
| |
|
<faa/> |
| |
|
<airport_name>Abu Dhabi International</airport_name> |
| |
|
<city>Abu Dhabi</city> |
| |
|
<airport_of_entry>Yes</airport_of_entry> |
| |
|
<last_edited>24/2/2014</last_edited> |
| |
|
<latitude>24.33333</latitude> |
| |
|
<longitude>54.651667</longitude> |
| |
</airport> |
|
| |
<airport> |
|
| |
|
<airport_id>3416</airport_id> |
| |
|
<icao>OMAD</icao> |
| |
|
<iata>AZI</iata> |
| |
|
<faa/> |
| |
|
<airport_name>Al Bateen Executive International</airport_name> |
| |
|
<city>Abu Dhabi</city> |
| |
|
<airport_of_entry>Yes</airport_of_entry> |
| |
|
<last_edited>24/2/2014</last_edited> |
| |
|
<latitude>24.42833</latitude> |
| |
|
<longitude>54.458333</longitude> |
| |
</airport> |
|
| </airports> |
|
|
/mapping/radius
Returns the airports within a radius of a point
When entering the web address, please replace "XXXXXXXXXXXX" with your API key.
https://api.airportdata.com/mapping/radius?apikey=XXXXXXXXXXXX&latitude=24.38754&longitude=54.521667&radius=150000
https://api.airportdata.com/mapping/radius?apikey=XXXXXXXXXXXX&latitude=24.38754&longitude=54.521667&radius=150000&format=xml
Method
GET – retrieves a list of airports within a radius of a point. This is useful for finding alternate airports.
Query Parameters
| Parameter |
Value |
Description |
| Latitude |
real (mandatory) |
Latitude of the centre of the circle |
| Longitude |
real (mandatory) |
Longitude of the centre of the circle |
| Radius |
integer (mandatory) |
Radius in metres |
Response
JSON
| { |
|
|
| |
"airports": [ |
|
| |
{ |
|
| |
|
"airport_id": 3415, |
| |
|
"icao": "OMAA", |
| |
|
"iata": "AUH", |
| |
|
"faa": null, |
| |
|
"airport_name": "Abu Dhabi International", |
| |
|
"city": "Abu Dhabi", |
| |
|
"airport_of_entry": "Yes", |
| |
|
"last_edited": "24/2/2014", |
| |
|
"latitude": "24.33333", |
| |
|
"longitude": "54.651667" |
| |
}, |
|
| |
{ |
|
| |
|
"airport_id": 3416, |
| |
|
"icao": "OMAD", |
| |
|
"iata": "AZI", |
| |
|
"faa": "", |
| |
|
"airport_name": "Al Bateen Executive International", |
| |
|
"city": "Abu Dhabi", |
| |
|
"airport_of_entry": "Yes", |
| |
|
"last_edited": "24/2/2014", |
| |
|
"latitude": "24.42833", |
| |
|
"longitude": "54.458333" |
| |
} |
|
| |
] |
|
| } |
|
|
XML
| <airports> |
|
|
| |
<airport> |
|
| |
|
<airport_id>3415</airport_id> |
| |
|
<icao>OMAA</icao> |
| |
|
<iata>AUH</iata> |
| |
|
<faa/> |
| |
|
<airport_name>Abu Dhabi International</airport_name> |
| |
|
<city>Abu Dhabi</city> |
| |
|
<airport_of_entry>Yes</airport_of_entry> |
| |
|
<last_edited>24/2/2014</last_edited> |
| |
|
<latitude>24.33333</latitude> |
| |
|
<longitude>54.651667</longitude> |
| |
</airport> |
|
| |
<airport> |
|
| |
|
<airport_id>3416</airport_id> |
| |
|
<icao>OMAD</icao> |
| |
|
<iata>AZI</iata> |
| |
|
<faa></faa> |
| |
|
<airport_name>Al Bateen Executive International</airport_name> |
| |
|
<city>Abu Dhabi</city> |
| |
|
<airport_of_entry>Yes</airport_of_entry> |
| |
|
<last_edited>24/2/2014</last_edited> |
| |
|
<latitude>24.42833</latitude> |
| |
|
<longitude>54.458333</longitude> |
| |
</airport> |
|
| </airports> |
|
|