---
title: "List the IATA codes"
method: GET
path: "/data/iataCodes"
tags: ["IATA codes"]
---

# List the IATA codes

`GET /data/iataCodes`

## Request

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

## Overview

Get IATA (International Air Transport Association) airport codes with airport names, coordinates, and country information. Useful for airport-based hotel searches.

## When to Use

- **Airport searches** - Find hotels near airports
- **Location selection** - Let users search by airport codes
- **Geographic data** - Get airport locations and coordinates
- **Reference data** - Get IATA codes for use in hotel searches

## What You Get

- **Airport list** - All available airports with IATA codes
- **Airport names** - Full airport names
- **Coordinates** - Latitude and longitude for each airport
- **Country codes** - ISO-2 country codes for each airport

## Quick Start

No parameters required. Returns all airports with IATA codes, names, coordinates, and country information.

## Query parameters

- `timeout` number, float

## Response `200`

OK

- object
  - `data` object[]
    - `code` string, required
    - `name` string, required
    - `latitude` number
    - `longitude` number
    - `countryCode` string

## Other responses

- `401`: Unauthorized

---

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