← Back to API Ninjas
Get general and detailed fleet information for airlines.
Returns general and fleet information for airlines matching an ICAO code, IATA code, or name. At least one of `icao`, `iata`, or `name` must be set.
API Ninjas·$0.001 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/airlines"
});
console.log(output);Query parameters
icao
string
International Civil Aviation Organization (ICAO) 3-character airline code. At least one of icao, iata, or name must be set.
iata
string
International Air Transport Association (IATA) 2-character airline code. At least one of icao, iata, or name must be set.
name
string
Airline name. This parameter supports partial matching (e.g. United will match United Airlines). At least one of icao, iata, or name must be set.