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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
Page of the airport on OurAirports.
Example ourairports.com/airports/CYYZ/
- Home link
Airport website.
Example torontopearson.com
- Wikipedia link
Wikipedia article.
Example en.wikipedia.org/wiki/Toronto_Pearson_International_Airport
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
type | text | Type | 3 of 3 |
name | text | Airport name | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
elevation_ft | number | Elevation ft | 3 of 3 |
continent | text | Two-letter continent code | 3 of 3 |
country | text | ISO country code | 3 of 3 |
region | text | Region | 3 of 3 |
municipality | text | Municipality | 3 of 3 |
has_scheduled_service | yes or no | Has scheduled service | 3 of 3 |
icao_code | text | Icao code | 3 of 3 |
iata_code | text | Iata code | 3 of 3 |
gps_code | text | GPS code | 3 of 3 |
local_code | text | Local authority code | 1 of 3 |
home_link | link | Home link | 3 of 3 |
wikipedia_link | link | Wikipedia link | 3 of 3 |
distance_km | number | Distance (km) | 3 of 3 |
runways | list | Runways | 3 of 3 |
frequencies | list | Frequencies | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Airport name | Type | Elevation ft | Two-letter continent code | Municipality | Has scheduled service | Icao code | Iata code | GPS code | Local authority code | Distance (km) | Runways | Frequencies | Latitude | Longitude | ISO country code | Region | Link | Home link | Wikipedia link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Toronto Pearson International Airport | large_airport | 569 | NA | Toronto | Yes | CYYZ | YYZ | CYYZ | YYZ | 0.5 | 4 items: Low end: 05 · High end: 23 · Length ft: 11120 | Low end: 06L · High end: 24R · Length ft: 9697 | 4 items: Type: APRON · Description: SOUTH APRON · Frequency mhz: 122.07 | Type: APRON · Description: NORTH APRON · Frequency mhz: 122.27 | 43.675935 | -79.629421 | CA | CA-ON | ourairports.com/airports/CYYZ/ | torontopearson.com | en.wikipedia.org/wiki/Toronto_Pearson_International_Airport |
| 2 | John C. Munro Hamilton International Airport | large_airport | 780 | NA | Hamilton | Yes | CYHM | YHM | CYHM | — | 61.5 | 2 items: Low end: 06 · High end: 24 · Length ft: 6010 | Low end: 12 · High end: 30 · Length ft: 10006 | 4 items: Type: A/D · Description: TORONTO TRML · Frequency mhz: 119.7 | Type: ATIS · Description: ATIS · Frequency mhz: 128.1 | 43.171308 | -79.929416 | CA | CA-ON | ourairports.com/airports/CYHM/ | flyhi.ca | en.wikipedia.org/wiki/Hamilton/John_C._Munro_International_Airport |
| 3 | Windsor International Airport | large_airport | 622 | NA | Windsor | Yes | CYQG | YQG | CYQG | — | 312.3 | 2 items: Low end: 07 · High end: 25 · Length ft: 9000 | Low end: 12 · High end: 30 · Length ft: 5150 | 4 items: Type: A/D · Description: DETROIT APP/DEP · Frequency mhz: 126.85 | Type: A/G · Description: MF · Frequency mhz: 124.7 | 42.2756 | -82.955597 | CA | CA-ON | ourairports.com/airports/CYQG/ | flyyqg.ca | en.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.