Airport API

Search airports by free text / TIER 2

At the moment airports having both ICAO and IATA code and flight schedules are present available only.

Returns: List of airports with names and city names (and IATA/ICAO code, if enabled) matching the search term.

get/airports/search/term

Request

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

Query parameters

qstring required

Search query (min. 3 non whitespace characters length)

limitinteger

Maximum number of airports to be returned (max. 250, defaut = 10)

withFlightInfoOnlyboolean

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

withSearchByCodeboolean

If set to true, will attempt to interpret short words within the search query as IATA or ICAO code and prioritize exact matches by these codes (they will appear higher than others). Otherwise, the search by code will be completely excluded (only the name of an airport or its city will be searched). Default = true.

Response

OK

searchBystring required

Search parameter used to find the result. Please note, it may be different from the actual input provided!

countinteger required

The number of items in the collection

Changes

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