FLIGHT-TRACK

Get real-time flight data all around the world

AirLabs documentation

Usage

1. Making an HTTP request via a web browser or API platform etc. Postman.

2. The following parameters are accepted:

flag

ISO 2 country code

E.g. MY

airline_iata

Airline IATA code

E.g. MH

flight_iata

Flight IATA code-number

E.g. MH102

dep_iata

Departure Airport IATA code

E.g. KUL

arr_iata

Arrival Airport IATA code

E.g. DAC

status

Current flight status

E.g. scheduled/en-route/landed

download

To download the JSON output

Empty or any value is fine

  1. Depending on the parameters, the script will construct a URL to fetch information from the AirLabs API accordingly.

Parameter Guidelines

  • flag parameter:

    • The script will retrieve all flight data that belongs to the selected country.

  • airline_iata parameter:

    • The script will retrieve all flight data that are relating to the airline code (IATA).

  • flight_iata parameter:

    • The script will retrieve all flight data that are relating to the flight code-number (IATA).

  • dep_iata parameter:

    • The script will retrieve all flight data where the flights depart from the airport which is specified using its airport code (IATA).

  • arr_iata parameter

    • The script will retrieve all flight data where the flights arrive at the airport which is specified using its airport code (IATA).

  • status parameter

    • The script will retrieve all flight data according to the status that is specified.

  • download parameter

    • The JSON output will be automatically downloaded from the web browser. See the download sample at here.

References

List of country codes (IATA)

List of airline codes (IATA)

List of airport codes (IATA)

Demo

Retrieves all flight data in Malaysia where the flights has landed.
Retrieves all flight data in Hong Kong where the flights departed from Hong Kong and are currently flying

Download

Last updated