FlightAware Discussions

Flight Distance

How do i get flight distance because FlightInfo API call does not return flight distance

A simple version of the flight distance is simply the length between the origin and destination. You can obtain the latitude and longitude of the origin and destination airports using AirportInfo, and then use LatLongsToDistance to compute the great circle distance between them.

Thanks :slight_smile: