Global Airline Routes Database API

Find out how you can use the airline route database in your products.


Together with API Schedules you can use data from API Routes to predict flight schedules for the distant future.

Knowing what days of the week and what times a flight departs, you can easily build any connecting routes using discrete mathematics and graph theory methods.

Most of our customers integrate this data into their products along with the Flights API and Schedules API.

How do you think you can apply this to your business?


Example API Request:


            https://airlabs.co/api/v9/routes?api_key={{params.api_key}}
          

Request Parameters:

Parameter Description
api_key required Your API Key from acccount dashboard.
dep_iata required Filtering by departure Airport IATA code.
dep_icao required Filtering by departure Airport ICAO code.
arr_iata required Filtering by arrival Airport IATA code.
arr_icao required Filtering by arrival Airport ICAO code.
airline_icao required Filtering by Airline ICAO code.
airline_iata required Filtering by Airline IATA code.
flight_icao optional Filtering by Flight ICAO code-number.
flight_iata optional Filtering by Flight IATA code-number.
flight_number optional Filtering by Flight number only.
_fields optional Fields to return (comma separated, e.g.: airline_iata,flight_number)

Example API Response:


          [{
            "airline_iata": "UL",
            "airline_icao": "ALK",
            "flight_number": "2265",
            "flight_iata": "UL2265",
            "flight_icao": "ALK2265",
            "cs_airline_iata": "EY",
            "cs_flight_iata": "EY265",
            "cs_flight_number": "265",
            "dep_iata": "CMB",
            "dep_icao": "VCBI",
            "dep_time": "02:50",
            "dep_time_utc": "21:20",
            "dep_terminals": ["1"],
            "arr_iata": "AUH",
            "arr_icao": "OMAA",
            "arr_time": "05:50",
            "arr_time_utc": "01:50",
            "arr_terminals": ["1", "T3"],
            "duration": 270,
            "days": ["mon", "wed", "sat"]
          }]
          


Response Parameters:

Parameter Description
airline_icao Airline ICAO code. Available in the Free plan.
airline_iata Airline IATA code. Available in the Free plan.
flight_icao Flight ICAO code-number. Available in the Free plan.
flight_iata Flight IATA code-number. Available in the Free plan.
flight_number Flight number only. Available in the Free plan.
cs_airline_iata Codeshared airline IATA code.
cs_flight_iata Codeshared flight IATA code-number.
cs_flight_number Codeshared flight number.
dep_icao Departure airport ICAO code.
dep_iata Departure airport IATA code.
dep_time Departure time in the airport time zone.
dep_time_utc Departure time in UTC time zone.
dep_terminals List of possible departure terminals.
arr_icao Arrival airport ICAO code.
arr_iata Arrival airport IATA code.
arr_time Time of arrival in the airport time zone.
arr_time_utc Time of arrival in the UTC time zone.
arr_terminals A list of possible arrival terminals.
duration Estimated flight time (in minutes).
days Flight departure days - sun, mon, tue, wed, thu, fri, sat.

By the way, you may also be interested in the d3.js and grid.js libraries.


       Github    Reddit

See also

Aircraft Fleets Database API
Real-Time Flights API
Live Airport Schedules API
Airports Database API
Airlines Database API


Questions? Contact us.