Historical Flights API

Historical Flights API

Unearth the secrets of the friendly skies with our Historical Flights API! Dive into the world of commercial flights, unraveling delays, schedules, and more. Journey back in time by searching with just a date, perfect for travelers, analysts, and aviation aficionados seeking flight insights from days gone by.

API description

About the API:  

Flight Delay and Schedule Insights

One of the API's standout features is its ability to provide historical data on flight delays and schedules. Travelers can investigate past flights to gauge the reliability of specific routes, airlines, or timeframes. This data is particularly useful for making informed decisions when planning future trips, avoiding potential delays, and selecting flights that align with your preferences.

Data Exploration Made Easy

Searching for historical flight data is a breeze with the Historical Flights API. Users can retrieve information based on specific dates, allowing for precise and tailored research. The API's user-friendly design ensures that accessing flight history is both efficient and informative.

Applications Across Industries

This API is a versatile tool with applications across various industries. Travel agencies and booking platforms can enhance their services by providing customers with valuable insights into past flight performances. Aviation analysts and researchers can utilize the API to examine trends and patterns in commercial flight data over time.

Enhance Travel Planning

For travelers, the Historical Flights API is a valuable resource for optimizing travel plans. By examining historical schedules and delays, you can make well-informed decisions when booking flights and avoid potential inconveniences during your journey.

 

What this API receives and what your API provides (input/output)?

This API will allow you to get information about historical flights.  

Delay amount is included in minutes if a flight was delayed at the date.

The maximum date range can be 30 days which may be reduced to 3-5 days for large airports with heavy traffic.

 

What are the most common uses cases of this API?

  1. Travel Planning and Research: Travelers can use the API to research and plan future trips more effectively. By accessing historical flight delay and schedule data, travelers can choose flights and airlines with a track record of reliability, ensuring a smoother travel experience.

  2. Airlines and Aviation Analysts: Airlines and aviation analysts can utilize the API to gain insights into historical flight data. This information can be invaluable for identifying trends, optimizing schedules, and improving overall operations. It enables airlines to make data-driven decisions to enhance efficiency and customer satisfaction.

  3. Travel Booking Platforms: Travel booking websites and apps can integrate the Historical Flights API to provide users with historical flight performance data. This empowers travelers to make informed choices when booking flights, ultimately leading to higher customer satisfaction and loyalty.

  4. Historical Flight Performance Analysis: Researchers, data analysts, and aviation historians can leverage the API to conduct in-depth studies and analyses of historical flight data. This could involve examining trends in flight delays, assessing the impact of weather on flight schedules, or tracing the evolution of specific routes over time.

 

Are there any limitations to your plans?

Besides the number of API calls available for the plan, there are no other limitations. 

API Documentation

Endpoints


This endpoint will retrieve historical data from a given flight or date.

Delay amount is included in minutes if a flight was delayed at the date.

The maximum date range can be 30 days which may be reduced to 3-5 days for large airports with heavy traffic.



                                                                            
GET https://zylalabs.com/api/2583/historical+flights+api/2583/get+historical+data
                                                                            
                                                                        

