<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aviyair</title>
    <description>The latest articles on DEV Community by Aviyair (@aviyair).</description>
    <link>https://dev.to/aviyair</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1053955%2Fc8c9f28c-89f5-447e-b80e-9766396bb483.png</url>
      <title>DEV Community: Aviyair</title>
      <link>https://dev.to/aviyair</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aviyair"/>
    <language>en</language>
    <item>
      <title>Introducing Aviyair’s Current Airline Schedules API</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 18 Dec 2023 07:48:00 +0000</pubDate>
      <link>https://dev.to/aviyair/introducing-aviyairs-current-airline-schedules-api-449e</link>
      <guid>https://dev.to/aviyair/introducing-aviyairs-current-airline-schedules-api-449e</guid>
      <description>&lt;p&gt;Hello (aviation) world! We wanted to write this article to introduce you to a pretty useful API that we have built. &lt;a href="https://aviyair.com/access-current-airline-schedules-api/"&gt;Aviyair’s Current Airline Schedules API&lt;/a&gt; delivers &lt;strong&gt;real-time airline flight data feed with global coverage.&lt;/strong&gt; From large, international carriers to LCCs, the API has extensive coverage to answer projects for all markets.&lt;/p&gt;

&lt;p&gt;In this article, we wanted to highlight the details you, as a developer, might be interested in when it comes to actual airline schedules data. We will cover the API's structure, methods, example request URLs and codes, show output samples, and give you all the useful links for everything else.&lt;/p&gt;

&lt;p&gt;If you feel like you are about o &lt;strong&gt;TL;DR&lt;/strong&gt;, find our full documentation link and API key link right at the end 🤓&lt;/p&gt;




&lt;h2&gt;Table of Contents&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
Current Airline Schedules API Main Features
    &lt;ul&gt;
      &lt;li&gt;API structure&lt;/li&gt;
      &lt;li&gt;Request Methods&lt;/li&gt;
      &lt;li&gt;Example request URLs&lt;/li&gt;
      &lt;li&gt;Example Request Codes&lt;/li&gt;
      &lt;li&gt;Successful Output Sample&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Summary and API Key Links&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HAPc9cQ---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p93mzbwx9cahcrkaupjp.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HAPc9cQ---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p93mzbwx9cahcrkaupjp.jpeg" alt="Image description" width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Current Airline Schedules API Main Features
&lt;/h2&gt;

&lt;p&gt;In this part, you will find basic information about the Current Airline Schedules API which should give you a good idea about whether it will be a good fit. &lt;/p&gt;

&lt;h3&gt;
  
  
  API structure
&lt;/h3&gt;

&lt;p&gt;The current airline schedules API uses the REST structure to deliver actual airline schedules data. You can build your project using any of the major languages like Angular, C#, Go, JAVA, JQuery, Javascript, NodeJS, PHP, Python, R, Ruby, Rust, Scala, Strest, Swift, VueJS and more.&lt;/p&gt;

&lt;p&gt;REST provides ease with integration due to its scalability, speed and optimization. We've ensured our servers are strong enough to answer all usage of our clients. The API delivers data fast, within the industry standards without matter how big the output size is and with basically no downtimes. &lt;/p&gt;




&lt;h3&gt;
  
  
  Request Methods
&lt;/h3&gt;

&lt;p&gt;The API uses the GET method only to deliver current airline schedules data. It simply fetches the real-time data feed from our servers and successfully displays it on your client.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Server:&lt;/strong&gt; &lt;code&gt;https://data.aviyair.com/data/v1/&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Endpoint:&lt;/strong&gt; /liveschedule?&lt;br&gt;
&lt;strong&gt;Obligatory parameters:&lt;/strong&gt; airport_iata and type (refers to the airport type which can be departure or arrival)&lt;br&gt;
&lt;strong&gt;Optional parameters:&lt;/strong&gt; departure_act_time, airline_iata, arrival_est_runway, departure_sch_time, arrival_delay, departure_est_time, arrival_iata, arrival_icao, arrival_act_runway, airline_icao, arrival_act_time, departure_est_runway, flight_iata, flight_number, departure_icao, departure_delay, arrival_terminal, departure_iata, flight_icao, airline_name, departure_terminal, arrival_sch_time, departure_act_runway and status.&lt;/p&gt;


&lt;h3&gt;
  
  
  Example Request URLs
&lt;/h3&gt;

&lt;p&gt;Below are some example requests to fetch specifically filtered current airline schedules data focusing on the airline. You can also make queries by airline name such as "Qantas" or the ICAO code, such as "QFA".&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;URL&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/liveschedule?key=[API_KEY]&amp;amp;airport_iata=GRU&amp;amp;type=departure&amp;amp;airline_iata=QF&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All flights of Qantas off the real-time departure schedule of GRU&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/liveschedule?key=[API_KEY]&amp;amp;airport_iata=GRU&amp;amp;type=departure&amp;amp;airline_iata=QF&amp;amp;status=cancelled&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All cancelled flights of Qantas off the real-time departure schedule of GRU&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/liveschedule?key=[API_KEY]&amp;amp;airport_iata=GRU&amp;amp;type=departure&amp;amp;airline_iata=QF&amp;amp;flight_number=2462&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;A specific flight of Qantas with flight details in real-time&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h3&gt;
  
  
  Example request Codes
&lt;/h3&gt;
&lt;h3&gt;
  
  
  Python
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;API_KEY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;'your_api_key'&lt;/span&gt;  &lt;span class="c1"&gt;# replace with your actual API key
&lt;/span&gt;
&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;'https://data.aviyair.com/data/v1/liveschedule'&lt;/span&gt;

&lt;span class="n"&gt;params&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s"&gt;'key'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;'airport_iata'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'LHR'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;'type'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'arrival'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;'airline_iata'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'QF'&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s"&gt;"Request failed with status code &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Javascript
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;API_KEY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;your_api_key&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;  &lt;span class="c1"&gt;// replace with your actual API key&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://data.aviyair.com/data/v1/liveschedule&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;params&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;API_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;airport_iata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;LHR&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;arrival&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;airline_iata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;QF&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;keys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;params&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;forEach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;searchParams&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;params&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]));&lt;/span&gt;

&lt;span class="nx"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;json&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Request failed&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Successful Output Sample
&lt;/h3&gt;

&lt;p&gt;The Current Airline Timetables API returns all relevant flights you request at once. But for the sake of clarity, we've added only one flight from the complete current airline schedules data feed below.&lt;/p&gt;

&lt;p&gt;As you can see, an important feature is that you will track real-time delays and flight status of airline flights. Flight status can be cancelled, active, landed, unknown, diverted, scheduled and en-route. This will allow you to build push notifications and offer personalized services.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Since the Actual Airline Schedules API focuses on traditional timetable data, it does not include aircraft details but this is possible to add by separately using our other APIs, at no additional costs!&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "airline": {
      "iataCode": "ID",
      "icaoCode": "BTK",
      "name": "Batik Air"
    },
    "arrival": {
      "actualRunway": "2023-03-15T14:23:00.000",
      "actualTime": "2023-03-15T14:23:00.000",
      "baggage": null,
      "delay": null,
      "estimatedRunway": "2023-03-15T14:23:00.000",
      "estimatedTime": "2023-03-15T14:21:00.000",
      "gate": null,
      "iataCode": "MKZ",
      "icaoCode": "WMKM",
      "scheduledTime": "2023-03-15T14:50:00.000",
      "terminal": null
    },
    "codeshared": null,
    "departure": {
      "actualRunway": "2023-03-15T12:49:00.000",
      "actualTime": "2023-03-15T12:49:00.000",
      "baggage": null,
      "delay": "4",
      "estimatedRunway": "2023-03-15T12:49:00.000",
      "estimatedTime": null,
      "gate": null,
      "iataCode": "PKU",
      "icaoCode": "WIBB",
      "scheduledTime": "2023-03-15T12:45:00.000",
      "terminal": null
    },
    "flight": {
      "iataNumber": "ID311",
      "icaoNumber": "BTK311",
      "number": "311"
    },
    "status": "landed",
    "type": "arrival"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary and API Key Links
