Airports API logo
DataMAINTAINED2 tokens / call

Airports API

85,944 airports, heliports and airfields worldwide by IATA or ICAO code, with runways and frequencies

Look up airports worldwide by IATA or ICAO code, search by name, city, country, or type, and find airports near any coordinate (sorted by distance). 85,000+ airports, heliports, seaplane bases and airfields from the public-domain OurAirports dataset β€” each with location, elevation, region, codes (IATA/ICAO/GPS/local), Wikipedia link, plus its runways (length, width, surface, lighting, headings) and radio frequencies (tower, approach, ATIS...). Self-hosted and refreshed daily β€” no third-party calls.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 2 tokens per call, so the free plan covers about 250 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "id": 3632,
  "ident": "KLAX",
  "type": "large_airport",
  "name": "Los Angeles International Airport",
  "iata_code": "LAX",
  "icao_code": "KLAX",
  "municipality": "Los Angeles",
  "iso_country": "US",
  "runways": 4,
  "frequencies": 11
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Use cases for Airports API

  • Resolve an IATA or ICAO code to the airport's name, city, country, coordinates and elevation in a booking or logistics product.

  • Autocomplete airport search by name, city or country for travel forms.

  • Find airports and airfields near a coordinate, sorted by distance, for flight planning and drone operations.

  • Show runway length, surface and lighting plus tower and ATIS frequencies on an aviation app.

Airports API endpoints

Every endpoint with its parameters and a real example response.

GETGet Airport

https://api-airports.dataandapis.com/v1/airports/{code}

Path parameters

ParameterExample
codeLAXRequired

Example request

curl "https://api-airports.dataandapis.com/v1/airports/LAX" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "id": 3632,
  "ident": "KLAX",
  "type": "large_airport",
  "name": "Los Angeles International Airport",
  "latitude": 33.942501,
  "longitude": -118.407997,
  "elevation_ft": 125,
  "continent": "NA",
  "iso_country": "US",
  "iso_region": "US-CA",
  "municipality": "Los Angeles",
  "scheduled_service": "yes",
  "icao_code": "KLAX",
  "iata_code": "LAX",
  "gps_code": "KLAX",
  "local_code": "LAX",
  "home_link": "https://www.flylax.com/",
  "wikipedia_link": "https://en.wikipedia.org/wiki/Los_Angeles_International_Airport",
  "keywords": null,
  "runways": [
    {
      "length_ft": 8926,
      "width_ft": 150,
      "surface": "CON",
      "lighted": true,
      "closed": false,
      "le_ident": "6L",
…
Show full response
{
  "id": 3632,
  "ident": "KLAX",
  "type": "large_airport",
  "name": "Los Angeles International Airport",
  "latitude": 33.942501,
  "longitude": -118.407997,
  "elevation_ft": 125,
  "continent": "NA",
  "iso_country": "US",
  "iso_region": "US-CA",
  "municipality": "Los Angeles",
  "scheduled_service": "yes",
  "icao_code": "KLAX",
  "iata_code": "LAX",
  "gps_code": "KLAX",
  "local_code": "LAX",
  "home_link": "https://www.flylax.com/",
  "wikipedia_link": "https://en.wikipedia.org/wiki/Los_Angeles_International_Airport",
  "keywords": null,
  "runways": [
    {
      "length_ft": 8926,
      "width_ft": 150,
      "surface": "CON",
      "lighted": true,
      "closed": false,
      "le_ident": "6L",
      "le_heading_degT": 83,
      "le_elevation_ft": 112,
      "he_ident": "24R",
      "he_heading_degT": 263,
      "he_elevation_ft": 117
    }
  ],
  "frequencies": [
    {
      "type": "APP",
      "description": "SOCAL APP",
      "frequency_mhz": 36.07
    },
    {
      "type": "TWR",
      "description": "LOS ANGELES TOWER",
      "frequency_mhz": 133.9
    }
  ]
}

GETNearby Airports

https://api-airports.dataandapis.com/v1/airports/nearby

Query parameters

ParameterExample
lat40.71Required
lon-74.0Required
radius100Optional

Example request

curl "https://api-airports.dataandapis.com/v1/airports/nearby?lat=40.71&lon=-74.0&radius=100" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "lat": 40.71,
  "lon": -74,
  "radius_km": 100,
  "count": 4,
  "airports": [
    {
      "name": "Newark Liberty International Airport",
      "iata_code": "EWR",
      "type": "large_airport",
      "distance_km": 15.6
    },
    {
      "name": "LaGuardia Airport",
      "iata_code": "LGA",
      "type": "large_airport",
      "distance_km": 12.1
    },
    {
      "name": "John F. Kennedy International Airport",
      "iata_code": "JFK",
      "type": "large_airport",
      "distance_km": 21.4
    }
  ]
}

GETSearch Airports

https://api-airports.dataandapis.com/v1/airports/search

Query parameters

ParameterExample
countryUSOptional
limit20Optional
qangelesOptional
typelarge_airportOptional

Example request

curl "https://api-airports.dataandapis.com/v1/airports/search?country=US&limit=20&q=angeles&type=large_airport" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "query": "angeles",
  "count": 1,
  "airports": [
    {
      "name": "Los Angeles International Airport",
      "type": "large_airport",
      "iata_code": "LAX",
      "icao_code": "KLAX",
      "iso_country": "US",
      "municipality": "Los Angeles"
    }
  ]
}

Where the data comes from

Source
OurAirports airports, runways and frequencies (public domain).
Freshness
Daily full re-sync.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
3endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses β€” auto-completion in your IDE
  • Tracks the API in lockstep β€” new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-airports.dataandapis.com/v1/airports/{code}',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Airports API Β· X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Path Parameters

code
import axios from 'axios';

const url = 'https://api-airports.dataandapis.com/v1/airports/{code}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Questions about Airports API

Ship Airports API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.