Historical Flight Data API ☆ Beta

Discover how you can use the Historical Flight Data API to look up past flight history, completed flights and actual flight times to build your products.


The Historical Flight Data API returns historical flight data for already completed flights, so you can run a flight history lookup by flight number and see exactly what happened.

For every past flight you get both the scheduled and the actual departure and arrival times, the flight duration, and the final status - landed, cancelled or diverted - together with departure and arrival delays in minutes.

Use historical flight data by flight number to reconstruct a single journey or to study departures and arrivals over time, including historical flight arrival times and full flight arrival history.

The same past flight history powers flight delay history and historical flight cancellation data reporting, so you can measure on-time performance, analyse historical flight delays and benchmark routes and airlines.

With historical flight statistics at your fingertips, you can build flight history lookup by date tools, on-time dashboards, compensation and travel-disruption apps, watches, bots, and wherever else your users need reliable aviation data.

Departure and arrival airports keep this information long after a flight has landed - the Historical Flight Data API simply makes that flight history available to your product through a single request.


Historical Flight Data API Request:


                https://airlabs.co/api/v10/historical?flight_iata=AA6&api_key={{params.api_key}}
              

Historical Flight Data API Request Parameters:

Parameter Description
api_key required Your API Key from account dashboard.
flight_iata required Query historical flight data by Flight IATA code-number (e.g. AA6).
flight_icao required Query past flight history by Flight ICAO code-number (e.g. AAL6).
offset optional Pagination offset for use with result limits (0+ until request.has_more)

Historical Flight Data API Response:


              [{
                "dep_iata": "HNL",
                "dep_icao": "PHNL",
                "dep_time": "2026-05-05 17:42",
                "dep_actual": "2026-05-05 18:02",
                "arr_iata": "DFW",
                "arr_icao": "KDFW",
                "arr_time": "2026-05-06 06:00",
                "arr_actual": "2026-05-06 05:35",
                "dep_delayed": 20,
                "arr_delayed": null,
                "duration": 438,
                "status": "landed"
              }]
              


Historical Flight Data API response parameters:

Parameter Description
dep_iata Departure airport IATA code. Available in the Free plan.
dep_icao Departure airport ICAO code.
dep_time Scheduled departure time in the airport time zone. Available in the Free plan.
dep_actual Actual departure time in the airport time zone - when the flight really departed.
arr_iata Arrival airport IATA code. Available in the Free plan.
arr_icao Arrival airport ICAO code.
arr_time Scheduled arrival time in the airport time zone. Available in the Free plan.
arr_actual Actual arrival time in the airport time zone - when the flight really landed.
dep_delayed Departure delay of the historical flight (in minutes).
arr_delayed Arrival delay of the historical flight (in minutes). Can be null if not available.
duration Total flight time (in minutes).
status Historical flight status - landed, cancelled or diverted.

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


       Github    Reddit

See also

Real-Time Flights API
Flight Schedules API
Flight Delays API
Airlines Database API
Airports Database API


Questions? Contact us.