FlightAware Discussions

Length of Array from GetHistoriccalTrack


I was wondering what the length of the array returned by GetHistoricalTrack is for a flight that has already arrived. I don’t see any way to specify how far back we want to go, so would the function return an array that has represents the log from the beginning to the end of a flight?


That function returns all datapoints that it has for the flight that are not projected positions (it technically just excludes points with zero altitude/groundspeed, which ignores most but not all projected positions). In some cases, this can be a very long array with hundreds or more points for long international flights.