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).
Endpoints
GET /v1/airports/{code}
Airport by code
| Parameter | In | Description | Example |
|---|---|---|---|
code * | path | IATA (MAD) or ICAO (LEMD) | MAD |
GET /v1/airports/search
Search airports
| Parameter | In | Description | Example |
|---|---|---|---|
q * | query | Name, city or code | london |
country | query | ISO country filter | |
limit | query | 1-100 | 10 |
GET /v1/airports/nearby
Nearest airports
| Parameter | In | Description | Example |
|---|---|---|---|
lat * | query | Latitude | 40.96 |
lon * | query | Longitude | -5.66 |
radius | query | Radius km | 200 |
type | query | large, medium or small | |
limit | query | 1-100 | 10 |
GET /v1/airports/distance
Distance between airports
| Parameter | In | Description | Example |
|---|---|---|---|
from * | query | IATA/ICAO | MAD |
to * | query | IATA/ICAO | JFK |
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
- Fast: global edge network, answers in milliseconds.
- Data: OurAirports (public domain), updated regularly.
- Fair pricing: Free plan 500 requests/month, Pro 25,000 for $4.99, Ultra 150,000 for $14.99.
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.