Searching multiple airlines

Could I do something like “-idents DAL* AAL* MAS*” or “-idents DAL* -idents AAL*” to get results from multiple airlines?

Not sure which query you’re using, but try -idents "DAL AAL MAS*"**

I am using the Search query. I will try that.

It doesn’t look like it worked. It only found the first thing that I put in.

It should work. Be sure you are quoting the argument to -idents, using either double quotes or curly braces. For example, this works for me:


http://flightxml.flightaware.com/json/FlightXML2/Search?query=-idents%20{UAL*%20AAL*}

Here is the query I have been making:


-idents {BAW* BER* CFE* CPA* ENY* ELY* FIN* HAL* IBE* JBU* LAN* NLY* MAS* JAL* JLJ* QFA* QTR* RPA* RJA* SBI* SKW* JST* TAM* THT* ETD* BEE* CHH*} -inAir 0

It only returns flights for CHH.

That works for me. Make sure you’re encoding your request URLs properly if you’re using the JSON interface. If you’re using the SOAP interface, then you shouldn’t need to do anything special.


https://flightxml.flightaware.com/json/FlightXML2/Search?query=-idents%20{BAW*%20BER*%20CFE*%20CPA*%20ENY*%20ELY*%20FIN*%20HAL*%20IBE*%20JBU*%20LAN*%20NLY*%20MAS*%20JAL*%20JLJ*%20QFA*%20QTR*%20RPA*%20RJA*%20SBI*%20SKW*%20JST*%20TAM*%20THT*%20ETD*%20BEE*%20CHH*}%20-inAir%200