/airports-db

Public airports database API service based on GitHub

Primary LanguageJavaScriptMIT LicenseMIT

✈️ Public airports database

GitHub based API service

DB Update

This is a JSON database of airports with their runways, communication frequencies, navaids, countries, and regions information. The database is not 100% accurate and can have older data, so do not use it for a real flight or very sensitive applications. It works well to get basic information about the airport.

Data is based on ourairports.com database. You can download the raw CSV files from raw directory. The repository will be updated automatically every day at 7:00 UTC. You can get the latest CSV files here: https://ourairports.com/data/

Number registered
Airports 79 508
Runways 45 813
Frequencies 29 365
Navigation aids 11 020
Countries 248
Regions 3 935

How to use it?

Haugesund International Airport, Karmøy ENHD

The main idea of this repository is to get the JSON data about the airport by using its ICAO code.

Every airport has its own JSON file placed in icao directory.

To get information about the airport use the following url:

https://raw.githubusercontent.com/Haugaland-Flyklubb/airports-db/main/icao/<enter your ICAO>.json

Note: ICAO code must be in uppercase

For example:

  curl https://raw.githubusercontent.com/Haugaland-Flyklubb/airports-db/main/icao/ENHD.json

If airport is not found, http status 404 (not found) is returned.

Have ideas on how to improve this? Feel free to create a GitHub Issue.

This API is based on the fine work by epranka.