get_data_flights_airports_iatas
Overview
Retrieve a lightweight list of airport IATA codes with names for autocomplete and lookup purposes.
When to Use
Autocomplete dropdowns - Populate airport search inputs with a full list of codes and names
Client-side filtering - Download the full list once and filter locally
Code validation - Build a lookup table of valid airport codes
What You Get
IATA codes for all airports in the database
Airport names paired with each code
Filtered results when the
qquery parameter is provided
Quick Start
Call with no parameters to get all airport codes and names. Use the q parameter to filter by name or code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query |