Docs
Get an API key
Airlines

List airlines

GET
/v1/flight/airlines

Search the local airline directory. Results are ordered by IATA code; meta.truncated indicates more matches. Individual airline lookups import missing carriers from the supplier.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Query Parameters

q?string

Literal case-insensitive substring of name, IATA code, or ICAO code.

Length1 <= length <= 100
limit?integer
Range1 <= value <= 100
Default20
active_only?string

True returns active airlines only. False includes both active and inactive airlines.

Default"true"

Value in

  • "true"
  • "false"
alliance?string

Alliance identifier. Exact match, case-insensitive input.

Length1 <= length

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/flight/airlines"
{  "data": [    {      "id": "string",      "iata_code": "string",      "icao_code": "string",      "name": "string",      "country": "string",      "alliance": "string",      "logo_url": "http://example.com",      "is_active": true    }  ],  "meta": {    "truncated": true  }}