The FAQ indicates how to interpret various fields returned in a the FlightInfoEx response. The estimated departure time can be determined as the difference of (estimatedarrivaltime - filed_ete). If the estimated departure time before actual departure is notably later (greater than 15 minutes) than filed_departuretime then a delay is likely.
First: After reading question, I found that faFlightId of our both’s answer were different. So, I think you/I have used wrong flight, can you correct it? who’s faFlightID is correct?
filed_ete is the estimated time enroute at the time the flight plan was filed(duration of time required to flight).
Let’s fill value in your equation from my API’s response and see result:
( estimatedarrivaltime - filed_ete )
= 1574611500 - 00:55:00
= Sunday, November 24, 2019 9:35:00 PM IST - 00:55:00
= November 24, 2019, 08:40:00 PM
In my API response: actualdeparturetime=0
But my question, Flight is not depart yet and still it has delay, we need to know those time difference from API, how can we know that using API? Web-page shows those information, so my thought: API must have those information. How can we pull those information by API?
You can use the following URL pattern to confidently link to the flight tracking page by faFlightID: "https://flightaware.com/live/flight/id/" + faFlightID
Note that the second link goes to a flight page with times that match the screenshot.
For flights that have not departed, if the calculated estimated departure time occurs more than 15 minutes later than the filed_departuretime then a delay is likely and the difference represents the expected delay. If the filed_departuretime is more than 15 mintues behind the current time then a delay is actively occurring. The FlightInfoEx results will not yield the exact same delay time as the webpage since the webpage can also take into account gate times that are not present in the API response.
If API gives faFlightID as “IGO5377-1574401530-airline-0020”, How can one predict that its actual faFlightID will be “IGO5377-1574228730-airline-0333”?
Our business interested in below scenario:
When flight will depature from origin:
How much delay flight is?
We can identify from FlightInfoEx API that flight is depart or not, but we need to know, how much late is it before departure?
So, Our question is: How can we calculate this time using API OR flightalert? If API is not answering this question. How can we use flightaware to get this information?
Thank you for reply. When i called +18007138570
he asked me to mail on Chris.Rojas@flightaware.com, I did it yesterday. But i didn’t found any reply from mail as well.
He asked me that, “It is better do communication on mail”, So, i forwarded this discussion’s thread on mail. But no reply from them.
For flights that have not yet departed:
If the calculated estimated departure time occurs more than later than the filed_departuretime then a delay is likely and the difference represents the expected delay. (estimatedarrivaltime - filed_ete) - filed_departuretime
For flight that have departed:
The difference between the actualdeparturetime and the filed_departuretime can represent the departure delay. actualdeparturetime - filed_departuretime