FlightAware Discussions

Flights of a given route


How do I get a list of all flights that traveled from KEWR to KLAX in the last two weeks or so, using Flight XML?

I need the kind of data that you have here:

Thank you

You can use the “Search” function to specify the -origin and -destination, however that function will only return flights that are within the last couple of days.

Oh, that’s OK.

But now I’m confused. The documentation http://flightaware.com/commercial/flightxml/explorer/#op_Search says

Search performs a query for data on all **airborne **aircraft

How do I use search() to get flights that have already landed?


It defaults to searching enroute flights. But you can specify “-inAir 0” to get a limited time window of landed or scheduled flights.