Airlines API
The Airlines API provides general and detailed fleet information for over 1,000 airlines from small, regional service providers to publicly-traded international carriers.
From 7,683 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 415ms | 451ms | 481ms | 663ms | 1079ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/airlines GET
https://api.api-ninjas.com/v1/airlines
Returns a list of up to 10 airline results.
Parameters
At least one of the following parameters must be set:
icaooptionalInternational Civil Aviation Organization (ICAO) 3-character airline code.
iataoptionalInternational Air Transport Association (IATA) 2-character airline code.
nameoptionalAirline name. This parameter supports partial matching (e.g.
Unitedwill matchUnited Airlines).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Returns an array of airline objects, each containing:
nameAirline name.
countryCountry where the airline is based.
year_createdYear the airline was founded or created.
baseBase airport or hub.
iata2-character IATA airline code.
icao3-character ICAO airline code.
fleetObject containing fleet information with aircraft type codes as keys and counts as values, plus a
totalfield.logo_urlURL to the airline's full logo image.
brandmark_urlURL to the airline's brandmark image.
tail_logo_urlURL to the airline's tail logo image.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/airlines?name=Singapore AirlinesHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/airlines?name=Lufthansa" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.