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.

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


In addition to providing real-time flight data, the API flight endpoint is also capable of searching historical flight data.

The endpoint returns information from 200 days to the current day.



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

Get Historical Data - Endpoint Features

Object Description
code [Required] Departure or arrival airport IATA code.
type [Required] Either "departure" or "arrival" as both within the same query is not possible.
date_from [Required] Beggining of the search range (local time, format:YYYY-MM-DDTHH:MM).
date_to [Required] End of the search range (local time, format:YYYY-MM-DDTHH:MM). Must be more than beggining of the search range by no more than 12 hours.
dep_iataCode [Optional] Filter by departure airport if "arrival" for "&type=" was chosen, based on the airport IATA code.
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
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":200,"success":true,"code":"LGA","type":"arrival","data":[{"movement":{"airport":{"icao":"KALB","iata":"ALB","name":"Albany"},"scheduledTime":{"utc":"2023-10-04 10:30Z","local":"2023-10-04 06:30-04:00"},"revisedTime":{"utc":"2023-10-04 15:46Z","local":"2023-10-04 11:46-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5194","callSign":"EDV5194","status":"Approaching","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N183GJ","modeS":"A14C70","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KILM","iata":"ILM","name":"Wilmington"},"scheduledTime":{"utc":"2023-10-04 11:41Z","local":"2023-10-04 07:41-04:00"},"revisedTime":{"utc":"2023-10-04 12:17Z","local":"2023-10-04 08:17-04:00"},"runwayTime":{"utc":"2023-10-04 12:17Z","local":"2023-10-04 08:17-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AA 4682","callSign":"RPA4682","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N102HQ","modeS":"A00CE0","model":"Embraer 175"},"airline":{"name":"American","iata":"AA","icao":"AAL"}},{"movement":{"airport":{"icao":"CYUL","iata":"YUL","name":"Montreal"},"scheduledTime":{"utc":"2023-10-04 11:52Z","local":"2023-10-04 07:52-04:00"},"revisedTime":{"utc":"2023-10-04 12:13Z","local":"2023-10-04 08:13-04:00"},"runwayTime":{"utc":"2023-10-04 12:13Z","local":"2023-10-04 08:13-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AC 8632","callSign":"JZA632","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"C-FRQP","modeS":"C02E94","model":"Embraer 175"},"airline":{"name":"Air Canada","iata":"AC","icao":"ACA"}},{"movement":{"airport":{"icao":"KBOS","iata":"BOS","name":"Boston"},"scheduledTime":{"utc":"2023-10-04 12:36Z","local":"2023-10-04 08:36-04:00"},"revisedTime":{"utc":"2023-10-04 14:31Z","local":"2023-10-04 10:31-04:00"},"runwayTime":{"utc":"2023-10-04 14:31Z","local":"2023-10-04 10:31-04:00"},"quality":["Basic","Live"]},"number":"1I 811","callSign":"EJA811","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N811QS","modeS":"AB0E82","model":"C700"},"airline":{"name":"NetJets Aviation","iata":"1I","icao":"EJA"}},{"movement":{"airport":{"icao":"KIND","iata":"IND","name":"Indianapolis"},"scheduledTime":{"utc":"2023-10-04 12:28Z","local":"2023-10-04 08:28-04:00"},"revisedTime":{"utc":"2023-10-04 12:40Z","local":"2023-10-04 08:40-04:00"},"runwayTime":{"utc":"2023-10-04 12:40Z","local":"2023-10-04 08:40-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AA 4455","callSign":"RPA4455","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N418YX","modeS":"A4F414","model":"Embraer 175"},"airline":{"name":"American","iata":"AA","icao":"AAL"}},{"movement":{"airport":{"icao":"CYUL","iata":"YUL","name":"Montreal"},"scheduledTime":{"utc":"2023-10-04 12:29Z","local":"2023-10-04 08:29-04:00"},"revisedTime":{"utc":"2023-10-04 12:03Z","local":"2023-10-04 08:03-04:00"},"runwayTime":{"utc":"2023-10-04 12:03Z","local":"2023-10-04 08:03-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AA 4469","callSign":"RPA4469","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N869RW","modeS":"ABF1D2","model":"Embraer 170"},"airline":{"name":"American","iata":"AA","icao":"AAL"}},{"movement":{"airport":{"icao":"CYYZ","iata":"YYZ","name":"Toronto"},"scheduledTime":{"utc":"2023-10-04 12:40Z","local":"2023-10-04 08:40-04:00"},"revisedTime":{"utc":"2023-10-04 12:10Z","local":"2023-10-04 08:10-04:00"},"runwayTime":{"utc":"2023-10-04 12:10Z","local":"2023-10-04 08:10-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AA 4542","callSign":"RPA4542","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N402YX","modeS":"A4B64B","model":"Embraer 175"},"airline":{"name":"American","iata":"AA","icao":"AAL"}},{"movement":{"airport":{"icao":"KCMH","iata":"CMH","name":"Columbus"},"scheduledTime":{"utc":"2023-10-04 12:56Z","local":"2023-10-04 08:56-04:00"},"revisedTime":{"utc":"2023-10-04 12:55Z","local":"2023-10-04 08:55-04:00"},"runwayTime":{"utc":"2023-10-04 12:55Z","local":"2023-10-04 08:55-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"AA 4799","callSign":"RPA4799","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N429YX","modeS":"A51F4A","model":"Embraer 175"},"airline":{"name":"American","iata":"AA","icao":"AAL"}},{"movement":{"airport":{"icao":"KTPA","iata":"TPA","name":"Tampa"},"scheduledTime":{"utc":"2023-10-04 12:39Z","local":"2023-10-04 08:39-04:00"},"revisedTime":{"utc":"2023-10-04 12:35Z","local":"2023-10-04 08:35-04:00"},"runwayTime":{"utc":"2023-10-04 12:35Z","local":"2023-10-04 08:35-04:00"},"terminal":"B","quality":["Basic","Live"]},"number":"B6 48","callSign":"JBU48","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N649JB","modeS":"A88774","model":"Airbus A320"},"airline":{"name":"JetBlue Airways","iata":"B6","icao":"JBU"}},{"movement":{"airport":{"icao":"KDTW","iata":"DTW","name":"Detroit"},"scheduledTime":{"utc":"2023-10-04 12:45Z","local":"2023-10-04 08:45-04:00"},"revisedTime":{"utc":"2023-10-04 12:27Z","local":"2023-10-04 08:27-04:00"},"runwayTime":{"utc":"2023-10-04 12:27Z","local":"2023-10-04 08:27-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 2444","callSign":"DAL2444","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N103DY","modeS":"A0103B","model":"Airbus A321"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KJAX","iata":"JAX","name":"Jacksonville"},"scheduledTime":{"utc":"2023-10-04 12:17Z","local":"2023-10-04 08:17-04:00"},"revisedTime":{"utc":"2023-10-04 12:11Z","local":"2023-10-04 08:11-04:00"},"runwayTime":{"utc":"2023-10-04 12:11Z","local":"2023-10-04 08:11-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 2723","callSign":"DAL2723","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N106DU","modeS":"A01B5C","model":"Airbus A220-100"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KATL","iata":"ATL","name":"Atlanta"},"scheduledTime":{"utc":"2023-10-04 12:50Z","local":"2023-10-04 08:50-04:00"},"revisedTime":{"utc":"2023-10-04 12:22Z","local":"2023-10-04 08:22-04:00"},"runwayTime":{"utc":"2023-10-04 12:22Z","local":"2023-10-04 08:22-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 379","callSign":"DAL379","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N368DN","modeS":"A42A5C","model":"Airbus A321"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"CYYZ","iata":"YYZ","name":"Toronto"},"scheduledTime":{"utc":"2023-10-04 12:22Z","local":"2023-10-04 08:22-04:00"},"revisedTime":{"utc":"2023-10-04 12:02Z","local":"2023-10-04 08:02-04:00"},"runwayTime":{"utc":"2023-10-04 11:59Z","local":"2023-10-04 07:59-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5031","callSign":"EDV5031","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N916XJ","modeS":"ACAF0B","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KROA","iata":"ROA","name":"Roanoke"},"scheduledTime":{"utc":"2023-10-04 12:59Z","local":"2023-10-04 08:59-04:00"},"revisedTime":{"utc":"2023-10-04 12:39Z","local":"2023-10-04 08:39-04:00"},"runwayTime":{"utc":"2023-10-04 12:39Z","local":"2023-10-04 08:39-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5071","callSign":"EDV5071","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N478PX","modeS":"A5E02D","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KTYS","iata":"TYS","name":"Knoxville"},"scheduledTime":{"utc":"2023-10-04 12:29Z","local":"2023-10-04 08:29-04:00"},"revisedTime":{"utc":"2023-10-04 12:08Z","local":"2023-10-04 08:08-04:00"},"runwayTime":{"utc":"2023-10-04 12:08Z","local":"2023-10-04 08:08-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5105","callSign":"EDV5105","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N485PX","modeS":"A5FC87","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"CYUL","iata":"YUL","name":"Montreal"},"scheduledTime":{"utc":"2023-10-04 12:35Z","local":"2023-10-04 08:35-04:00"},"revisedTime":{"utc":"2023-10-04 12:07Z","local":"2023-10-04 08:07-04:00"},"runwayTime":{"utc":"2023-10-04 12:07Z","local":"2023-10-04 08:07-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5149","callSign":"EDV5149","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N138EV","modeS":"A09961","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KDAY","iata":"DAY","name":"Dayton"},"scheduledTime":{"utc":"2023-10-04 12:59Z","local":"2023-10-04 08:59-04:00"},"revisedTime":{"utc":"2023-10-04 12:36Z","local":"2023-10-04 08:36-04:00"},"runwayTime":{"utc":"2023-10-04 12:36Z","local":"2023-10-04 08:36-04:00"},"terminal":"C","quality":["Basic","Live"]},"number":"DL 5356","callSign":"EDV5356","status":"Arrived","codeshareStatus":"IsOperator","isCargo":false,"aircraft":{"reg":"N904XJ","modeS":"AC801E","model":"Canadair CRJ 900"},"airline":{"name":"Delta Air Lines","iata":"DL","icao":"DAL"}},{"movement":{"airport":{"icao":"KGSP","iata":"GSP","name":"Greenville"},"scheduledTime":{"utc":"2023-10-04 12:47Z","local":"2023-10-04 08:47-04:00"},"revisedTime":{"utc":"2023-10-04 12:15Z","local":"2023-10-04 08:15-04:00"},"runwayTime":{"utc":"2023-10-04 12:15Z","lo...
                                                                                                                                                                                                                    
                                                                                                    

Get Historical Data - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2583/historical+flights+api/2583/get+historical+data?code=Required&type=Required&date_from=Required&date_to=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
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

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 like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
1,133ms

Category:


Related APIs