Flights by Airline API


Get all the active flights based on the ICAO code of any airline.

Example API Request:

https://app.goflightlabs.com/flights-by-airline? access_key=YOUR_ACCESS_KEY&airline_icao=AZU
Test endpoint

HTTP GET Request Parameters:

Parameter Description
access_key required Your API access key, which can be found in your account dashboard.
airline_icao required Airline ICAO code.

Example API Response:

      
        {
            "success": true,
            "data": [
                {
                    "latitude": -10.5203,
                    "longitude": -42.496,
                    "id": "348045fe",
                    "icao_24bit": "E494F1",
                    "heading": 200,
                    "altitude": 38000,
                    "ground_speed": 465,
                    "squawk": "",
                    "aircraft_code": "A339",
                    "registration": "PR-ANX",
                    "time": 1711390794,
                    "origin_airport_iata": "LIS",
                    "destination_airport_iata": "VCP",
                    "number": "AD8751",
                    "airline_iata": "AD",
                    "on_ground": 0,
                    "vertical_speed": 0,
                    "callsign": "AZU8751",
                    "airline_icao": "AZU"
                },
                { ... },
            ]
        }
      
    

API Response Objects:

Response Object Description
id Return the ID of the flight in the JSON response. This ID is unique for every flight in the response.
icao_24bit Return the unique 24-bit identifier of the aircraft concerned.
latitude Return the latitude position of the aircraft.
longitude Return the longitude position of the aircraft.
heading Return the direction on which the aircraft is heading.
altitude Return the distance to the ground in Meters.
ground_speed Return the ground speed expressed in knots.
squawk Return the squawk codes used by air traffic control (ATC) to identify aircraft.
aircraft_code An aircraft registration code unique to a single aircraft.
registration An aircraft registration code unique to a single aircraft.
time Return the UNIX timestamp for when the information is given.
origin_airport_iata Return the IATA code of the departure airport.
destination_airport_iata Return the IATA code of the arrival airport.
number Return the flight number.
airline_iata Return the IATA code of the airline.
on_ground Result "0" if the plane is flying. Result "1" if the plane is on the ground.
vertical_speed Return the vertical speed expressed in knots.
callsign A callsign is like an airplane's name during a particular flight.
airline_icao Return the ICAO code of the airline.