Airports Database API

Explore ways to use the Airport Database API in your software.


Like airline data, airport data is fundamental to any travel-related business.

A complete set of airport data is important if your software wants to exceed user expectations and deliver the highest quality products.

The airport API will allow you to display destination maps, display the necessary data on your websites or in your applications in the format you want.

Using airport data, you can do all kinds of calculations, build logistics models, etc., anything you can invent.


Example API Request:


                https://airlabs.co/api/v9/airports?iata_code=CDG&api_key={{params.api_key}}
              

Request Parameters:

Parameter Description
api_key required Your API Key from acccount dashboard.
iata_code optional Filtering by Airport IATA code.
icao_code optional Filtering by Airport ICAO code.
city_code optional Filtering by IATA City code.
country_code optional Filtering by Country ISO 2 code from Countries DB.
_fields optional Fields to return (comma separated, e.g.: name,iata_code,icao_code,lat,lng)

Example API Response:


              [{
                "name": "Paris Charles de Gaulle Airport",
                "iata_code": "CDG",
                "icao_code": "LFPG",
                "lat": 49.009592,
                "lng": 2.555675,
                "alt": 392,
                "city": "Paris",
                "city_code": "PAR",
                "un_locode": "FRCDG",
                "timezone": "Europe/Paris",
                "country_code": "FR",
                "phone": "+33170363950",
                "website": "http://www.aeroportsdeparis.fr/",
                "facebook": "facebook.com/parisaeroport",
                "instagram": "instagram.com/parisaeroport/",
                "linkedin": "linkedin.com/company/groupe-adp",
                "twitter": "twitter.com/parisaeroport",
                "names": {
                  "no": "Charles de Gaulle internasjonale lufthavn",
                  "de": "Flughafen Paris-Charles-de-Gaulle",
                  "hi": "चार्ल्स डि गॉल विमानक्षेत्र",
                  "ln": "Libándá lya Ndáko ya mpɛ́pɔ Paris-Charles-de-Gaulle",
                  "ru": "Париж — Шарль-де-Голль",
                  "fi": "Charles de Gaullen kansainvälinen lentoasema",
                  "pt": "Aeroporto de Paris-Charles de Gaulle",
                  "jv": "Bandhar Udhara Paris-Charles de Gaulle",
                  "fr": "Aéroport Paris–Charles de Gaulle",
                  "hu": "Párizs-Charles de Gaulle repülőtér",
                  "wuu": "巴黎夏尔·戴高乐机场",
                  "uk": "Міжнародний аеропорт імені Шарля де Голля",
                  "sk": "Letisko Charlesa de Gaulla",
                  "id": "Bandar Udara Paris-Charles de Gaulle",
                  "mk": "Аеродром Париз-Шарл де Гол",
                  "sv": "Paris-Charles de Gaulle-flygplatsen",
                  "ko": "파리 샤를 드 골 공항",
                  "pnb": "پیرس چارلس ڈیگال ہوائی اڈہ",
                  "mr": "चार्ल्स दि गॉल आंतरराष्ट्रीय विमानतळ",
                  "el": "Διεθνές Αεροδρόμιο Παρισιού Σαρλ ντε Γκωλ",
                  "en": "Paris Charles de Gaulle Airport",
                  "is": "Paris-Charles de Gaulle-flugvöllur",
                  "it": "Aeroporto di Parigi Charles de Gaulle",
                  "ta": "சார்லசு டிகால் வானூர்தி நிலையம்",
                  "es": "Aeropuerto de París - Charles de Gaulle",
                  "cs": "Letiště Charlese de Gaulla",
                  "ar": "مطار باريس شارل دو غول الدولي",
                  "vi": "Sân bay quốc tế Charles-de-Gaulle",
                  "th": "ท่าอากาศยานนานาชาติปารีส-ชาร์ล เดอ โกล",
                  "ja": "シャルル・ド・ゴール国際空港",
                  "fa": "فرودگاه پاری-شارل-دو-گل",
                  "pl": "Port lotniczy Paryż-Roissy-Charles de Gaulle",
                  "ro": "Aeroportul Internațional Charles de Gaulle",
                  "he": "נמל התעופה שארל דה גול",
                  "tr": "Paris-Charles de Gaulle Havalimanı",
                  "nl": "Luchthaven Parijs-Charles de Gaulle"
                },
                "runways": 8,
                "departures": 186292,
                "connections": 411,
                "is_major": false,
                "is_international": 1,
                "slug": "charles-gaulle-cdg-lfpg-fr"
              }]
              


Response Parameters:

Parameter Description
name Public name. Available in the Free plan.
iata_code Official IATA code. Available in the Free plan.
icao_code Official ICAO code. Available in the Free plan.
lat Geo Latitude. Available in the Free plan.
lng Geo Longitude. Available in the Free plan.
alt Airport Runway Elevation (meters)
city Airport metropolitan city name from Cities DB.
city_code Airport metropolitan 3 letter city code from Cities DB.
un_locode United Nations location code.
timezone Airport location timezone.
country_code ISO 2 country code from Countries DB. Available in the Free plan.
names Alternative names in different languages.
runways Total airport runways.
departures Total departures from airport per year.
connections Total connections with another airports.
is_major The major airport in metropolitan area.
is_international The airport provides international flights.
website Airport official website.
facebook Airport official Facebook page.
twitter Airport official Twitter account.
instagram Airport official Instagram profile.
linkedin Airport official Linkedin profile.
slug AirLabs generated uniq Airport ID, which you can use for SEO, etc.

By the way, you may also be interested in the leaflet.js library.


       Github    Reddit

See also

World Cities Database
Name Suggestion Service
NearBy Geo Service
Real-time Flights API
Airport Schedules API


Questions? Contact us.