Get Historical Data - Endpoint Features
Object Description
date_to [Optional] Filter your results by end date of the requested date range.
dep_iataCode [Optional] dep_iataCode
arr_iataCode [Optional] Filter your results by arrival airport if "departure" for "&type=" was chosen, based on the airport IATA code
airline_iata [Optional] Option to filter airline based on airline IATA code
flight_num [Optional] Option to filter a specific flight based on its flight number. Example: 5703
type [Optional] Either "departure" or "arrival" as both within the same query is not possible.
code [Optional] Departure or arrival airport IATA code.
date [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"data":[{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":112,"scheduledTime":"2023-08-20t20:05:00.000","estimatedTime":"2023-08-20t21:57:00.000"},"arrival":{"iataCode":"lgw","icaoCode":"egkk","terminal":"s","scheduledTime":"2023-08-21t08:00:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5432","iataNumber":"ay5432","icaoNumber":"fin5432"},"codeshared":{"airline":{"name":"british airways","iataCode":"ba","icaoCode":"baw"},"flight":{"number":"2272","iataNumber":"ba2272","icaoNumber":"baw2272"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":15,"scheduledTime":"2023-08-20t20:10:00.000","estimatedTime":"2023-08-20t20:40:00.000","actualTime":"2023-08-20t20:24:00.000","estimatedRunway":"2023-08-20t20:24:00.000","actualRunway":"2023-08-20t20:24:00.000"},"arrival":{"iataCode":"lhr","icaoCode":"egll","terminal":"5","scheduledTime":"2023-08-21t08:20:00.000","estimatedTime":"2023-08-21t07:36:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5516","iataNumber":"ay5516","icaoNumber":"fin5516"},"codeshared":{"airline":{"name":"british airways","iataCode":"ba","icaoCode":"baw"},"flight":{"number":"116","iataNumber":"ba116","icaoNumber":"baw116"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"40","delay":78,"scheduledTime":"2023-08-20t20:40:00.000","estimatedTime":"2023-08-20t21:58:00.000"},"arrival":{"iataCode":"bos","icaoCode":"kbos","terminal":"b","baggage":"2","gate":"b4","scheduledTime":"2023-08-20t22:10:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"4153","iataNumber":"ay4153","icaoNumber":"fin4153"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"4743","iataNumber":"aa4743","icaoNumber":"aal4743"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":13,"scheduledTime":"2023-08-20t20:50:00.000","estimatedTime":"2023-08-20t20:50:00.000","actualTime":"2023-08-20t21:03:00.000","estimatedRunway":"2023-08-20t21:03:00.000","actualRunway":"2023-08-20t21:03:00.000"},"arrival":{"iataCode":"mad","icaoCode":"lemd","terminal":"4s","baggage":"07","scheduledTime":"2023-08-21t10:15:00.000","estimatedTime":"2023-08-21t09:25:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5656","iataNumber":"ay5656","icaoNumber":"fin5656"},"codeshared":{"airline":{"name":"iberia","iataCode":"ib","icaoCode":"ibe"},"flight":{"number":"6252","iataNumber":"ib6252","icaoNumber":"ibe6252"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":35,"scheduledTime":"2023-08-20t20:55:00.000","estimatedTime":"2023-08-20t21:30:00.000"},"arrival":{"iataCode":"lhr","icaoCode":"egll","terminal":"5","scheduledTime":"2023-08-21t09:00:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5472","iataNumber":"ay5472","icaoNumber":"fin5472"},"codeshared":{"airline":{"name":"british airways","iataCode":"ba","icaoCode":"baw"},"flight":{"number":"172","iataNumber":"ba172","icaoNumber":"baw172"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"39","delay":11,"scheduledTime":"2023-08-20t20:59:00.000","estimatedTime":"2023-08-20t21:39:00.000","actualTime":"2023-08-20t21:09:00.000","estimatedRunway":"2023-08-20t21:09:00.000","actualRunway":"2023-08-20t21:09:00.000"},"arrival":{"iataCode":"lax","icaoCode":"klax","terminal":"4","baggage":"t4a","gate":"42b","scheduledTime":"2023-08-21t00:07:00.000","estimatedTime":"2023-08-20t23:28:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5719","iataNumber":"ay5719","icaoNumber":"fin5719"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"300","iataNumber":"aa300","icaoNumber":"aal300"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"36","delay":24,"scheduledTime":"2023-08-20t21:00:00.000","estimatedTime":"2023-08-20t21:45:00.000","actualTime":"2023-08-20t21:24:00.000","estimatedRunway":"2023-08-20t21:24:00.000","actualRunway":"2023-08-20t21:24:00.000"},"arrival":{"iataCode":"rdu","icaoCode":"krdu","terminal":"2","baggage":"4","gate":"c12","scheduledTime":"2023-08-20t23:06:00.000","estimatedTime":"2023-08-20t22:33:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"4245","iataNumber":"ay4245","icaoNumber":"fin4245"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"4290","iataNumber":"aa4290","icaoNumber":"aal4290"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"43","delay":28,"scheduledTime":"2023-08-20t21:15:00.000","estimatedTime":"2023-08-20t21:59:00.000","actualTime":"2023-08-20t21:42:00.000","estimatedRunway":"2023-08-20t21:42:00.000","actualRunway":"2023-08-20t21:42:00.000"},"arrival":{"iataCode":"sfo","icaoCode":"ksfo","terminal":"1","baggage":"cl-b","gate":"b25","scheduledTime":"2023-08-21t00:55:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"4172","iataNumber":"ay4172","icaoNumber":"fin4172"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"177","iataNumber":"aa177","icaoNumber":"aal177"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"44","delay":10,"scheduledTime":"2023-08-20t21:46:00.000","estimatedTime":"2023-08-20t22:23:00.000","actualTime":"2023-08-20t21:55:00.000","estimatedRunway":"2023-08-20t21:55:00.000","actualRunway":"2023-08-20t21:55:00.000"},"arrival":{"iataCode":"dca","icaoCode":"kdca","terminal":"2","baggage":"7","gate":"e52","scheduledTime":"2023-08-20t23:31:00.000","actualTime":"2023-08-20t22:36:00.000","estimatedRunway":"2023-08-20t22:36:00.000","actualRunway":"2023-08-20t22:36:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"4119","iataNumber":"ay4119","icaoNumber":"fin4119"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"4546","iataNumber":"aa4546","icaoNumber":"aal4546"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":31,"scheduledTime":"2023-08-20t22:55:00.000","estimatedTime":"2023-08-20t23:26:00.000"},"arrival":{"iataCode":"hel","icaoCode":"efhk","terminal":"2","baggage":"4","scheduledTime":"2023-08-21t14:00:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"16","iataNumber":"ay16","icaoNumber":"fin16"}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":27,"scheduledTime":"2023-08-20t23:00:00.000","estimatedTime":"2023-08-20t23:27:00.000"},"arrival":{"iataCode":"lhr","icaoCode":"egll","terminal":"5","scheduledTime":"2023-08-21t11:00:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5482","iataNumber":"ay5482","icaoNumber":"fin5482"},"codeshared":{"airline":{"name":"british airways","iataCode":"ba","icaoCode":"baw"},"flight":{"number":"182","iataNumber":"ba182","icaoNumber":"baw182"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":30,"scheduledTime":"2023-08-20t23:45:00.000","estimatedTime":"2023-08-20t23:45:00.000","actualTime":"2023-08-21t00:15:00.000","estimatedRunway":"2023-08-21t00:15:00.000","actualRunway":"2023-08-21t00:15:00.000"},"arrival":{"iataCode":"bcn","icaoCode":"lebl","terminal":"1","baggage":"13","scheduledTime":"2023-08-21t13:30:00.000","estimatedTime":"2023-08-21t13:14:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5394","iataNumber":"ay5394","icaoNumber":"fin5394"},"codeshared":{"airline":{"name":"iberia","iataCode":"ib","icaoCode":"ibe"},"flight":{"number":"2628","iataNumber":"ib2628","icaoNumber":"ibe2628"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"41","delay":31,"scheduledTime":"2023-08-21t06:30:00.000","estimatedTime":"2023-08-21t07:01:00.000"},"arrival":{"iataCode":"clt","icaoCode":"kclt","baggage":"c3","gate":"b15","scheduledTime":"2023-08-21t08:33:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"4184","iataNumber":"ay4184","icaoNumber":"fin4184"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"892","iataNumber":"aa892","icaoNumber":"aal892"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","gate":"37","delay":535,"scheduledTime":"2023-08-21t07:30:00.000","estimatedTime":"2023-08-21t16:25:00.000"},"arrival":{"iataCode":"phx","icaoCode":"kphx","terminal":"4","gate":"a6","scheduledTime":"2023-08-21t09:48:00.000"},"airline":{"name":"finnair","iataCode":"ay","icaoCode":"fin"},"flight":{"number":"5728","iataNumber":"ay5728","icaoNumber":"fin5728"},"codeshared":{"airline":{"name":"american airlines","iataCode":"aa","icaoCode":"aal"},"flight":{"number":"1487","iataNumber":"aa1487","icaoNumber":"aal1487"}}},{"type":"departure","status":"active","departure":{"iataCode":"jfk","icaoCode":"kjfk","terminal":"8","delay":10,"scheduledTime":"2023-08-21t07:55:00.000","estimatedTime":"2023-08-21t07:55:00.000","actualTime":"2023-08-21t08:05:00.000","estimatedRunway":"2023-08-21t08:05:00.000","actualRunway":"2023-08-21t08:05:00.000"},"arrival":{"iataCode":"lhr","icaoCode":"e...
                                                                                                                                                                                                                    
                                                                                                    

Get Historical Data - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2583/historical+flights+api/2583/get+historical+data&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Historical Flights API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The Historical Flights API is a service that offers access to historical flight data, including information about flights, aircraft, routes.

To access the API, you'll need to sign up and obtain an API key from our platform. This API key is used to authenticate your requests to the API.

The API will deliver the latest 30 days of information and 5 days in busier airports.

Yes, rate limits and usage restrictions apply to ensure fair usage. Detailed information on rate limits and usage policies can be found in the API documentation.

Data transmission through the API is secured using industry-standard encryption protocols (HTTPS). Additionally, access to the API is controlled through robust authentication and authorization mechanisms to ensure data privacy and security.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,043ms

Category:


Tags:


Related APIs