Airlines
Look up airlines by code, name or country.
IATA airline codes are not unique
A code can belong to more than one airline. Identify an airline by its id, or by its ICAO code.
Endpoints
GET /data/v1/airlines: list airlines.GET /data/v1/airlines/{airlineId}: one airline by id (arl_…), including a deactivated one.
Filters
| Parameter | Meaning |
|---|---|
iataCode | IATA code, 2 characters. Also finds an airline by one of its alternate or historical codes. |
icaoCode | ICAO code, 3 letters. Also finds an airline by one of its alternate or historical codes. |
iataCountryCode | ISO 3166-1 alpha-2 country code. |
name | The start of the name, ignoring case and accents. |
Codes are case-insensitive (?iataCode=kl works). Ids are not: they are lower case only.
Lists also take the pagination parameters.
Fields
| Field | Notes |
|---|---|
id | arl_… |
iataCode | May be null. |
icaoCode | May be null. |
name | |
iataCountryCode | May be null. |
conditionsOfCarriageUrl | May be null. |
logoSymbolUrl | null at launch: BeMyPlan provides no airline logos yet. |
logoLockupUrl | null at launch: BeMyPlan provides no airline logos yet. |
alternateIataCodes | Other IATA codes of the same airline, in use today. An empty list when there is none. |
alternateIcaoCodes | Other ICAO codes of the same airline, in use today. An empty list when there is none. |
historicalIataCodes | IATA codes the airline used in the past and no longer uses. An empty list when there is none. |
historicalIcaoCodes | ICAO codes the airline used in the past and no longer uses. An empty list when there is none. |
codeAliases | Every other code with its system (iata or icao), kind (current or historical) and validFrom / validTo dates (YYYY-MM-DD, or null when unknown). |
active | false for a deactivated record. |
One airline is one record. When two entries describe the same airline, the record keeps its main codes in iataCode and
icaoCode and lists the others in the two alternate fields; a code it no longer uses goes in the two historical fields.
The code filters match all of them and return the record under its current main codes.
Errors
- An id that does not exist:
404airline_not_found. - An id that is malformed:
400.
Fields and parameters in full: the API reference.