Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/epranka/airports-db

Public airports database API service based on GitHub
https://github.com/epranka/airports-db

airport airports api aviation csv data database json node node-js service

Last synced: about 1 month ago
JSON representation

Public airports database API service based on GitHub

Awesome Lists containing this project

README

        

✈️ Public airports database

This project is deprecated and unmaintainable due to the GitHub limitations. Please use the https://airportdb.io for free airport database API

GitHub based API service



twitter badge


linkedin badge


dev.to badge


medium badge


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

How to use it? 🤔

> John F Kennedy International Airport [KJFK](https://github.com/epranka/airports-db/blob/master/icao/KJFK.json)

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](https://github.com/epranka/airports-db/tree/master/icao) directory.

So, to get the information about the airport use the following url:

`https://raw.githubusercontent.com/epranka/airports-db/master/icao/.json`

> ICAO code must be in uppercase

For example

```bash
$ curl https://raw.githubusercontent.com/epranka/airports-db/master/icao/KJFK.json
```

If airport is not found, the 404 status code is returned.

Have ideas on how to improve it? Feel free to share it on the [GitHub Issues](https://github.com/epranka/airports-db/issues).


associated image airport

Data is based on [ourairports.com](https://ourairports.com/) database. You can download the raw CSV files from [raw](https://github.com/epranka/airports-db/tree/master/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/](https://ourairports.com/data/)