TidyData APIsAll APIsPricing

Airport Data API - IATA & ICAO

Airport lookup by IATA or ICAO code, search by name or city, nearest airports to any coordinates and great-circle distance and flight time between two airports. 9,500 airports with coordinates, elevation, country, region and city.

Authentication & base URL

Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).

Subscribe on RapidAPI

Endpoints

GET /v1/airports/{code}

Airport by code

ParameterInDescriptionExample
code *pathIATA (MAD) or ICAO (LEMD)MAD

GET /v1/airports/search

Search airports

ParameterInDescriptionExample
q *queryName, city or codelondon
countryqueryISO country filter
limitquery1-10010

GET /v1/airports/nearby

Nearest airports

ParameterInDescriptionExample
lat *queryLatitude40.96
lon *queryLongitude-5.66
radiusqueryRadius km200
typequerylarge, medium or small
limitquery1-10010

GET /v1/airports/distance

Distance between airports

ParameterInDescriptionExample
from *queryIATA/ICAOMAD
to *queryIATA/ICAOJFK

Example

GET /v1/airports/search?q=london&country=&limit=10

{
  "query": "london",
  "count": 10,
  "airports": [
    {
      "iata": "LTN",
      "icao": "EGGW",
      "name": "London Luton Airport",
      "lat": 51.8747,
      "lon": -0.36833,
      "elevationFt": 526,
      "size": "large",
      "country": "GB",
      "region": "GB-ENG",
      "city": "Luton, Luton",
      "scheduledService": true
    },
    {
      "iata": "LGW",
      "icao": "EGKK",
      "name": "London Gatwick Airport",
      "lat": 51.14874,
      "lon": -0.18574,
      "elevationFt": 202,
      "size": "large",
      "country": "GB",
      "region": "GB-ENG",
      "city": "London",
      "scheduledService": true
    },
    {
      "iata": "LHR",
      "icao": "EGLL",
      "name": "London Heathrow Airport",
      "lat": 51.47075,
      "lon": -0.45991,
      "elevationFt": 83,
      "size": "large",
      "country": "GB",
      "region": "GB-ENG",
      "city": "London",
      "scheduledService": true
    },
    {
      "iata": "STN",
      "icao": "EGSS",
      "name": "London Stansted Airport",
      "lat": 51.885,
      "lon": 0.235,
      "elevationFt": 348,
      "size": "large",
      "country": "GB",
      "region": "GB-ENG",
      "city": "London, Essex",
      "scheduledService": true
    },
    {
      "iata": "ELS",
      "icao": "FAEL",
      "name": "King Phalo Airport",
      "lat": -33.0356,
      "lon": 27.8259,
      "elevationFt": 435,
      "size": "large",
      "country": "ZA",
      "region": "ZA-EC",
      "city": "East London",
      "scheduledService": true
    },
    {
  …

Airport lookup by IATA or ICAO code, search by name or city, nearest airports to any coordinates and great-circle distance and flight time between two airports. 9,500 airports with coordinates, elevation, country, region and city.

Use cases

Travel and booking apps, flight trackers, logistics, airport pickers in forms, carbon/distance calculators, data enrichment.

Why this API

Support

Questions or a feature you need? Open a thread in the Discussions tab.

Pricing

Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.