This is the documentation to access the Airline API. Very simply, it returns information about a particular Airline.
The API Platform is only available via a REST API, in which you have to let your application grab a URL with parameters and it returns all output in either JSON format. This makes it easy to grab the data using any Programming Language of your choice.
The root URL for the API is:
GET https://aviation.flights/api/airline
For the longest time it didn't need to be done but as of February 4, 2025 there is now a temporary rate limit of one request per 5 seconds.
The following header is required on all requests:
x-api-key: The API key provided to you
The following parameters are all required:
The following output values are returned after successful query:
The following are all error codes that can be returned with this function:
{
"status": "success",
"results": [
{
"airline": [
{
"airline_id": "14",
"name": "Air Canada",
"callsign": "AIR CANADA",
"brand_color": "000000",
"country": "Canada",
"country_code": "CA",
"continent": "North America",
"icao_code": "ACA",
"iata_code": "AC",
"latitude": "45.465685",
"longitude": "-73.745481",
"is_cargo": false,
"is_leasing_company": false,
"is_government": false,
"is_active": true,
"parent_airline_id": "",
"ceased_operations": "0000-00-00",
"merged_airline_id": ""
}
]
}
]
}