Search airlines by name

Searches airlines by name.

Request

GEThttps://airport-airline-lookup.p.apihiver.com/v1/airlines?q=indigo
*
String. Airline name or part of it, e.g. indigo.
Boolean. Only return airlines that are still operating (default true).
Number. Maximum number of results (1–50, default 10).
Language
Client
1curl --request GET \
2  --url 'https://airport-airline-lookup.p.apihiver.com/v1/airlines?q=indigo&active_only=%7Bactive_only%7D&limit=%7Blimit%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Search airlines by name: Airport & Airline Lookup API reference

Searches airlines by name. This endpoint is part of the Airport & Airline Lookup API: Look up airports and airlines worldwide by IATA/ICAO code or name — location, type, elevation, country, call sign and more.

Example response (200, application/json)

Success.

1{
2  "count": 2,
3  "results": [
4    {
5      "iata": "6E",
6      "icao": "IGO",
7      "name": "IndiGo Airlines",
8      "alias": null,
9      "active": true,
10      "country": "India",
11      "callsign": "IFLY"
12    },
13    {
14      "iata": "I9",
15      "icao": "IBU",
16      "name": "Indigo",
17      "alias": null,
18      "active": true,
19      "country": "United States",
20      "callsign": "INDIGO BLUE"
21    }
22  ]
23}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "q: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.