DEV Community

Aviation Edge
Aviation Edge

Posted on

Historical Flight Delay API — Historical Flight Delay and Cancellation Data

Aviation Edge Historical Flight Delay API provides historical flight delay data and flight cancellation data for flight compensation agencies, market analysis, independent developers, aviation companies, and more.

Flight compensation demand makes delay and cancellation data an important asset. We aggregate, store, and maintain flight delay and cancellation data in an expanding manner. In this article, we will give you the highlights on how Aviation Edge Historical Flight Delay API can be a useful external data source to track and process historical flight delay data, what sort of details it offers, and how to access the API.

Image description

The Historical Flight Delay API returns a flight-by-flight output of airport schedules based on a requested date or date range in the past. The date range can go up to 7 days. The Historical Flight Delay API is a JSON REST API that has worldwide coverage except for non-scheduled airports like military airfields. However, for multi-purpose airports (i.e. scheduled passenger + military), the schedule data would still be available.

Two notable points for flight compensation projects:

  • Delay data is available for all flights in the response. The value is the total delay length in minutes. If no delay occurred, the value will be "null".

  • The Historical Flight Delay API shows the final flight status (including “canceled” as a status) and it is possible to filter flights by status. So you can view all canceled flights on a specific date or date range in the past for an airport.

  • The API can return either the departure or the arrival schedule at a time, so in case you'd like to cover both schedules for an airport, you may simply make 2 separate API calls.

Read below for more information on the parameters!


Flight Delay API Filters

We have enabled certain parameters that filter down the exact flights you are looking for in the output. You can use the following parameters with the Flight Delay API:

  • &code= (obligatory) IATA code of the airport
  • &type= (obligatory) schedule type that can be either “departure” or “arrival”
  • &date_from= (obligatory) requested start date. For single dates, this is sufficient without an end date.
  • &date_to= requested end date. No need to use it for single dates.
  • &dep_iataCode= flights scheduled to depart at Airport X if you have requested an arrival schedule
  • &arr_iataCode= flights scheduled to arrive at Airport X if you have requested a departure schedule
  • &airline_iata= airline IATA code
  • &flight_num= flight number in “1234” format (use it with the airline filter for full flight number filtering)
  • &status= last recorded flight status (landed, active, cancelled, etc.) The first 3 parameters are obligatory. You can then use the remaining ones to filter the flights further.

Image description

Tip: Visit the documentation on the Aviation Edge Website or the GitHub repo of the API for full input, output, filter information, and more.

GitHub logo AviationEdgeAPI / Historical-Schedules-API

Airport schedule data of historical dates.

Historical-Schedules-API

Aviation Edge Historical Schedules API provides the latest recorded data of airport schedules worlwide, on a given date or date range. It has global coverage with the exception of military and private airfields. We save and collect the real-time data we provide through our Schedules API and provide this in a separate API. The historical API has the same amount of details for each flight in the schedule with even more filters available. Delay and cancellation data stored, making the API perfect for compensation claims and historical flight analysis/comparisons.

Documentation

You may find input parameters, output examples with explanations for each item, filter list, and more in the documentation.

Example Fields of Use

  • Websites, tools or apps on historical flight status
  • Viewing historical flight delays and cancellations for flight compensation
  • Viewing changes in airport or airline traffic over time
  • Avrage delay and cancellation analysis
  • Flight schedule changes analysis

Use-cases of the Historical Schedules API

The Historical Schedules API is particularly useful for the flight compensation field but there is no limit to who can make use of it. Businesses of every size and any developer who is interested in historical airport schedule data will find good use in the Historical Schedules API and build powerful projects implementing it.

Example Use Cases:

  • Historical flight delays and cancellation analyses for flight compensation
  • Websites, tools, or mobile iOS and Android apps on historical flight status and routes
  • Viewing changes in airport or airline traffic over time
  • Average delay and cancellation market analysis for airlines and airports
  • Academic or non-profit research (Tip: Holler us if you are working for a non-profit or looking to use the data for academic projects and we can talk about a free key or discount opportunity!)

Flight Delay Data — Accuracy, Sources, Speed

Is the data accurate? Where do we get the data? What are the response rates like? I want to build an app or a website that runs smoothly!

Let’s explain these.

Aviation Edge Historical Flight Schedules API is trusted by multiple major airlines, ground operations, government bodies, software companies, consultancy companies, compensation claim and travel agencies of all sizes, independent developers, academics, non-profits, and aviation enthusiasts. We expand the historical airport schedule database by storing real-time data which we provide through our trusted data partners in the sector and official sources (from airlines or airports, or official bodies like IATA when available).

We have an average uptime of 99.8% with response rates at around 0.3 ms. This, of course, may depend on the data volume requested in one API call, just like with any other API. The API is subject to a notable Service Level Agreement with guarantees.


How To Access the Flight Delay API

You can create an API subscription with one of the Premium API options below and your API key will be sent to your email address automatically. Get started with greatly discounted rates.

Free & Premium Aviation API - Aviation database and API

Real-time and static Aviation APIs for real-time airport schedule and flight tracking, building airport, aircraft, IATA codes databases and much more.

favicon aviation-edge.com

You can downgrade, upgrade or cancel your plan anytime without commitments. You can send us an email if you have any questions along the way and we will get back to you shortly.

Image description

Got any questions? Contact us anytime!


Follow us everywhere!

@AviationEdgeAPI | Linktree

Aviation Edge is a global aviation API and database provider based in Europe.

favicon linktr.ee

Top comments (2)

Collapse
 
aviationedgeapi profile image
Aviation Edge

Hi! Feel free to send us an email and we'd be happy to find a solution for you!

Collapse
 
jamessss3 profile image
jamessss3

In today's fast-paced world, air travel has become an integral part of our lives. We rely on airlines to get us to our destinations efficiently and on time. However, there are instances when unforeseen circumstances arise, causing flight delays that can disrupt our plans and schedules. I think that you have the possibility to navigate to this website and get more information on this topic right now. Besides, if you feel that your rights as a passenger have been violated, you may consider seeking legal advice or assistance from consumer protection organizations that specialize in air travel matters. They can provide guidance and support in navigating the compensation process and help you understand the options available to you.