&lt;/h2&gt;

&lt;p&gt;In this article, we mentioned that the Current Airport Timetables API of Aviyair delivers real-time airline flight status data, including all airlines from international giants to LCCs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zOBLPUg4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7c6yuvdfn7s1jkyodt61.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zOBLPUg4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7c6yuvdfn7s1jkyodt61.jpeg" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The current airline schedules data feed includes these details for each airline flight in the response: &lt;strong&gt;departure and arrival airport codes, airline IATA and ICAO codes and name, gate, terminal, baggage, scheduled/actual/estimated departure and arrival times, flight status, updated delay, optional aircraft details and more.&lt;/strong&gt;&lt;/p&gt;



&lt;ul&gt;
&lt;li&gt;Visit the &lt;strong&gt;full documentation below&lt;/strong&gt; for everything else that we did not get to cover in this article:&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--a2_VgROG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2023/05/flight_tracker_status-1.yaml" height="" class="m-0" width=""&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You can &lt;strong&gt;get your API key below&lt;/strong&gt; by creating a subscription below:&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s9ioqPNo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-aviyair-logo-70x47.png" height="47" class="m-0" width="70"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;💵 Trial rates help with costs.&lt;br&gt;
✅ Cancel anytime with no commitments or cancellation fees.&lt;br&gt;
📌 No extra charges for exceeding API call limits.&lt;br&gt;
💻 24/7 e-mail support included. (&lt;a href="https://aviyair.com/contact-aviyair/"&gt;&lt;strong&gt;Contact Aviyair anytime&lt;/strong&gt;&lt;/a&gt;)&lt;/p&gt;

</description>
      <category>api</category>
      <category>airlineapi</category>
      <category>airlinedata</category>
      <category>aviation</category>
    </item>
    <item>
      <title>Introducing Aviyair’s Current Airport Schedules API</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 06 Nov 2023 08:07:00 +0000</pubDate>
      <link>https://dev.to/aviyair/introducing-aviyairs-current-airport-schedules-api-1o91</link>
      <guid>https://dev.to/aviyair/introducing-aviyairs-current-airport-schedules-api-1o91</guid>
      <description>&lt;p&gt;Hello, developers of dev.to! Today, we wanted to you to meet &lt;a href="https://aviyair.com/current-airport-schedules-api/" rel="noopener noreferrer"&gt;Aviyair’s Current Airport Schedules API&lt;/a&gt; which is an optimal data tool to fetch real-time timetable data of airports worldwide. With its constant updates and detailed coverage, you will find this API good enough to invest your time in 🤓&lt;/p&gt;

&lt;p&gt;In this article, we will show you all the basics like example 200 OK output, object descriptions, request codes and what other APIs you can combine this one with. You will find useful links at the bottom such as the full documentation and where to get your &lt;strong&gt;API key&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  Table of Contents
&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;What is the Current Airport Schedules API About&lt;/li&gt;
  &lt;li&gt;URL Methods and Parameters&lt;/li&gt;
  &lt;li&gt;Example Python Request Code and 200 OK Output with Descriptions&lt;/li&gt;
  &lt;li&gt;Generating an API Key and Requesting Support&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyznbd2uvhsc1u7surfn.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyznbd2uvhsc1u7surfn.jpeg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is the Current Airport Schedules API About
&lt;/h2&gt;

&lt;p&gt;The Current Airport Schedules API is a &lt;strong&gt;REST API&lt;/strong&gt;, which means it’s simple, scalable and highly adaptable. Using HTTP requests via the GET method, the API delivers data in &lt;strong&gt;JSON&lt;/strong&gt;. As you know, JSON is a lightweight, flexible and easy-to-read data format that is widely used with REST APIs for its speed, accessibility and making way to build powerful web applications. &lt;/p&gt;

&lt;p&gt;The API delivers current airport schedules data and updates constantly, allowing you to display virtual, real-time airport timetables on your website or app. The real-time updates include the flight status, current delay and estimated departure and arrival times among many other essential info. Especially the real-time flight delay data and the status plays a big role in many travel and aviation-related apps where it is essential for the service provider to keep track of the last-minute changes in their customers’ flights.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;By integrating the API, you can build push notifications for flight cancellations, delays, gate and terminal information or display a virtual map of airport traffic, all updated in real-time.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now let’s see how to fetch data, what the delivered current airport schedules data looks like and break down the objects in the response.&lt;/p&gt;




&lt;h2&gt;
  
  
  URL Methods and Parameters
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Server:&lt;/strong&gt; &lt;code&gt;https://data.aviyair.com/data/v1/&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Endpoint:&lt;/strong&gt; /liveschedule?&lt;br&gt;
&lt;strong&gt;Obligatory parameters:&lt;/strong&gt; airport_iata and type&lt;br&gt;
&lt;strong&gt;Optional parameters:&lt;/strong&gt; status, departure_iata, departure_icao, departure_terminal, departure_delay, departure_sch_time, departure_est_time, departure_act_time, departure_est_runway, departure_act_runway, arrival_iata, arrival_icao, arrival_terminal, arrival_delay, arrival_sch_time, arrival_est_time, arrival_act_time, arrival_est_runway, arrival_act_runway, airline_name, airline_iata, airline_icao, flight_number, flight_iata and flight_icao&lt;br&gt;
&lt;strong&gt;Method:&lt;/strong&gt; GET&lt;/p&gt;
&lt;h3&gt;
  
  
  Example URLs
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;URL Example&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/liveschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=departure&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;The real-time schedule of DEL’s departures&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/liveschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=departure&amp;amp;status=cancelled&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All currently canceled flights departing from DEL. The status can also be set as active, started, en-route, landed and unknown&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/liveschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=arrival&amp;amp;airline_iata=SG&amp;amp;flight_number=54&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Current schedule info of SpiceJet’s flight SG54&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h2&gt;
  
  
  Example Python Request Code and 200 OK Output with Descriptions
&lt;/h2&gt;

&lt;p&gt;You can use the below code for Python to request current airport schedule data in JSON format. If the call is unsuccessful for any reason, this will not consume calls from your API call limit.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://data.aviyair.com/data/v1/liveschedule&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;params&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;[API_KEY]&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;airport_iata&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;GRU&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;status&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cancelled&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Error:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Successful Current Airport Timetable Data Output
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "airline": {
      "iataCode": "ID",
      "icaoCode": "BTK",
      "name": "Batik Air"
    },
    "arrival": {
      "actualRunway": "2023-03-15T14:23:00.000",
      "actualTime": "2023-03-15T14:23:00.000",
      "baggage": null,
      "delay": null,
      "estimatedRunway": "2023-03-15T14:23:00.000",
      "estimatedTime": "2023-03-15T14:21:00.000",
      "gate": null,
      "iataCode": "MKZ",
      "icaoCode": "WMKM",
      "scheduledTime": "2023-03-15T14:50:00.000",
      "terminal": null
    },
    "codeshared": null,
    "departure": {
      "actualRunway": "2023-03-15T12:49:00.000",
      "actualTime": "2023-03-15T12:49:00.000",
      "baggage": null,
      "delay": "4",
      "estimatedRunway": "2023-03-15T12:49:00.000",
      "estimatedTime": null,
      "gate": null,
      "iataCode": "PKU",
      "icaoCode": "WIBB",
      "scheduledTime": "2023-03-15T12:45:00.000",
      "terminal": null
    },
    "flight": {
      "iataNumber": "ID311",
      "icaoNumber": "BTK311",
      "number": "311"
    },
    "status": "landed",
    "type": "arrival"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Object Table and Descriptions
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;The overall status of the API response&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;status.message&lt;/td&gt;
      &lt;td&gt;The status message indicating if the request was successful&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline&lt;/td&gt;
      &lt;td&gt;Information about the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival&lt;/td&gt;
      &lt;td&gt;Information about the flight's arrival&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualRunway&lt;/td&gt;
      &lt;td&gt;The actual runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualTime&lt;/td&gt;
      &lt;td&gt;The actual arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.baggage&lt;/td&gt;
      &lt;td&gt;The baggage claim information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.delay&lt;/td&gt;
      &lt;td&gt;The arrival delay (in minutes)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedRunway&lt;/td&gt;
      &lt;td&gt;The estimated runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedTime&lt;/td&gt;
      &lt;td&gt;The estimated arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;The arrival gate information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;The scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;The arrival terminal information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;codeshared&lt;/td&gt;
      &lt;td&gt;Information about codeshare agreements (if applicable)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure&lt;/td&gt;
      &lt;td&gt;Information about the flight's departure&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualRunway&lt;/td&gt;
      &lt;td&gt;The actual runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualTime&lt;/td&gt;
      &lt;td&gt;The actual departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.baggage&lt;/td&gt;
