API Almanac
API reference › Airports

Find airports by IATA or ICAO code, country, or a word in the name or city

GET/v1/airports

GET/v1/airports

Find airports by IATA or ICAO code, country, or a word in the name or city

At least one filter is required; results are capped by limit. Large airports with scheduled service sort first.

PARAMETERS
iataquery · string
IATA code
e.g. JFK
icaoquery · string
ICAO code
e.g. KJFK
countryquery · string
ISO 3166-1 alpha-2
e.g. US
qquery · string
Substring of the airport name or city
e.g. new york
typequery · enum
Airport size class
one of: large, medium, small
limitquery · integer
Maximum results
e.g. 20
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/airports" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "count": 1,
  "total": 1,
  "airports": [
    {
      "iata": "JFK",
      "icao": "KJFK",
      "name": "John F Kennedy International Airport",
      "type": "large",
      "city": "New York",
      "country": "US",
      "region": "US-NY",
      "continent": "NA",
      "lat": 40.63975,
      "lon": -73.77893,
      "elevation_ft": 13,
      "scheduled_service": true
    }
  ]
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.