Airport API

Search airports by IP address geolocation / TIER 2

What are the airports closest to the customer, based on their IP address? What are the airports closest to the location determined (geo-located) by a IP address?

This endpoint determines the location by the IP address provided and then returns the list of the nearest airports in the same way as Search airports by location endpoint does.

Please note:

  • IP geo-location is not a precise method and it determines an approximate location only.
  • At the moment airports having both ICAO and IATA code and flight schedules are present available only.

Returns: A list of airports found within the specified radius around the location approximated (geo-located) from the specified IP address.

get/airports/search/ip

Request

  • Base URL: https://api.aerodatabox.com
  • URL: https://api.aerodatabox.com/airports/search/ip
  • Auth: API key in header X-Api-Key

Query parameters

qstring required

A valid public IP v4 address

radiusKminteger required

Radius of search around specified location in kilometers (max. 1000 km)

limitinteger required

Maximum number of airports to be returned (max. 250)

withFlightInfoOnlyboolean

If set to true, will only return airports which have flight data (scheduled or live) available. Default = false.

Response

OK

countinteger required

The number of items in the collection

Changes

No recorded changes to this operation across all 1 revision of this API.