airports
Get the canonical code of an airport
Returns a list of ICAO airport codes corresponding to the given IATA or LID airport code. IATA codes can be identical to some LID codes, so if id_type is specified, only 1 ICAO code will be returned. If no id_type is specified and there are two possible ICAO codes, both will be returned.
get/airports/{id}/canonical
Request
- Base URLhttps://aeroapi.flightaware.com/aeroapi
- AuthAPI key in header x-apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
ICAO, IATA or LID ID of destination airport to fetch. ICAO is highly preferred to prevent ambiguity.
Query parameters
id_type'iata' | 'lid' | 'icao'
Type of airport code provided in the id parameter
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.