Flight Info status API and Pricing detail clarification


#1

Hi,
I’m exploring the Flight Info status API
https://flightaware.com/commercial/flightxml/v3/apiref.rvt#op_FlightInfoStatus
In pricing site I did not understand the difference between queries and request.
Free Access provides 500 requests and responses at 5 queries per minute.
For example I’m requesting an flight status of AK10 flight, it returns an 10 rows of data. So in my example what is request and query?
And also I found flight id mapping in flight aware site is different from actual flight id .Where do we need to refer the mapping ID with Actual Flight ID.
Example:
Actual Flight ID:AK10
Flight ID used in flight aware: AXM10
Can you please explain me on this.


#2

The term “query” is used interchangably with “request” throughout the documentation and mean the same thing.

A request returning 10 rows of data counts as one request. A request returning 20 rows of data counts as 2 requests, since it is more than 15 rows.

  • The ident “AK10” is using the IATA-code for AirAsia
  • The ident “AXM10” is using the ICAO-code for AirAsia.
  • The faFlightID “AXM10-1506913200-schedule-0000” is a FlightAware-specific flight occurring on a specific date and time.

FlightAware and the aviation industry (pilots, air traffic control, flight planners, etc) have officially transitioned to using ICAO codes for everything because there is less ambiguity and less duplication between countries. However, most of the commercial airlines use IATA codes with the general public, mostly out of tradition and simplicity.

FlightAware can sometimes recognize IATA codes and automatically convert them to ICAO when there is no ambiguity, but that is not always possible so we recommend that applications use ICAO codes when possible.


#3

Thanks for your reply.so for free access API ,per minute i can only request 5 queries and i can make request of only 500 per day (or) total request for free API is 500. Then when i reach 500 then will it get expired?.


#4

If your account has the automatic upgrade setting enabled, then you will be switched to the next higher plan for the remainder of the month and all future months, and you will be billed for the difference between the two plans.

If you did not have automatic upgrade enabled, then you will be prevented from making any further FlightXML3 requests for the remainder of the month.


#5

Hi,

How request and response is calculated.Please explain me with the example.

My request:
payload = {‘ident’:‘AXM10’,‘howMany’:‘10’,‘offset’:‘0’}

