Get airports
Get all airports. We do not recommend using this route without any search query. This route has over 20k records.
Query parameters
Search query for airport. Can be IATA, ICAO (ident), name, or a part of any of these. Searching is case insensitive.Example:
VIDP, Delhi, or Indira GandhiResponse
Returns an array of airport objects.Unique airport identifier
Airport ICAO codeExample:
VIDPAirport typeValues:
small_airport, seaplane_base, medium_airport, large_airport, heliport, closed, balloonportElevation in feet
Continent codeExample:
AS (Asia), EU (Europe)ISO country code
ISO region code
Municipality/city name
GPS code
IATA airport code (nullable for private airports)Example:
DELAirport nameExample:
Indira Gandhi International AirportLatitude coordinate
Longitude coordinate
Response example
Error responses
Internal server error
Search examples
Search by IATA code
Search by ICAO code
Search by name
Search by city
Airport types
The API includes various types of airports:- Commercial airports
- Specialized facilities
- Other
- large_airport: Major international airports with significant passenger traffic
- medium_airport: Regional airports with commercial service
- small_airport: Smaller airports, often serving general aviation
Best practices
- Always use the
searchparameter when querying airports to avoid retrieving all 20,000+ records - Search is case-insensitive, so “JFK”, “jfk”, and “Jfk” will all return the same results
- You can search by partial names (e.g., “Kennedy” will return “John F. Kennedy International Airport”)
- For the most accurate results, use IATA or ICAO codes when you know them