&lt;td&gt;The baggage check-in information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.delay&lt;/td&gt;
      &lt;td&gt;The departure delay (in minutes)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedRunway&lt;/td&gt;
      &lt;td&gt;The estimated runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedTime&lt;/td&gt;
      &lt;td&gt;The estimated departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;The departure gate information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;The scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;The departure terminal information (if available)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight&lt;/td&gt;
      &lt;td&gt;Information about the flight itself)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;The flight's current status (e.g., "landed")&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;The flight type (e.g., "arrival")&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Some objects may appear null in the current airport schedules data output if a value (number) is not assigned IRL. For example, some airports may have one gate or one terminal and in this case, a number may not have been assigned to them.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h3&gt;
  
  
  Documentation
&lt;/h3&gt;

&lt;p&gt;Visit the full documentation for both the Current Airport Timetables API and others below.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2023%2F06%2Fhistorical_flight_schedules.yaml" height="auto" class="m-0"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-cropped-aviyair-logo-32x32.png"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  Generating an API Key and Requesting Support
&lt;/h2&gt;

&lt;p&gt;In summary, the Current Airport Timetables API is a REST API that delivers real-time airport schedule data with constant real-time updates. The JSON output includes necessary details like &lt;strong&gt;real-time flight status&lt;/strong&gt; (with cancellations) and &lt;strong&gt;delay, departure and arrival airports, flight number and airline details, scheduled/estimated/actual departure and arrival times with terminal, gate and baggage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The API access takes one minute and &lt;a href="https://aviyair.com/contact-aviyair/" rel="noopener noreferrer"&gt;&lt;strong&gt;we will provide support&lt;/strong&gt;&lt;/a&gt;  before and after you sign up, every step of the way. It is a good choice as a data tool to integration into powerful projects. It has global coverage for airports.&lt;/p&gt;

&lt;p&gt;Get your API key easily below!&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-aviyair-logo-70x47.png" height="auto" class="m-0"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-cropped-aviyair-logo-32x32.png"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;





&lt;p&gt;✅  Cancel your subscription anytime. No commitments.&lt;br&gt;
✅  You will not get charged more if you reach your API call limit. No hidden fees.&lt;br&gt;
✅  Upgrade your plan anytime if you need more calls.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femh46f3h3jrj0tdln9br.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Femh46f3h3jrj0tdln9br.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>airportdata</category>
      <category>airportschedules</category>
      <category>airportapi</category>
    </item>
    <item>
      <title>Aviyair Historical Airline Schedules API Explanation</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 25 Sep 2023 09:00:00 +0000</pubDate>
      <link>https://dev.to/aviyair/aviyair-historical-airline-schedules-api-explanation-4fd4</link>
      <guid>https://dev.to/aviyair/aviyair-historical-airline-schedules-api-explanation-4fd4</guid>
      <description>&lt;p&gt;&lt;a href="https://aviyair.com/historical-airline-schedules-api-by-aviyair/"&gt;&lt;strong&gt;Aviyair’s Historical Airline Schedules API&lt;/strong&gt;&lt;/a&gt; is a good find to fetch past schedules of airlines, globally. This useful API not only offers complete data but many other awesome features like support from a team experienced in aviation and travel, access to many other related APIs, a kick-ass SLA and more.&lt;/p&gt;

&lt;p&gt;Below, we will mention the API’s routes, parameters, methods, request code and output examples with useful details. If you are the type of developer who likes to dive in head-on, find the documentation and API key links at the bottom to test the API yourself, blindfolded. 🤓&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk3MqJM5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ikaprxi42g367pzisajk.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk3MqJM5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ikaprxi42g367pzisajk.jpeg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Table of Contents
&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Historical Airline Schedules API General Info&lt;/li&gt;
  &lt;li&gt;URL Examples with API Methods and Parameters&lt;/li&gt;
  &lt;li&gt;Example Request Code and Output&lt;/li&gt;
  &lt;li&gt;Conclusion and Getting Your API Key&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Historical Airline Schedules API Structure General Info
&lt;/h2&gt;

&lt;p&gt;Here are a few initial things to know about the past airline schedules data before investing your time and how it can benefit you.&lt;/p&gt;

&lt;p&gt;🔎 It is a &lt;strong&gt;REST&lt;/strong&gt; API which will make the integration phase relatively easy for you. This is because REST is known for its high adaptability, optimization and success in caching responses effectively. It also allows you to work with pretty much any programming language easily without having to learn a whole bunch of brand-new methods and techniques.&lt;/p&gt;

&lt;p&gt;🔎 The delivery format is &lt;strong&gt;JSON&lt;/strong&gt; which is widely adaptable and easy to work on directly or convert. It is the format that everybody likes.&lt;/p&gt;

&lt;p&gt;🔎 The API was developed by a team that’s experienced in the industry. If you are working on a solution for a travel or aviation platform, support that comes from people who have worked with a ton of businesses in the industry will be a plus.&lt;/p&gt;

&lt;p&gt;🔎 You will have flexibility with the costs. On top of the support and access to good historical airline schedules data, Aviyair also helps developers save on costs by applying great discounts for the first 2 weeks. We understand the importance of testing, and by testing we don’t mean just a few API calls but the start of the whole integration. We are also open to discussing custom plans you can afford, based on your unique requirements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z3Biv83d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yjyupyv4igud8jwoqcdn.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z3Biv83d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yjyupyv4igud8jwoqcdn.jpeg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  URL Examples with API Methods and Parameters
&lt;/h2&gt;

&lt;p&gt;All routes of the Past Airline Schedules API use the GET method. The &lt;strong&gt;“&amp;amp;airport_iata=”&lt;/strong&gt;, &lt;strong&gt;“&amp;amp;type=”&lt;/strong&gt; and &lt;strong&gt;“&amp;amp;date_from=”&lt;/strong&gt; parameters are obligatory in the URL.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add &lt;em&gt;"&amp;amp;date_to="&lt;/em&gt; to specify a date range. Remember that the date range cannot be too far but you can request different ranges and different days under different API calls simultaneously.&lt;/li&gt;
&lt;li&gt;Add &lt;em&gt;"&amp;amp;airline_iata="&lt;/em&gt; to specify the airline.&lt;/li&gt;
&lt;li&gt;Add &lt;em&gt;"&amp;amp;flight_num="&lt;/em&gt; to track the record of a single flight.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;URL Example&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=departure&amp;amp;date_from=2023-04-17&amp;amp;airline_iata=SG&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All flights of SpiceJet departing from DEL on 2023-04-17&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=arrival&amp;amp;date_from=2023-04-17&amp;amp;date_to=2023-04-19&amp;amp;airline_iata=SG &lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt; All flights of SpiceJet arriving at DEL between 2023-04-17 and 2023-04-19 (3 days included)&lt;/td&gt;
    &lt;/tr&gt;
    
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=DEL&amp;amp;type=arrival&amp;amp;date_from=2023-05-03&amp;amp;airline_iata=SG&amp;amp;flight_number=54&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Schedule data of SpiceJet’s flight SG54 on 2023-05-03&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Example Request Code and Output
&lt;/h2&gt;

