FlightAware Discussions

Planned & Actual Flight Distance

Dear Support

Is there any API for determining Planned as well as Actual distance covered by an airline?

Direct distance can be calculated as discussed in following URL:

But how can we get information about Planned and Actual distance covered?

Thanks,

Endpoints such as FlightInfoEx and InFlightInfo can return the planned Route or Waypoints, respectively, for a flight. Both GetLastTrack and GetHistoricalTrack can return the actual path flown.

In both cases the decoded route or waypoints can produce the total distance by calculating the distance between each successive lat-long pair. FlightXML provides LatLongsToDistance, or as mentioned in the linked thread, it is possible to implement this algorithm ourself.