response:
{“FlightInfoStatusResult”:{“next_offset”:10,“flights”:[{“ident”:“AXM10”,“faFlightID”:“AXM10-1507172400-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:12900,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1507345200,“tz”:“IST”,“dow”:“Saturday”,“time”:“08:30AM”,“date”:“07/10/2017”,“localtime”:1507365000},“estimated_departure_time”:{“epoch”:1507345800,“tz”:“IST”,“dow”:“Saturday”,“time”:“08:40AM”,“date”:“07/10/2017”,“localtime”:1507365600},“actual_departure_time”:{“epoch”:0},“departure_delay”:600,“filed_arrival_time”:{“epoch”:1507358100,“tz”:"+08",“dow”:“Saturday”,“time”:“02:35PM”,“date”:“07/10/2017”,“localtime”:1507386900},“estimated_arrival_time”:{“epoch”:1507358700,“tz”:"+08",“dow”:“Saturday”,“time”:“02:45PM”,“date”:“07/10/2017”,“localtime”:1507387500},“actual_arrival_time”:{“epoch”:0},“arrival_delay”:600,“status”:“Scheduled”,“progress_percent”:-1,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1507086000-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:12900,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1507258800,“tz”:“IST”,“dow”:“Friday”,“time”:“08:30AM”,“date”:“06/10/2017”,“localtime”:1507278600},“estimated_departure_time”:{“epoch”:1507259400,“tz”:“IST”,“dow”:“Friday”,“time”:“08:40AM”,“date”:“06/10/2017”,“localtime”:1507279200},“actual_departure_time”:{“epoch”:0},“departure_delay”:600,“filed_arrival_time”:{“epoch”:1507271700,“tz”:"+08",“dow”:“Friday”,“time”:“02:35PM”,“date”:“06/10/2017”,“localtime”:1507300500},“estimated_arrival_time”:{“epoch”:1507272300,“tz”:"+08",“dow”:“Friday”,“time”:“02:45PM”,“date”:“06/10/2017”,“localtime”:1507301100},“actual_arrival_time”:{“epoch”:0},“arrival_delay”:600,“status”:“Scheduled”,“progress_percent”:-1,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506999600-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AHV”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13440,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1507172400,“tz”:“IST”,“dow”:“Thursday”,“time”:“08:30AM”,“date”:“05/10/2017”,“localtime”:1507192200},“estimated_departure_time”:{“epoch”:1507173240,“tz”:“IST”,“dow”:“Thursday”,“time”:“08:44AM”,“date”:“05/10/2017”,“localtime”:1507193040},“actual_departure_time”:{“epoch”:1507174723,“tz”:“IST”,“dow”:“Thursday”,“time”:“09:08AM”,“date”:“05/10/2017”,“localtime”:1507194523},“departure_delay”:240,“filed_arrival_time”:{“epoch”:1507185840,“tz”:"+08",“dow”:“Thursday”,“time”:“02:44PM”,“date”:“05/10/2017”,“localtime”:1507214640},“estimated_arrival_time”:{“epoch”:1507187100,“tz”:"+08",“dow”:“Thursday”,“time”:“03:05PM”,“date”:“05/10/2017”,“localtime”:1507215900},“actual_arrival_time”:{“epoch”:0},“arrival_delay”:1200,“status”:“On”,“progress_percent”:98,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506913200-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:true,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13500,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1507086000,“tz”:“IST”,“dow”:“Wednesday”,“time”:“08:30AM”,“date”:“04/10/2017”,“localtime”:1507105800},“estimated_departure_time”:{“epoch”:1507105800,“tz”:“IST”,“dow”:“Wednesday”,“time”:“02:00PM”,“date”:“04/10/2017”,“localtime”:1507125600},“actual_departure_time”:{“epoch”:-1,“tz”:“IST”,“dow”:“Thursday”,“time”:“05:29AM”,“date”:“01/01/1970”,“localtime”:19799},“departure_delay”:13020,“filed_arrival_time”:{“epoch”:1507099500,“tz”:"+08",“dow”:“Wednesday”,“time”:“02:45PM”,“date”:“04/10/2017”,“localtime”:1507128300},“estimated_arrival_time”:{“epoch”:-1,“tz”:"+0730",“dow”:“Thursday”,“time”:“07:29AM”,“date”:“01/01/1970”,“localtime”:26999},“actual_arrival_time”:{“epoch”:-1,“tz”:"+0730",“dow”:“Thursday”,“time”:“07:29AM”,“date”:“01/01/1970”,“localtime”:26999},“arrival_delay”:19800,“status”:“result”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506826800-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AFB”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13440,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506999600,“tz”:“IST”,“dow”:“Tuesday”,“time”:“08:30AM”,“date”:“03/10/2017”,“localtime”:1507019400},“estimated_departure_time”:{“epoch”:1506999180,“tz”:“IST”,“dow”:“Tuesday”,“time”:“08:23AM”,“date”:“03/10/2017”,“localtime”:1507018980},“actual_departure_time”:{“epoch”:1507000290,“tz”:“IST”,“dow”:“Tuesday”,“time”:“08:41AM”,“date”:“03/10/2017”,“localtime”:1507020090},“departure_delay”:-420,“filed_arrival_time”:{“epoch”:1507013040,“tz”:"+08",“dow”:“Tuesday”,“time”:“02:44PM”,“date”:“03/10/2017”,“localtime”:1507041840},“estimated_arrival_time”:{“epoch”:1507013700,“tz”:"+08",“dow”:“Tuesday”,“time”:“02:55PM”,“date”:“03/10/2017”,“localtime”:1507042500},“actual_arrival_time”:{“epoch”:1507013100,“tz”:"+08",“dow”:“Tuesday”,“time”:“02:45PM”,“date”:“03/10/2017”,“localtime”:1507041900},“arrival_delay”:0,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506740400-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AFB”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13620,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506913200,“tz”:“IST”,“dow”:“Monday”,“time”:“08:30AM”,“date”:“02/10/2017”,“localtime”:1506933000},“estimated_departure_time”:{“epoch”:1506913200,“tz”:“IST”,“dow”:“Monday”,“time”:“08:30AM”,“date”:“02/10/2017”,“localtime”:1506933000},“actual_departure_time”:{“epoch”:1506914117,“tz”:“IST”,“dow”:“Monday”,“time”:“08:45AM”,“date”:“02/10/2017”,“localtime”:1506933917},“departure_delay”:0,“filed_arrival_time”:{“epoch”:1506926820,“tz”:"+08",“dow”:“Monday”,“time”:“02:47PM”,“date”:“02/10/2017”,“localtime”:1506955620},“estimated_arrival_time”:{“epoch”:1506927000,“tz”:"+08",“dow”:“Monday”,“time”:“02:50PM”,“date”:“02/10/2017”,“localtime”:1506955800},“actual_arrival_time”:{“epoch”:1506926400,“tz”:"+08",“dow”:“Monday”,“time”:“02:40PM”,“date”:“02/10/2017”,“localtime”:1506955200},“arrival_delay”:-300,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506654000-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AJG”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13620,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506826800,“tz”:“IST”,“dow”:“Sunday”,“time”:“08:30AM”,“date”:“01/10/2017”,“localtime”:1506846600},“estimated_departure_time”:{“epoch”:1506826920,“tz”:“IST”,“dow”:“Sunday”,“time”:“08:32AM”,“date”:“01/10/2017”,“localtime”:1506846720},“actual_departure_time”:{“epoch”:1506827879,“tz”:“IST”,“dow”:“Sunday”,“time”:“08:47AM”,“date”:“01/10/2017”,“localtime”:1506847679},“departure_delay”:120,“filed_arrival_time”:{“epoch”:1506840420,“tz”:"+08",“dow”:“Sunday”,“time”:“02:47PM”,“date”:“01/10/2017”,“localtime”:1506869220},“estimated_arrival_time”:{“epoch”:1506840480,“tz”:"+08",“dow”:“Sunday”,“time”:“02:48PM”,“date”:“01/10/2017”,“localtime”:1506869280},“actual_arrival_time”:{“epoch”:1506839880,“tz”:"+08",“dow”:“Sunday”,“time”:“02:38PM”,“date”:“01/10/2017”,“localtime”:1506868680},“arrival_delay”:-420,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506567600-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AHV”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13320,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506740400,“tz”:“IST”,“dow”:“Saturday”,“time”:“08:30AM”,“date”:“30/09/2017”,“localtime”:1506760200},“estimated_departure_time”:{“epoch”:1506740280,“tz”:“IST”,“dow”:“Saturday”,“time”:“08:28AM”,“date”:“30/09/2017”,“localtime”:1506760080},“actual_departure_time”:{“epoch”:1506741145,“tz”:“IST”,“dow”:“Saturday”,“time”:“08:42AM”,“date”:“30/09/2017”,“localtime”:1506760945},“departure_delay”:-120,“filed_arrival_time”:{“epoch”:1506753720,“tz”:"+08",“dow”:“Saturday”,“time”:“02:42PM”,“date”:“30/09/2017”,“localtime”:1506782520},“estimated_arrival_time”:{“epoch”:1506754380,“tz”:"+08",“dow”:“Saturday”,“time”:“02:53PM”,“date”:“30/09/2017”,“localtime”:1506783180},“actual_arrival_time”:{“epoch”:1506753780,“tz”:"+08",“dow”:“Saturday”,“time”:“02:43PM”,“date”:“30/09/2017”,“localtime”:1506782580},“arrival_delay”:-120,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506481200-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AHV”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:14220,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506654000,“tz”:“IST”,“dow”:“Friday”,“time”:“08:30AM”,“date”:“29/09/2017”,“localtime”:1506673800},“estimated_departure_time”:{“epoch”:1506653520,“tz”:“IST”,“dow”:“Friday”,“time”:“08:22AM”,“date”:“29/09/2017”,“localtime”:1506673320},“actual_departure_time”:{“epoch”:1506653520,“tz”:“IST”,“dow”:“Friday”,“time”:“08:22AM”,“date”:“29/09/2017”,“localtime”:1506673320},“departure_delay”:-480,“filed_arrival_time”:{“epoch”:1506668220,“tz”:"+08",“dow”:“Friday”,“time”:“02:57PM”,“date”:“29/09/2017”,“localtime”:1506697020},“estimated_arrival_time”:{“epoch”:1506667920,“tz”:"+08",“dow”:“Friday”,“time”:“02:52PM”,“date”:“29/09/2017”,“localtime”:1506696720},“actual_arrival_time”:{“epoch”:1506667320,“tz”:"+08",“dow”:“Friday”,“time”:“02:42PM”,“date”:“29/09/2017”,“localtime”:1506696120},“arrival_delay”:-180,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false},{“ident”:“AXM10”,“faFlightID”:“AXM10-1506394800-schedule-0000”,“airline”:“AXM”,“flightnumber”:“10”,“tailnumber”:“9M-AJD”,“type”:“Form_Airline”,“blocked”:false,“diverted”:false,“cancelled”:false,“origin”:{“code”:“VOMM”,“city”:“Chennai / Madras”,“alternate_ident”:“MAA”,“airport_name”:“Chennai Int’l”},“destination”:{“code”:“WMKK”,“city”:“Sepang, Selangor”,“alternate_ident”:“KUL”,“airport_name”:“Kuala Lumpur Int’l”},“filed_ete”:13500,“filed_airspeed_kts”:363,“distance_filed”:1635,“filed_departure_time”:{“epoch”:1506567600,“tz”:“IST”,“dow”:“Thursday”,“time”:“08:30AM”,“date”:“28/09/2017”,“localtime”:1506587400},“estimated_departure_time”:{“epoch”:1506567900,“tz”:“IST”,“dow”:“Thursday”,“time”:“08:35AM”,“date”:“28/09/2017”,“localtime”:1506587700},“actual_departure_time”:{“epoch”:1506569174,“tz”:“IST”,“dow”:“Thursday”,“time”:“08:56AM”,“date”:“28/09/2017”,“localtime”:1506588974},“departure_delay”:300,“filed_arrival_time”:{“epoch”:1506581100,“tz”:"+08",“dow”:“Thursday”,“time”:“02:45PM”,“date”:“28/09/2017”,“localtime”:1506609900},“estimated_arrival_time”:{“epoch”:1506583200,“tz”:"+08",“dow”:“Thursday”,“time”:“03:20PM”,“date”:“28/09/2017”,“localtime”:1506612000},“actual_arrival_time”:{“epoch”:1506582600,“tz”:"+08",“dow”:“Thursday”,“time”:“03:10PM”,“date”:“28/09/2017”,“localtime”:1506611400},“arrival_delay”:1500,“status”:“Arrived”,“progress_percent”:100,“aircrafttype”:“A320”,“full_aircrafttype”:“A320”,“adhoc”:false}]}}


#6

I’m not sure what you’re asking. If you’re asking about what the pricing of that request would be, then that would count as 1 queries, since only 10 records were requested and returned.

If you specify a howMany > 15 and actually receive more than 15 records back, then it would count as 2 queries.