Airport Codes

51,606
0
Updated:
Files:2
Size:8.76 MB
Formats:csv
License:ODC-PDDL-1.0

Data contains the list of all airport codes, the attributes are listed in the table schema. Some of the columns contain attributes identifying airport locations, other codes (IATA, local if exist) that are relevant to identification of an airport.

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/airport-codes/
https://datahub.io/core/airport-codes/_r/-/.gitattributes
https://datahub.io/core/airport-codes/_r/-/.gitignore
https://datahub.io/core/airport-codes/_r/-/Makefile
https://datahub.io/core/airport-codes/_r/-/README.md
https://datahub.io/core/airport-codes/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/airport-codes/_r/-/archive/data.csv
https://datahub.io/core/airport-codes/_r/-/data/airport-codes.csv
https://datahub.io/core/airport-codes/_r/-/data/type-counts.csv
https://datahub.io/core/airport-codes/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/airport-codes/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/airport-codes/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Views

Data Files

Explore with AI

airport-codes

Download

Download CSV

About

List of airports and airfields worldwide with their IATA and ICAO codes, location identifiers, facility type, and geographic coordinates. Derived from the OurAirports public domain dataset by merging latitude and longitude into a single coordinates field.
Last updated
18 June 2026
Total rows
...
Format
CSV
File size
8.76 MB

type-counts

Download

Download CSV

About

Pre-aggregated count of airports by facility type, matching the type values in airport-codes.csv.
Last updated
4 June 2026
Total rows
...
Format
CSV
File size
119 B

About this dataset

badge

Description

The airport codes may refer to either IATA airport code, a three-letter code which is used in passenger reservation, ticketing and baggage-handling systems, or the ICAO airport code which is a four letter code used by ATC systems and for airports that do not have an IATA airport code (from wikipedia).

Airport codes from around the world. Downloaded from public domain source https://ourairports.com/data/ who compiled this data from multiple different sources. This data is updated nightly.

Data

"data/airport-codes.csv" contains the list of all airport codes, the attributes are identified in datapackage description. Some of the columns contain attributes identifying airport locations, other codes (IATA, local if exist) that are relevant to identification of an airport.
Original source url is https://ourairports.com/data/airports.csv (stored in archive/data.csv)

Note: Currently the scripts is run automatically using Github Actions

Preparation

You will need Python 3.12 or greater to run the script

To update the data run the process script locally:

# To run locally you should do this
# Install using requirements
pip install -r scripts/requirements.txt
python3 scripts/process.py

# Or use make
make
make clean

Several steps will be done to get the final data.

  • merge columns "latitude_deg" and "longitude_deg" into "coordinates"
  • remove columns: "id", "scheduled_service", "home_link", "wikipedia_link", "keywords"

Automation

Daily updated 'Airport codes' datapackage could be found on the datahub.io:
https://datahub.io/core/airport-codes

License

The source specifies that the data can be used as is without any warranty. Given size and factual nature of the data and its source from a US company would imagine this was public domain and as such have licensed the Data Package under the Public Domain Dedication and License (PDDL).