&lt;p&gt;Use the simple code for Python below to request data from the Past Airline Schedules API. Unsuccessful calls will not hurt your API call limit.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"https://data.aviyair.com/data/v1/historicalschedule?"&lt;/span&gt;
&lt;span class="n"&gt;params&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s"&gt;"apiKey"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"APIKEY"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;"airport_iata"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"JFK"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"departure"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;"date_from"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"2022-08-01"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;"date_to"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"2022-08-10"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s"&gt;"airline_iata"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"AA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Error:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;p&gt;Check out what the historical airline schedules data looks like for every flight of the airline in the response.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "status": {
      "message": "Success"
    },
    "results": {
      "airline": {
        "iataCode": "AF",
        "icaoCode": "AFR",
        "name": "Air France"
      },
      "arrival": {
        "actualRunway": "2022-08-11T11:48:00.000",
        "actualTime": "2022-08-11T11:48:00.000",
        "baggage": "05",
        "delay": null,
        "estimatedRunway": "2022-08-11T11:48:00.000",
        "estimatedTime": "2022-08-11T11:43:00.000",
        "gate": "2",
        "iataCode": "ORY",
        "icaoCode": "LFPO",
        "scheduledTime": "2022-08-11T12:00:00.000",
        "terminal": "2"
      },
      "departure": {
        "actualRunway": "2022-08-11T10:35:00.000",
        "actualTime": "2022-08-11T10:35:00.000",
        "baggage": "4",
        "delay": "6",
        "estimatedRunway": "2022-08-11T10:35:00.000",
        "estimatedTime": "2022-08-11T10:30:00.000",
        "gate": "2C",
        "iataCode": "NCE",
        "icaoCode": "LFMN",
        "scheduledTime": "2022-08-11T10:30:00.000",
        "terminal": "2"
      },
      "flight": {
        "iataNumber": "AF6209",
        "icaoNumber": "AFR6209",
        "number": "6209"
      },
      "status": "landed",
      "type": "arrival"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Object Table and Descriptions
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;Status of the API request&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The airline IATA code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The airline ICAO code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway time at arrival&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualTime&lt;/td&gt;
      &lt;td&gt;Actual arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.baggage&lt;/td&gt;
      &lt;td&gt;Baggage belt number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;delay&lt;/td&gt;
      &lt;td&gt;Flight delay measured in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;Arrival gate&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;Arrival terminal number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualTime&lt;/td&gt;
      &lt;td&gt;Actual departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.baggage&lt;/td&gt;
      &lt;td&gt;Baggage claim number at departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.delay&lt;/td&gt;
      &lt;td&gt;Departure delay in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;Departure gate number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;Departure airport IATA code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;Departure airport ICAO code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;Departure terminal&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;Latest recorded flight status&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;The type of flight data (arrival or departure)&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;See the full documentation below.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--a2_VgROG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2023/05/flight_tracker_status-1.yaml" height="" class="m-0" width=""&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  Conclusion and Getting Your API Key
&lt;/h2&gt;

&lt;p&gt;The Historical Airline Schedules Data is pretty much a one-in-all solution to integrate into travel and aviation projects. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;It provides &lt;strong&gt;airline codes/names, flight numbers, flight status and delay, gate, baggage belt, terminal, scheduled and actual departure and arrival times and much more&lt;/strong&gt; with a single API. Analyze airline and route performance, display past airline schedules and build personalized and optimized solutions that rely on data. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Thanks to the &lt;strong&gt;global coverage&lt;/strong&gt; of the Historical Airline Schedule API, your solutions will answer every market.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can &lt;a href="https://aviyair.com/contact-aviyair/"&gt;&lt;strong&gt;contact Aviyair anytime.&lt;/strong&gt;&lt;/a&gt; for your questions and support requests.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Get your API key today!&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s9ioqPNo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-aviyair-logo-70x47.png" height="47" class="m-0" width="70"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;





&lt;blockquote&gt;
&lt;p&gt;Tips to keep in mind:&lt;br&gt;
 &lt;br&gt;
✅ You can cancel your subscription anytime. The access comes as a subscription, only to ensure that your data flow is flawless and uninterrupted. We don’t ask for any commitments.&lt;br&gt;
✅ There are no hidden or extra fees. We will not charge you extra if you accidentally reach your past airline timetables API limit. The API will simply give you a warning so you can go and easily upgrade your plan on your dashboard.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BPSSLthG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/emh46f3h3jrj0tdln9br.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BPSSLthG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/emh46f3h3jrj0tdln9br.png" alt="Image description" width="500" height="331"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>airlineapi</category>
      <category>aviation</category>
      <category>airlines</category>
    </item>
    <item>
      <title>Historical Airport Schedules API – Returns Just What It Promises!</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 14 Aug 2023 07:36:00 +0000</pubDate>
      <link>https://dev.to/aviyair/historical-airport-schedules-api-returns-just-what-it-promises-4mo9</link>
      <guid>https://dev.to/aviyair/historical-airport-schedules-api-returns-just-what-it-promises-4mo9</guid>
      <description>&lt;p&gt;Stumbling upon this article, a &lt;a href="https://aviyair.com/discover-historical-airport-schedules-api/"&gt;historical airport schedules API&lt;/a&gt; is probably the data tool you’ve been looking for to get started with your project. Aviyair’s API promises this exact data for airports all around the world with just the necessary objects with each request. Let’s break down what you can expect with the API. If you don’t have time to go through this article, you can find a &lt;strong&gt;link to the full documentation and how to get your API key at the bottom&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--b-Bn2p9I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9777ybvfbeus1qgzvtst.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--b-Bn2p9I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9777ybvfbeus1qgzvtst.jpeg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Table of Contents
&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;API Structure and Integration Environment&lt;/li&gt;
  &lt;li&gt;Example 200 OK Output and Full Documentation&lt;/li&gt;
  &lt;li&gt;URL Examples with API Methods and Filters&lt;/li&gt;
  &lt;li&gt;Summary and API Key Link&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  API Structure and Integration Environment
&lt;/h2&gt;

&lt;p&gt;The structure of the Historical Airport Schedules API is &lt;strong&gt;REST&lt;/strong&gt; which means your preferred programming language will be supported when integrating. REST’s highly adapted style is a developer-friendly feature that will ease the integration phase. In Aviyair, our team members include developers who are experienced in the aviation industry, so we understand the pain of endless nights with coding and coffee to meet deadlines. This is why we aimed to keep the Past Airport Schedules API as plain but effective as possible. Its easing optimization and ability to cache responses effectively are good reasons to choose this structure.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Code your project using Javascript, JQuery, VueJS, Angular, JAVA, PHP, NodeJS, Python, Go, Ruby, C#, R, Strest, Rust, Swift, Scala and more.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Example 200 OK Output and Full Documentation
&lt;/h2&gt;

&lt;p&gt;When only the obligatory parameters of airport IATA code, schedule type and date, the Historical Airport Schedules API is programmed to return the complete schedule in a single call. It is possible to filter the flights in it by airline, flight number and more. As the example output, we will show you a single flight from the output to give you an idea.&lt;/p&gt;

&lt;p&gt;The API returns past airport schedules data in &lt;strong&gt;JSON&lt;/strong&gt; format. You can easily convert this to other formats should you need it. The response times are fast, completely within the industry standards. &lt;/p&gt;

&lt;h3&gt;
  
  
  API Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "status": {
      "message": "Success"
    },
    "results": {
      "airline": {
        "iataCode": "AF",
        "icaoCode": "AFR",
        "name": "Air France"
      },
      "arrival": {
        "actualRunway": "2022-08-11T11:48:00.000",
        "actualTime": "2022-08-11T11:48:00.000",
        "baggage": "05",
        "delay": null,
        "estimatedRunway": "2022-08-11T11:48:00.000",
        "estimatedTime": "2022-08-11T11:43:00.000",
        "gate": "2",
        "iataCode": "ORY",
        "icaoCode": "LFPO",
        "scheduledTime": "2022-08-11T12:00:00.000",
        "terminal": "2"
      },
      "departure": {
        "actualRunway": "2022-08-11T10:35:00.000",
        "actualTime": "2022-08-11T10:35:00.000",
        "baggage": "4",
        "delay": "6",
        "estimatedRunway": "2022-08-11T10:35:00.000",
        "estimatedTime": "2022-08-11T10:30:00.000",
        "gate": "2C",
        "iataCode": "NCE",
        "icaoCode": "LFMN",
        "scheduledTime": "2022-08-11T10:30:00.000",
        "terminal": "2"
      },
      "flight": {
        "iataNumber": "AF6209",
        "icaoNumber": "AFR6209",
        "number": "6209"
      },
      "status": "landed",
      "type": "arrival"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;Status of the API request&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The airline IATA code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The airline ICAO code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway time at arrival&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualTime&lt;/td&gt;
      &lt;td&gt;Actual arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.baggage&lt;/td&gt;
      &lt;td&gt;Baggage belt number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;delay&lt;/td&gt;
      &lt;td&gt;Flight delay measured in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;Arrival gate&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;Arrival terminal number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualTime&lt;/td&gt;
      &lt;td&gt;Actual departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.baggage&lt;/td&gt;
      &lt;td&gt;Baggage claim number at departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.delay&lt;/td&gt;
      &lt;td&gt;Departure delay in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;Departure gate number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;Departure airport IATA code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;Departure airport ICAO code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;Departure terminal&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;Latest recorded flight status&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;The type of flight data (arrival or departure)&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;Visit the full documentation for everything.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--yiZLieeV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2023/04/flight_tracker_status-2.yaml" height="" class="m-0" width=""&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; In case you are looking for other flight details in the historical airport schedules data such as the aircraft details or real-time flight location, keep in mind that we have several other aviation APIs. These will cover anything else that is not in the Historical Airport Schedules API. If you have such a requirement, send us an email explaining it and let us guide you on how you can get this data at no additional costs. This is because the unique API key you get on our website will grant you access to all our APIs. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A2XW9E_a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gj524acrvqi3etae2nuf.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A2XW9E_a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gj524acrvqi3etae2nuf.jpeg" alt="Image description" width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  URL Examples with API Methods and Filters
&lt;/h2&gt;

&lt;p&gt;The Past Airport Schedules API requests are all GET. The server is &lt;code&gt;https://data.aviyair.com/data/v1/&lt;/code&gt; and the endpoint is "/historicalschedule?" with many parameters available to use as filters.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Route&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Departure schedule of CGK on 2023-01-01&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&amp;amp;date_to=2023-01-03&amp;amp;amo&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;The complete departure schedule of CGK between 2023-01-01 and 2023-01-03 (3 days included)&lt;/td&gt;
    &lt;/tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&amp;amp;airline_iata=QZ&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Departure schedule of CGK on 2023-01-01 with every flight of Indonesia AirAsia&lt;/td&gt;
    
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&amp;amp;airline_iata=QZ&amp;amp;flight_number=265&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Delay data and other details for flight QZ265 on 2023-01-01&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h3&gt;
  
  
  USEFUL TIPS CORNER
&lt;/h3&gt;

&lt;p&gt;✅ &lt;strong&gt;Coverage:&lt;/strong&gt; Aviyair’s historical airport schedules data have GLOBAL coverage. No matter which markets you want your business to focus, the API’s got you covered!&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Expert Support:&lt;/strong&gt; If you are not sure how to draw a path for your use case or looking for ways to enhance it, feel free to send us an email and exchange ideas with one of our experts in the industry.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Marketing Opportunity:&lt;/strong&gt; Online visibility matters. If you are looking for ways to increase the organic online visibility of your product powered by Aviyair’s past airport schedules data, we can talk about several affordable opportunities. Give us a holler if you are interested!&lt;/p&gt;




&lt;h2&gt;
  
  
  Summary and API Key Link
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;, the past airport schedules API of Aviyair is a very convenient data tool to &lt;strong&gt;fetch historical airport timetable data&lt;/strong&gt;. With all the useful details in the output such as airline details, airport details, scheduled/estimated/actual departure and arrival + runway times, flight number, flight and cancellation status, total delay, gate, terminal, baggage belt and more, for each flight in the response this **JSON REST **API is definitely a developer-friendly option. You can request one or multiple consecutive dates at once.&lt;/p&gt;

&lt;p&gt;Accessing this API is very easy and &lt;strong&gt;takes 1 minute of your time.&lt;/strong&gt; Simply go with a subscription plan below and receive your API key to your email. Great discounts apply for the first weeks so you can fully test and start integrating the API for basically nothing. &lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Cancel anytime.&lt;/strong&gt; You have full control over your access to the Historical Airport Timetables API.&lt;br&gt;
Custom plans available. If you need fewer or more API calls than our fixed plans, we can get you a custom offer.&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;No hidden fees.&lt;/strong&gt; When you reach your limit, you will simply receive a message in the output and will not get charged unexpectedly. When you need more calls, simply upgrade your plan on your dashboard for immediate higher limits.&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Get support.&lt;/strong&gt; With their background in aviation, Aviyair is here to help if you have any questions or for your support requests. &lt;a href="https://aviyair.com/contact-aviyair/"&gt;&lt;strong&gt;Contact Aviyair here.&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Get your API key and get ready to take-off! 🛫🛫🛫&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s9ioqPNo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-aviyair-logo-70x47.png" height="47" class="m-0" width="70"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  &amp;lt;div class="color-secondary fs-s flex items-center"&amp;gt;
      &amp;lt;img
        alt="favicon"
        class="c-embed__favicon m-0 mr-2 radius-0"
        src="https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png"
        loading="lazy" /&amp;gt;
    aviyair.com
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;/div&gt;
&lt;br&gt;
🛫
&lt;/div&gt;

</description>
      <category>api</category>
      <category>airportapi</category>
      <category>aviation</category>
      <category>historicalflights</category>
    </item>
    <item>
      <title>Historical Flight Delay API for Flight Delay Monitoring</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 10 Jul 2023 08:38:00 +0000</pubDate>
      <link>https://dev.to/aviyair/historical-flight-delay-api-for-flight-delay-monitoring-78e</link>
      <guid>https://dev.to/aviyair/historical-flight-delay-api-for-flight-delay-monitoring-78e</guid>
      <description>&lt;p&gt;Today, we want you to meet Aviyair’s Historical Flight Delay API to get all the details you need with historical flight delay information. With its versatile use case opportunities such as&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Calculating the average flight delay and cancellation rate of an airport, airline or a certain flight or route,&lt;/li&gt;
&lt;li&gt;  Providing data-driven solutions to passengers and airlines about flight delay and cancellation claims,&lt;/li&gt;
&lt;li&gt;  Displaying real-time and historical flight delays to optimize and personalize travel and hospitality services,&lt;/li&gt;
&lt;li&gt;  Airline competition analysis,&lt;/li&gt;
&lt;li&gt;  Airport operation enhancement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;…and much more, this &lt;strong&gt;JSON REST API&lt;/strong&gt; can be just the data source. In this article, you can find the basics to learn more about the data and useful links like full documentation and getting the API key to start building today. TL;DR? Find the API key link below and test the API right away! 🛫&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uJYjXZb9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu5wmrk00usoj6b3izi1.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uJYjXZb9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu5wmrk00usoj6b3izi1.jpeg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;API Structure and Languages Supported&lt;/li&gt;
  &lt;li&gt;Historical Flight Delay API 200 OK Output&lt;/li&gt;
  &lt;li&gt;Getting Your API Key&lt;/li&gt;
  &lt;li&gt;API Methods and Parameters&lt;/li&gt;
  &lt;li&gt;Top 3 Historical Flight Delay API Use Cases&lt;/li&gt;
  &lt;li&gt;Conclusion and API Key Link&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  API Structure and Languages Supported
&lt;/h2&gt;

&lt;p&gt;The Historical Flight Delay API uses &lt;strong&gt;REST&lt;/strong&gt; structure which is a widely-adopted architectural style that has gained popularity due to its simplicity and ease of integration. Thanks to this structure’s ability to cache responses effectively, your product’s performance will be well-optimized and reduce the load on both client and the server. It’s a win-win for all! Another good use of the API’s structure is that it allows working with any major programming language like Python, PHP, Ruby, Swift, JavaScript, Go, and others, so it addresses developers of all backgrounds.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A_XXUfsf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/770pbuzrja3xhfv67l7t.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A_XXUfsf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/770pbuzrja3xhfv67l7t.jpeg" alt="Image description" width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Past Flight Delay API 200 OK Output
&lt;/h2&gt;

&lt;p&gt;Before investing in, we’re sure you’d like to view an example output for the Past Flight Delay API first. You will find below a 200 OK successful response example for a single flight. Note that you can fetch the complete schedule for that date or just a single flight in one API call, but we’ve reduced the example to one flight so it’s easier on the eyes. &lt;/p&gt;

&lt;p&gt;The example is followed by a breakdown of each object in the output and their descriptions. If the detail you are looking for is not here, let us know and we’ll help you. For example, if you are aiming to display aircraft details along with the historical flight delay data, our other APIs could work nicely. The main advantage of this is that you’ll get to access everything with a single API key and data provider!&lt;/p&gt;

&lt;h3&gt;
  
  
  API Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "status": {
      "message": "Success"
    },
    "results": {
      "airline": {
        "iataCode": "AF",
        "icaoCode": "AFR",
        "name": "Air France"
      },
      "arrival": {
        "actualRunway": "2022-08-11T11:48:00.000",
        "actualTime": "2022-08-11T11:48:00.000",
        "baggage": "05",
        "delay": null,
        "estimatedRunway": "2022-08-11T11:48:00.000",
        "estimatedTime": "2022-08-11T11:43:00.000",
        "gate": "2",
        "iataCode": "ORY",
        "icaoCode": "LFPO",
        "scheduledTime": "2022-08-11T12:00:00.000",
        "terminal": "2"
      },
      "departure": {
        "actualRunway": "2022-08-11T10:35:00.000",
        "actualTime": "2022-08-11T10:35:00.000",
        "baggage": "4",
        "delay": "6",
        "estimatedRunway": "2022-08-11T10:35:00.000",
        "estimatedTime": "2022-08-11T10:30:00.000",
        "gate": "2C",
        "iataCode": "NCE",
        "icaoCode": "LFMN",
        "scheduledTime": "2022-08-11T10:30:00.000",
        "terminal": "2"
      },
      "flight": {
        "iataNumber": "AF6209",
        "icaoNumber": "AFR6209",
        "number": "6209"
      },
      "status": "landed",
      "type": "arrival"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status.message&lt;/td&gt;
      &lt;td&gt;Status of the API request&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.actualTime&lt;/td&gt;
      &lt;td&gt;Actual arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.baggage&lt;/td&gt;
      &lt;td&gt;Baggage claim number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.delay&lt;/td&gt;
      &lt;td&gt;Arrival delay in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;Arrival gate number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;Arrival terminal number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualRunway&lt;/td&gt;
      &lt;td&gt;Actual runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.actualTime&lt;/td&gt;
      &lt;td&gt;Actual departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.baggage&lt;/td&gt;
      &lt;td&gt;Baggage claim number at departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.delay&lt;/td&gt;
      &lt;td&gt;Departure delay in minutes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedRunway&lt;/td&gt;
      &lt;td&gt;Estimated runway departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.estimatedTime&lt;/td&gt;
      &lt;td&gt;Estimated departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;Departure gate number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;Scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;Departure terminal number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;status&lt;/td&gt;
      &lt;td&gt;The flight status&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;type&lt;/td&gt;
      &lt;td&gt;The type of flight data (arrival or departure)&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;Visit the full documentation below for everything.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--yiZLieeV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2023/04/flight_tracker_status-2.yaml" height="" class="m-0" width=""&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  Getting Your API Key
&lt;/h2&gt;

&lt;p&gt;Getting your API key for the past flight delay data takes one minute only. Simply create an account on the below button and receive the unique API key to your email. Your access will renew every month automatically unless you cancel it to make sure your data flow is uninterrupted but it is possible to cancel any time before the renewal every month.&lt;/p&gt;

&lt;p&gt;You can also start with a basic plan and upgrade later if you need more API calls along the way.&lt;/p&gt;

&lt;p&gt;No hidden fees or unauthorized charges if you exceed your limit.&lt;/p&gt;




&lt;h2&gt;
  
  
  API Methods and Parameters
&lt;/h2&gt;

&lt;p&gt;The Past Flight Delay API routes rely on the GET method. By using only the obligatory parameters of the API key, airport IATA code and the schedule type, you will fetch the complete schedule of that date, with the total delay information included for each flight in the output.&lt;/p&gt;

&lt;p&gt;✅ Delay is calculated in minutes.&lt;/p&gt;

&lt;p&gt;✅ You can use filters to get a specific flight or airline.&lt;/p&gt;

&lt;p&gt;✅ You can request consecutive historical dates at once.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Route&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Departure schedule of CGK on 2023-01-01 with delays for every flight&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&amp;amp;airline_iata=QZ&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Departure schedule of CGK on 2023-01-01 with delays for every flight of Indonesia AirAsia&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt; https://data.aviyair.com/data/v1/historicalschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date_from=2023-01-01&amp;amp;airline_iata=QZ&amp;amp;flight_number=265&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Delay data and other details for flight QZ265 on 2023-01-01&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you prefer ICAO codes instead, you can use these. For example, “airport_icao=”, “airline_icao=”, etc., are available. The full list of parameters is in the documentation.&lt;/p&gt;

&lt;p&gt;Useful Tip: Aviyair’s historical flight delay data has GLOBAL coverage, meaning you can get all international airports worldwide and provide your services to a multinational clientele.&lt;/p&gt;




&lt;h2&gt;
  
  
  Top 3 Historical Flight Delay API Use Cases
&lt;/h2&gt;

&lt;p&gt;The historical flight delay and flight cancellation API has versatile use-case potential with its details for historical output for global flights. Here are the top 3 use cases of our clients for inspiration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Flight delay and cancellation claims: The past flight delay and cancellation data is a good source for businesses that provide data-driven answers to passenger claims. &lt;/li&gt;
&lt;li&gt;  Analyse average delay and cancellation rates: The historical data is useful to calculate the average delay and cancellation rates for airlines, airports or a specific route.&lt;/li&gt;
&lt;li&gt;  Optimize airport operations: The data also allows analyzing if there is a cumulation in delay for a certain terminal of an airport. With this data, airports can optimize and diversify their operations and manpower more logically.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Interested in increasing the online visibility of your solutions powered by Aviyair’s data? Send us an email about this and let’s talk about opportunities! &lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion and API Key Link
&lt;/h2&gt;

&lt;p&gt;With this, we have talked about Aviyair’s Past Flight Delay and Cancellation API and how it can be a useful data source with its global, historical data. We mentioned that the data includes details such as airline, airport, scheduled/estimated/actual departure and arrival times, flight status, terminal, gate, baggage, delay and more. &lt;/p&gt;

&lt;p&gt;Access to the Historical Flight Delay and Cancellation API below is very easy and takes 1 minute. With their background in aviation, Aviyair team is here to help if you have any questions or request support. &lt;a href="https://aviyair.com/contact-aviyair/"&gt;&lt;strong&gt;Contact Aviyair anytime.&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s9ioqPNo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-aviyair-logo-70x47.png" height="47" class="m-0" width="70"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; If you need less or more API calls than our fixed plans, we can get you a custom offer.&lt;/p&gt;

</description>
      <category>api</category>
      <category>flightdelayapi</category>
      <category>historicalflightdata</category>
      <category>flightapi</category>
    </item>
    <item>
      <title>How to Integrate Aviyair’s Future Airport Schedules API</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Mon, 29 May 2023 07:08:00 +0000</pubDate>
      <link>https://dev.to/aviyair/how-to-integrate-aviyairs-future-airport-schedules-api-575i</link>
      <guid>https://dev.to/aviyair/how-to-integrate-aviyairs-future-airport-schedules-api-575i</guid>
      <description>&lt;p&gt;In this article, we will give you a checklist of the basics to go over when integrating &lt;a href="https://aviyair.com/future-airport-schedules-api-with-instant-access/" rel="noopener noreferrer"&gt;&lt;strong&gt;Aviyair’s Future Airport Schedules API&lt;/strong&gt;&lt;/a&gt;. If you are looking to display airport schedules based on a future date input, this API is just for you. We developed this API by taking into consideration what our peers in the travel and aviation industries would look for in a data source. Our background in the industry was a great help to determine the details included in the output as well as the structure of this &lt;strong&gt;JSON REST API&lt;/strong&gt;. We are confident that you will find ease in this API, so keep on scrolling! &lt;strong&gt;(API key link below)&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Decide How You Want to Implement the API&lt;/li&gt;
  &lt;li&gt;Get Your Future Airport Schedules API Key&lt;/li&gt;
  &lt;li&gt;Available API Methods and Parameters&lt;/li&gt;
  &lt;li&gt;Output Example and Data Object Descriptions&lt;/li&gt;
  &lt;li&gt;User Interface (Friendly Reminder)&lt;/li&gt;
  &lt;li&gt;Conclusion and API Key Link&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Decide How You Want to Implement the API
&lt;/h2&gt;

&lt;p&gt;To successfully integrate the Future Airport Schedules API by Aviyair, it would probably be wise to decide how you’d like to set up your local development environment. First, see which server-side language to use for the integration. Luckily, this is a JSON REST API so its structure allows you to work with pretty much any language you want, like Python, PHP, Ruby, Swift, JavaScript, Go, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9n7okm521dx6vwl38pyq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9n7okm521dx6vwl38pyq.jpeg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Get Your Future Airport Schedules API Key
&lt;/h2&gt;

&lt;p&gt;Needless to say, you will need an API key to access the future airport schedules data. Do this in 2 ways depending on the scale of your project:&lt;/p&gt;

&lt;p&gt;1)  Create a subscription below and get your API key to your email immediately, with Premium monthly API call limits. Choose the best plan for you based on how many API calls you will need per month. Keep in mind that you can cancel a subscription anytime before it renews every monh and there are no hidden fees in case you reach your limit. If this happens, you will simply receive an error about reaching the limit. Then, you can easily upgrade your plan to higher limits right away.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-aviyair-logo-70x47.png" height="auto" class="m-0"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-cropped-aviyair-logo-32x32.png"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;2)  If you are on a tight budget or just would like to make a few calls to see what the data looks like, send us an email for a free test key. The test key we will send you will still give you access to the complete future airport schedules API but with a lower API call limit.&lt;/p&gt;




&lt;h2&gt;
  
  
  Available API Methods and Parameters
&lt;/h2&gt;

&lt;p&gt;After getting your Future Airport Schedules API key, check out how you can filter the data. Do you want to display the whole schedule for a future date or, for example, flights of a certain airline only? Or perhaps an individual flight based on its number. There are many parameters you can use to filter the data. All routes use the GET method.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Route&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date=2024-02-17&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Complete departure schedule of CGK on 2024-02-17&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=arrival&amp;amp;date=2024-02-17&amp;amp;airline_iata=QZ&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All flights of Indonesia AirAsia arriving at CGK on 2024-02-17&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=CGK&amp;amp;type=departure&amp;amp;date=2024-02-17&amp;amp;airline_iata=QZ&amp;amp;flight_number=265&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Data on flight QZ265, scheduled to take off on 2024-02-17 from CGK&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you prefer, you can use ICAO codes instead of IATA as these are supported, too. For example, “airport_icao=”, “airline_icao=”, etc., are available. Full list of parameters are in the documentation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep in mind:&lt;/strong&gt; Aviyair’s Future Airport Schedules data has &lt;strong&gt;GLOBAL&lt;/strong&gt; coverage, meaning you can fetch all international airports worldwide. &lt;/p&gt;




&lt;h2&gt;
  
  
  Output Example and Data Object Descriptions
&lt;/h2&gt;

&lt;p&gt;Let’s take a look at what the output looks like for the future airport schedules data. In addition to the example output, you will find below a table of the objects and their descriptions in more detail. See if the API includes all details you are looking for. For anything else that’s missing, our other APIs can be the answer, so send us an email before considering looking for another provider and splitting your data sources, as this would not be a very time and cost-friendly solution. You can access many APIs of Aviyair &lt;strong&gt;with the same API key&lt;/strong&gt;, so that’s definitely a plus.&lt;/p&gt;

&lt;h3&gt;
  
  
  API Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "weekday": "3",
    "departure": {
      "iataCode": "lgw",
      "icaoCode": "egkk",
      "terminal": "s",
      "gate": "2",
      "scheduledTime": "17:45"
    },
    "arrival": {
      "iataCode": "dub",
      "icaoCode": "eidw",
      "terminal": "1",
      "gate": "02",
      "scheduledTime": "19:00"
    },
    "aircraft": {
      "modelCode": "b738",
      "modelText": "boeing 737-8as"
    },
    "airline": {
      "name": "ryanair",
      "iataCode": "fr",
      "icaoCode": "ryr"
    },
    "flight": {
      "number": "113",
      "iataNumber": "fr113",
      "icaoNumber": "ryr113"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status.message&lt;/td&gt;
      &lt;td&gt;Status of the API request&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;weekday&lt;/td&gt;
      &lt;td&gt;Day of the week of the requested date&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;The terminal of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;The gate number at the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;The originally scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;The terminal of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;The gate number at the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;The originally scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;aircraft.modelCode&lt;/td&gt;
      &lt;td&gt;The aircraft model code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;aircraft.modelText&lt;/td&gt;
      &lt;td&gt;The aircraft model name&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;Visit the full documentation below.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2023%2F06%2Fhistorical_flight_schedules.yaml" height="auto" class="m-0"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-cropped-aviyair-logo-32x32.png"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  User Interface Friendly Reminder
&lt;/h2&gt;

&lt;p&gt;Being in the industry for quite a while, we are aware of how intense the competition is. We have many clients who successfully launch their Future Airport Schedule API-integrated projects, but at the end of the day, the traffic you get depends on your marketing and UI skills. Now that you don’t have to spend time and an excessive amount of money on the data (ahem), make sure to pay close attention to your marketing and UI building budget and methods as this may be the determinant in your commercial success.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3uqw8nf56cvvndd3hf23.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3uqw8nf56cvvndd3hf23.jpeg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; If you are looking for marketing opportunities for your products powered by our data, feel free to send us an email to discuss opportunities!&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion and API Key Link
&lt;/h2&gt;

&lt;p&gt;Sounds interesting so far? To immediately access the Future Airport Timetables API with low costs, professional support, and global airport timetable data with departure/arrival airport, flight times, airline details, aircraft model, and more, spend 1 minute only and get your API key below. For any questions you have or to request support after getting your API key, &lt;a href="https://aviyair.com/contact-aviyair/" rel="noopener noreferrer"&gt;&lt;strong&gt;contact Aviyair anytime.&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-aviyair-logo-70x47.png" height="auto" class="m-0"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Faviyair.com%2Fwp-content%2Fuploads%2F2022%2F08%2Fcropped-cropped-aviyair-logo-32x32.png"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; If you don’t find any of the fixed plans suitable, we can talk about a custom plan, tailored to your requirements. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Tip:&lt;/strong&gt; Are you looking to use the Future Airline Timetables API for a non-profit or academic project? Are you on a very tight budget? Let us know and let’s discuss a free API key or discount opportunity!&lt;/p&gt;

</description>
      <category>airport</category>
      <category>api</category>
      <category>airportschedules</category>
      <category>airportdata</category>
    </item>
    <item>
      <title>Boost Your Travel Website with Aviyair Future Airline Schedules API</title>
      <dc:creator>Aviyair</dc:creator>
      <pubDate>Wed, 26 Apr 2023 10:08:46 +0000</pubDate>
      <link>https://dev.to/aviyair/boost-your-travel-website-with-aviyair-future-airline-schedules-api-1419</link>
      <guid>https://dev.to/aviyair/boost-your-travel-website-with-aviyair-future-airline-schedules-api-1419</guid>
      <description>&lt;p&gt;When developing the &lt;a href="https://aviyair.com/discover-future-airline-schedules-api-with-aviyair/"&gt;Aviyair Future Airline Schedules API&lt;/a&gt;, we aimed our developer peers in the travel and aviation industries to have a smooth integration. This JSON REST API provides future airline schedule data so you can display available flights of an airline on your website, based on future dates your users select. Let’s break it down!&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Prepare Your Development Method&lt;/li&gt;
  &lt;li&gt;Get Your Future Airline Schedules API Credentials to Access&lt;/li&gt;
  &lt;li&gt;Available Methods and Parameters&lt;/li&gt;
  &lt;li&gt;Output Example and Descriptions&lt;/li&gt;
  &lt;li&gt;User Interface (Friendly Reminder)&lt;/li&gt;
  &lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Prepare Your Development Method
&lt;/h2&gt;

&lt;p&gt;Before starting to integrate the Future Airline Schedules API, set up your local development environment and decide the server-side language you will use for the integration. As this is a JSON REST API, you will be able to use any language you are comfortable with, such as JavaScript, Python, PHP, Ruby, Swift and lots of others.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PhZHkmI7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pr2camzlce32y017siwp.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PhZHkmI7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pr2camzlce32y017siwp.jpeg" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Get Your Future Airline Schedules API Credentials to Access
&lt;/h2&gt;

&lt;p&gt;First things first, get your API key. The access to Aviyair's Future Airline Schedule API is possible by creating an API subscription below and receiving your API key to your email address immediately.&lt;/p&gt;

&lt;p&gt;Don't let the word "subscription" scare you because there aren't any commitments or hidden fees. Plus the first month comes at trial rates for testing, starting at $9 only. You can cancel your subscription anytime before it renews monthly and even after this, you'll still have access to the full date until your current month ends.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--s9ioqPNo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-aviyair-logo-70x47.png" height="47" class="m-0" width="70"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/pricing-subscription-plans/" rel="noopener noreferrer" class="c-link"&gt;
          Pricing - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair offers three main subscriptions plans for flight schedules data, airport timetables and airline routes information.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;





&lt;h2&gt;
  
  
  Available Methods and Parameters
&lt;/h2&gt;

&lt;p&gt;Now that you have your API key ready, here are the available methods and parameters to fetch and filter future airline schedules data.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Route&lt;/th&gt;
      &lt;th&gt;Method&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=JFK&amp;amp;type=departure&amp;amp;date=2024-01-03&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Complete departure schedule of JFK on 2024-01-03&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=JFK&amp;amp;type=departure&amp;amp;date=2024-01-03&amp;amp;airline_iata=AA&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;All flights of American Airlines departing from JFK on 2024-01-03&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;https://data.aviyair.com/data/v1/futureschedule?key=APIKEY&amp;amp;airport_iata=JFK&amp;amp;type=departure&amp;amp;date=2024-01-03&amp;amp;airline_iata=AA&amp;amp;flight_number=1234&lt;/td&gt;
      &lt;td&gt;GET&lt;/td&gt;
      &lt;td&gt;Data on flight AA1234, scheduled to take off on 2024-01-03 from JFK&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In addition o these example URLs for the future airline schedules data, there are other parameters you can use to filter the data such as airport and airline ICAO codes (over the IATA code if you prefer the latter), destination airport and more.&lt;/p&gt;




&lt;h2&gt;
  
  
  Output Example and Descriptions
&lt;/h2&gt;

&lt;p&gt;In this section, you will find an example output from the Future Airline Timetables API and a description of each object in it. Looking to display any other details that are not in the output? Contact the team and let's see if we can give you this data with any other APIs that we have. This would be convenient for you because if that's the case, you can access this data with the same key and with the same provider. Don't spend your time and money finding and managing multiple different data providers for a single feature. We got your back!&lt;/p&gt;

&lt;p&gt;API Output&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "status": {
    "message": "Success"
  },
  "results": {
    "weekday": "3",
    "departure": {
      "iataCode": "lgw",
      "icaoCode": "egkk",
      "terminal": "s",
      "gate": "2",
      "scheduledTime": "17:45"
    },
    "arrival": {
      "iataCode": "dub",
      "icaoCode": "eidw",
      "terminal": "1",
      "gate": "02",
      "scheduledTime": "19:00"
    },
    "aircraft": {
      "modelCode": "b738",
      "modelText": "boeing 737-8as"
    },
    "airline": {
      "name": "ryanair",
      "iataCode": "fr",
      "icaoCode": "ryr"
    },
    "flight": {
      "number": "113",
      "iataNumber": "fr113",
      "icaoNumber": "ryr113"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object&lt;/th&gt;
      &lt;th&gt;Description&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;status.message&lt;/td&gt;
      &lt;td&gt;Status of the API request&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;weekday&lt;/td&gt;
      &lt;td&gt;Day of the week which the flight takes place&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.terminal&lt;/td&gt;
      &lt;td&gt;The terminal of the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.gate&lt;/td&gt;
      &lt;td&gt;The gate number at the departure airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;departure.scheduledTime&lt;/td&gt;
      &lt;td&gt;The scheduled departure time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.terminal&lt;/td&gt;
      &lt;td&gt;The terminal of the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.gate&lt;/td&gt;
      &lt;td&gt;The gate number at the arrival airport&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;arrival.scheduledTime&lt;/td&gt;
      &lt;td&gt;The scheduled arrival time&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;aircraft.modelCode&lt;/td&gt;
      &lt;td&gt;The aircraft model code&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;aircraft.modelText&lt;/td&gt;
      &lt;td&gt;The aircraft model name&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.name&lt;/td&gt;
      &lt;td&gt;The name of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.iataCode&lt;/td&gt;
      &lt;td&gt;The IATA code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;airline.icaoCode&lt;/td&gt;
      &lt;td&gt;The ICAO code of the airline&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.number&lt;/td&gt;
      &lt;td&gt;The flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.iataNumber&lt;/td&gt;
      &lt;td&gt;The IATA flight number&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;flight.icaoNumber&lt;/td&gt;
      &lt;td&gt;The ICAO flight number&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;Check out the full documentation below.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://aviyair.com/documentation/" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--fWgCXRm2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2023/04/flight_tracker_status.yaml" height="" class="m-0" width=""&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://aviyair.com/documentation/" rel="noopener noreferrer" class="c-link"&gt;
          Documentation - Aviyair
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Aviyair's documentation gives you all technical aspects of integrating the flight data into softwares or products. API response and requests are provided.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
          &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://res.cloudinary.com/practicaldev/image/fetch/s--uxHhPcTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://aviyair.com/wp-content/uploads/2022/08/cropped-cropped-aviyair-logo-32x32.png" width="32" height="32"&gt;
        aviyair.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;






&lt;h2&gt;
  
  
  User Interface Friendly Reminder
&lt;/h2&gt;

&lt;p&gt;Now that you've successfully fetched data, this is your friendly reminder to integrate the Future Airline Timetables API into a good UI environment. Competition in the travel industry is wild and as much as the data quality matters a lot (we got you with this!) but your user interface will play the most role in why users should choose you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; One profitable feature that we see in our clients is to feature other travel-related service ads surrounding the flight selection feature on your website. For example, car rental or hotel booking banners that lead to your partners in these services can enhance the personalized experience for your users + prove a more profitable outcome.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--D33oqG9j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/89gobnx4kuffxhwkgn2s.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D33oqG9j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/89gobnx4kuffxhwkgn2s.jpeg" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;If you are intrigued about what Aviyair's future airline timetables data can offer, you can get started right away to build your dream project. In addition to these useful features, the team is here to support developers every step of the way, either with your questions about the data, billing, T&amp;amp;C or anything else. &lt;a href="https://aviyair.com/contact-aviyair/"&gt;&lt;strong&gt;Contact anytime.&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final tip:&lt;/strong&gt; Send us an email if you will use the Future Airline Schedules API a non-profit or an academic project for a free-access opportunity!&lt;/p&gt;

</description>
      <category>travelapi</category>
      <category>api</category>
      <category>airlinedata</category>
      <category>json</category>
    </item>
  </channel>
</rss>
