Airports, Runways & Frequencies API

Airports, heliports and seaplane bases worldwide with codes, coordinates, elevation and links, searchable by country, code, type or distance, with runways and radio frequencies joined on request.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usPlaces, 21 fieldsv1.0

Data from davidmegginson.github.io/ourairports-data/airports.csv

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Countriesoptional
Two-letter ISO country codes such as CA or US. One per line, or separated by commas.
Example: CA
Codesoptional
IATA, ICAO or local airport codes, such as YYZ or KJFK. One per line, or separated by commas.
Example: YYZ, KJFK
Typesoptional
Airport types to keep: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, closed. One per line, or separated by commas.
Example: large_airport, medium_airport
Nearoptional
Centre point as latitude,longitude.
Example: 43.68,-79.63
Radius (km)optional
Distance from the near point in kilometres (default 100).
Example: 50
Include runwaysoptional
Add runways and radio frequencies to each airport.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/airports-database/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/airports-database/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"countries":["CA"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

countrieslist
Two-letter ISO country codes such as CA or US.
example: CA
codeslist
IATA, ICAO or local airport codes, such as YYZ or KJFK.
example: YYZ, KJFK
typeslist
Airport types to keep: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, closed.
example: large_airport, medium_airport
neartext
Centre point as latitude,longitude.
example: 43.68,-79.63
radius_kmnumber
Distance from the near point in kilometres (default 100).
example: 50
include_runwaysyes/no
Add runways and radio frequencies to each airport.
example: true

What's in each record

21 fields: 20 here, 1 technical one under Technical details.

Basics

  • Type

    large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport or closed.

    Example large_airport

  • Airport name

    Example Toronto Pearson International Airport

  • Elevation ft

    Elevation in feet.

    Example 569

  • Two-letter continent code

    Example NA

  • Municipality

    Town or city served.

    Example Toronto

  • Has scheduled service

    Whether the source lists scheduled airline service.

    Example Yes

  • Icao code

    Example CYYZ

  • Iata code

    Example YYZ

  • GPS code

    Example CYYZ

  • Local authority code

    Example YYZ

  • Distance (km)

    Distance from the near point; empty when near is not used.

    Example 0.5

  • Runways

    Runways (low_end, high_end, length_ft, width_ft, surface, lighted, closed); empty unless include_runways.

    Example 2 items: {} | {}

  • Frequencies

    Radio frequencies (type, description, frequency_mhz); empty unless include_runways.

    Example 2 items: {} | {}

Location

  • Latitude

    Latitude in degrees.

    Example 43.675935

  • Longitude

    Longitude in degrees.

    Example -79.629421

  • ISO country code

    Example CA

  • Region

    ISO region code, such as CA-ON.

    Example CA-ON

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idOurAirports identifier of the airport (ICAO-style or local ident).

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
typetextType3 of 3
nametextAirport name3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
elevation_ftnumberElevation ft3 of 3
continenttextTwo-letter continent code3 of 3
countrytextISO country code3 of 3
regiontextRegion3 of 3
municipalitytextMunicipality3 of 3
has_scheduled_serviceyes or noHas scheduled service3 of 3
icao_codetextIcao code3 of 3
iata_codetextIata code3 of 3
gps_codetextGPS code3 of 3
local_codetextLocal authority code1 of 3
home_linklinkHome link3 of 3
wikipedia_linklinkWikipedia link3 of 3
distance_kmnumberDistance (km)3 of 3
runwayslistRunways3 of 3
frequencieslistFrequencies3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordAirport nameTypeElevation ftTwo-letter continent codeMunicipalityHas scheduled serviceIcao codeIata codeGPS codeLocal authority codeDistance (km)RunwaysFrequenciesLatitudeLongitudeISO country codeRegionLinkHome linkWikipedia link
1Toronto Pearson International Airportlarge_airport569NATorontoYesCYYZYYZCYYZYYZ0.54 items: Low end: 05 · High end: 23 · Length ft: 11120 | Low end: 06L · High end: 24R · Length ft: 96974 items: Type: APRON · Description: SOUTH APRON · Frequency mhz: 122.07 | Type: APRON · Description: NORTH APRON · Frequency mhz: 122.2743.675935-79.629421CACA-ONourairports.com/airports/CYYZ/torontopearson.comen.wikipedia.org/wiki/Toronto_Pearson_International_Airport
2John C. Munro Hamilton International Airportlarge_airport780NAHamiltonYesCYHMYHMCYHM—61.52 items: Low end: 06 · High end: 24 · Length ft: 6010 | Low end: 12 · High end: 30 · Length ft: 100064 items: Type: A/D · Description: TORONTO TRML · Frequency mhz: 119.7 | Type: ATIS · Description: ATIS · Frequency mhz: 128.143.171308-79.929416CACA-ONourairports.com/airports/CYHM/flyhi.caen.wikipedia.org/wiki/Hamilton/John_C._Munro_International_Airport
3Windsor International Airportlarge_airport622NAWindsorYesCYQGYQGCYQG—312.32 items: Low end: 07 · High end: 25 · Length ft: 9000 | Low end: 12 · High end: 30 · Length ft: 51504 items: Type: A/D · Description: DETROIT APP/DEP · Frequency mhz: 126.85 | Type: A/G · Description: MF · Frequency mhz: 124.742.2756-82.955597CACA-ONourairports.com/airports/CYQG/flyyqg.caen.wikipedia.org/wiki/Windsor_Airport

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Built on the OurAirports open data files, public domain, rebuilt by its maintainer about every night; new or changed airports can lag the real world.
  • You must give countries, codes or near. Results are capped at 5,000 airports per run.
  • Every run reads the whole airport file (about 12 MB), and the runways and frequencies files when include_runways is on, so a run takes several seconds.
  • Without a near point, airports come biggest type first; with one they come nearest first and distance_km is filled (straight-line distance).
  • IATA and ICAO codes are empty for most small airports and heliports. Runway and frequency lists are empty where the source has none; scheduled service is the source's yes/no flag.
  • No live data: no flights, delays or weather.

Version history

A run uses the live version unless the request names another one with version.