Airport Directory
Airports, heliports and seaplane bases worldwide from OurAirports: IATA, ICAO and local codes, name, type, coordinates, elevation, country, region, city, scheduled airline service, website and Wikipedia links, joined with each airport's runways (length, width, surface, lighting).
$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.
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/airport-directory/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"Toronto"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
25 fields: 24 here, 1 technical one under Technical details.
Basics
- Ident
OurAirports' code for the place: the ICAO code when there is one, otherwise a local or made-up code.
Example CYYC
- Iata code
Three-letter IATA code used on tickets, such as YYZ.
Example YYC
- Icao code
Four-letter ICAO code, such as CYYZ.
Example CYYC
- GPS code
Code used in GPS units and flight planning.
Example CYYC
- Local code
National code, such as the FAA code in the United States.
Example CYEG
- Name
Name of the airport, heliport or seaplane base.
Example Calgary International Airport
- Type
Kind of place: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport or closed.
Example large_airport
- Elevation ft
Elevation above sea level in feet.
Example 3,557
- Continent
Continent code: AF, AN, AS, EU, NA, OC or SA.
Example NA
- Municipality
City or town the place serves.
Example Calgary
- Has scheduled service
Yes when airlines fly scheduled service from it.
Example Yes
- Keywords
Other names and codes people use for it, such as YTO or Malton.
Example McCall Field
- Runways count
Number of runways that are not closed; filled with include_runways.
Example 3
- Longest runway ft
Length of the longest runway that is not closed, in feet; filled with include_runways.
Example 14,000
- Runways
Runways, longest first, each with designation (such as 05/23), length_ft, width_ft, surface, is_lighted, is_closed and heading_deg.
Example 2 items: {} | {}
Location
- Latitude
Latitude of the place, for a map.
Example 51.118822
- Longitude
Longitude of the place, for a map.
Example -114.009933
- Country code
Two-letter country code, such as CA.
Example CA
- Country
Country name in English.
Example Canada
- Region code
Province or state as an ISO 3166-2 code, such as CA-ON.
Example CA-AB
- Region
Province or state name, such as Ontario.
Example Alberta
Links
- Link
The place's page on ourairports.com.
Example ourairports.com/airports/CYYC/
- Website
The airport's own website.
Example calgaryairport.com
- Wikipedia link
The airport's Wikipedia article.
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' own number for the place.
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 |
ident | text | Ident | 3 of 3 |
iata_code | text | Iata code | 3 of 3 |
icao_code | text | Icao code | 3 of 3 |
gps_code | text | GPS code | 3 of 3 |
local_code | text | Local code | 1 of 3 |
name | text | Name | 3 of 3 |
type | text | Type | 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 | Continent | 3 of 3 |
country_code | text | Country code | 3 of 3 |
country | text | Country | 3 of 3 |
region_code | text | Region 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 |
website | link | Website | 3 of 3 |
wikipedia_url | link | Wikipedia link | 3 of 3 |
keywords | list | Keywords | 2 of 3 |
runways_count | number | Runways count | 3 of 3 |
longest_runway_ft | number | Longest runway ft | 3 of 3 |
runways | list | Runways | 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 | Name | Ident | Iata code | Icao code | GPS code | Local code | Type | Elevation ft | Continent | Municipality | Has scheduled service | Keywords | Runways count | Longest runway ft | Runways | Latitude | Longitude | Country code | Country | Region code | Region | Link | Website | Wikipedia link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Calgary International Airport | CYYC | YYC | CYYC | CYYC | — | large_airport | 3,557 | NA | Calgary | Yes | McCall Field | 3 | 14,000 | 4 items: Designation: 17L/35R · Length ft: 14000 · Width ft: 200 | Designation: 17R/35L · Length ft: 12675 · Width ft: 200 | 51.118822 | -114.009933 | CA | Canada | CA-AB | Alberta | ourairports.com/airports/CYYC/ | calgaryairport.com | en.wikipedia.org/wiki/Calgary_International_Airport |
| 2 | Edmonton International Airport | CYEG | YEG | CYEG | CYEG | CYEG | large_airport | 2,373 | NA | Edmonton | Yes | — | 2 | 11,000 | 2 items: Designation: 02/20 · Length ft: 11000 · Width ft: 200 | Designation: 12/30 · Length ft: 10200 · Width ft: 200 | 53.3097 | -113.580002 | CA | Canada | CA-AB | Alberta | ourairports.com/airports/CYEG/ | edmontonairports.com | en.wikipedia.org/wiki/Edmonton_International_Airport |
| 3 | Halifax / Stanfield International Airport | CYHZ | YHZ | CYHZ | CYHZ | — | large_airport | 477 | NA | Halifax | Yes | Robert L. Stanfield International Airport | 2 | 10,500 | 2 items: Designation: 05/23 · Length ft: 10500 · Width ft: 200 | Designation: 14/32 · Length ft: 7700 · Width ft: 200 | 44.880798 | -63.508598 | CA | Canada | CA-NS | Nova Scotia | ourairports.com/airports/CYHZ/ | hiaa.ca | en.wikipedia.org/wiki/Halifax_International_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.
- The data comes from OurAirports (ourairports.com), a volunteer-edited open dataset in the public domain. It is refreshed daily but comes with no guarantee of accuracy and must not be used for navigation.
- Codes, websites and cities are often empty for small airfields and heliports: about 9,000 of the 86,000 places have an IATA code and about 11,000 an ICAO code.
- Closed airports are left out unless types includes closed, and entries OurAirports marks as duplicates are always left out.
- Every run reads the whole worldwide table (about 13 MB, plus 4 MB of runways), so even a one-airport lookup takes 10 to 20 seconds and sometimes longer; turn include_runways off when you do not need runways.
- At most 10,000 records per run, larger airports first; narrow by country, region or type to reach the rest.
- Runway lengths and widths are in feet, and surfaces are the codes volunteers entered (ASP, CON, TURF, GRVL and so on).
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.