FlightAware Discussions

Are charges incurred for queries that return no data?

I have a question regarding the charge-per-query pricing model of FlightXML. If I submit a FlightInfoEx (or other function) request for a tail number that has not had any flights in the past two weeks, does this count as a chargeable query? Essentially, will I be charged even though no data was returned?
Also, how will the response look?

Thank you.

Yes, a charge is still incurred for such requests, since a server lookup still had to be done to find out that there were zero results.

Typically the response is will be the normal result structure for that function, but zero entries in the array that holds the data structures (the one usually called “flights”). The “num_flights” value (or similar) will also be 0.

Thanks for your quick response bovineone.