1. Datasets
  2. Airports

Airports API

Look up airport identifiers, locations, types and scheduled-service flags. 49,343 records across 239 countries and territories, from OurAirports.

GET /v1/airportsPublic domain239 countries28 Nov 2026

Request and response

The response below is the example from our OpenAPI document, so it shows the exact shape you get, though the record itself may come from another country.

GET/v1/airports
curl 'https://api.apifor.dev/v1/airports' \
  -G -d country=US -d limit=1 \
  -H 'x-api-key: YOUR_API_KEY'
Example response · application/json
{
  "success": true,
  "data": [
    {
      "ident": "00AA",
      "icao": null,
      "iata": null,
      "gps_code": "00AA",
      "local_code": "00AA",
      "name": "Aero B Ranch Airport",
      "type": "small_airport",
      "lat": 38.704022,
      "lng": -101.473911,
      "elevation_ft": 3435,
      "continent": "NA",
      "country": "US",
      "country_name": "United States",
      "region": "US-KS",
      "region_name": "Kansas",
      "municipality": "Leoti",
      "scheduled_service": 0,
      "home_link": null,
      "wikipedia_link": null
    }
  ]
}

Fields

Each record in data has these fields. Types are read from the example values; a nullable field can hold null for some records.

FieldTypeExample
identstring"00AA"
icaonullablenull
iatanullablenull
gps_codestring"00AA"
local_codestring"00AA"
namestring"Aero B Ranch Airport"
typestring"small_airport"
latnumber38.704022
lngnumber-101.473911
elevation_ftinteger3435
continentstring"NA"
countrystring"US"
country_namestring"United States"
regionstring"US-KS"
region_namestring"Kansas"
municipalitystring"Leoti"
scheduled_serviceinteger0
home_linknullablenull
wikipedia_linknullablenull

Filters and paging

Query parameters accepted by GET /v1/airports. Full detail, including the single-record route, is in the endpoint reference.

ParameterTypeRules
pageintegermin 1 · default 1
limitinteger1 to 200 · default 50
countrystringISO 3166-1 alpha-2
qstring2 to 100 chars
typestringNone
iatastringNone

Coverage by country

239 countries and territories have records in the 28 Nov 2026 snapshot. Each one has its own page with filters and counts.