---
title: "List airline IATA codes"
method: GET
path: "/data/flights/airlines/iatas"
tags: ["Airlines"]
---

# List airline IATA codes

`GET /data/flights/airlines/iatas`

## Request

- Base URL: `https://api.liteapi.travel/v3.0`
- URL: `https://api.liteapi.travel/v3.0/data/flights/airlines/iatas`
- Auth: API key in header `X-API-Key`

## Overview

Retrieve a lightweight list of airline IATA codes with names for autocomplete and lookup purposes.

## When to Use

- **Autocomplete dropdowns** - Populate airline search inputs with a minimal list
- **Client-side filtering** - Download the full list once and filter locally
- **Code validation** - Build a lookup table of valid airline codes

## What You Get

- **IATA codes** for all airlines in the database
- **Airline names** paired with each code
- **Active filtering** available via the `activeOnly` parameter

## Quick Start

Call with no parameters to get all airline IATA codes and names. Use `activeOnly=true` to filter out inactive airlines.

## Query parameters

- `activeOnly` boolean

## Response `200`

Successful response

- object
  - `data` object[]: List of airline IATA result sets
    - `airlines` AirlineIATA[]: List of airline IATA codes and names
      - `iata` string: 2-letter IATA airline code
      - `name` string: Airline name

## Other responses

- `401`: Unauthorized
- `500`: Server error

---

[API](https://skmtc.dev/liteapi/apis/api-flights.md) - [All operations](https://skmtc.dev/liteapi/apis/api-flights/llms.txt) - [OpenAPI document](https://skmtc.dev/liteapi/apis/api-flights/revisions/7ccb4b3a8bde?raw)
