FlightAware Discussions

FlightCancellationStatistics calculating mathing total

Hello,

I want to calculate sum of FlightCancellationStatistics mathing total values. To know all originally scheduled flights to specified airport.

To do that we need to query for example for all pages of data
http://flightxml.flightaware.com/json/FlightXML3/FlightCancellationStatistics?time_period=today&type_matching=origin&ident_filter=KTEB&howMany=150

But this consumes a lot billable queries.

We cant depend on sorting because we do not know where we will find in my example KTEB airport match with already calculated sum of total.

Can you suggest us the way we could calculate matching totals for arrivals and destinations?