FlightAware Discussions

SearchCount for filtering cargo or commercial flight

Hi, we are going to use searchcount API for fetching the general information at specific airport.
However, we are requested to split the counts for cargo and passenger flights.
I checked the parameters, but it’s still not clear to me, could anyone help me clarify?
Thanks

The “query” argument of Search/SearchCount does not currently allow filtering by cargo operators, though you can specify “query” => “-filter airline” to retrieve only airline operators.

you could try filtering on aircraft type, e.g. 77F which is a cargo typically.
For now it will not work 100% because the operators are using some passenger machines also for cargo transportation.

Aircraft-Mix 10. April (S/W Germany)
(only 395 views caused by Covid-19)
Mix
Cargo: only regular cargo ACFT!