SearchBirdseyeInFlight Returning Incorrect Results

Hi Flight Aware Team

I’m having a lot of trouble getting reliable results while trying to list cancelled flights for a specific time range.

The following:


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=0&howMany=15&query={true cancelled} {> ogtd 1457456400} {< ogtd 1457478000} {ident_or_reg {EZY*} }

Should be returning all cancelled EasyJet flights which were originally scheduled to depart between
Tue, 08 Mar 2016 17:00:00 GMT
Tue, 08 Mar 2016 23:00:00 GMT

It seems simple enough, but not a single of the 15 flights returned was cancelled according to the EasyJet site.

This is just 1 of many examples I have found; In all cases I’ve been lucky to get a single cancelled flight in the results. Am I doing something wrong?

In other queries I also seem to be getting results which don’t even fall between the time range in UTC - is it correct that the ogtd query will be against all flight times in UTC?

Thanks in advance

Phil

Output of the above:


{"SearchBirdseyeInFlightResult":{"next_offset":15,"aircraft":{"faFlightID":"EZY1374-1457296200-schedule-0000","ident":"EZY1374","prefix":"","type":"A319","suffix":"","origin":"LFBD","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":225,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1410-1457295300-schedule-0002","ident":"EZY1410","prefix":"","type":"A319","suffix":"","origin":"LEBL","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":207,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1538-1457294700-schedule-0000","ident":"EZY1538","prefix":"","type":"A319","suffix":"","origin":"EBBR","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":230,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY4641-1457294400-schedule-0000","ident":"EZY4641","prefix":"","type":"A319","suffix":"","origin":"EDDB","destination":"LFSB","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":247,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY8482-1457294100-schedule-0000","ident":"EZY8482","prefix":"","type":"A319","suffix":"","origin":"EGKK","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":245,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1392-1457293500-schedule-0000","ident":"EZY1392","prefix":"","type":"A320","suffix":"","origin":"LFPO","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":198,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1456-1457292600-schedule-0001","ident":"EZY1456","prefix":"","type":"A320","suffix":"","origin":"LPPR","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":315,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1082-1457292600-schedule-0001","ident":"EZY1082","prefix":"","type":"A320","suffix":"","origin":"LEBL","destination":"LFSB","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":232,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1448-1457290500-schedule-0000","ident":"EZY1448","prefix":"","type":"A319","suffix":"","origin":"LPPT","destination":"LSGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":324,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1136-1457290500-schedule-0000","ident":"EZY1136","prefix":"","type":"A320","suffix":"","origin":"LPPR","destination":"LFSB","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":328,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1373-1457289900-schedule-0000","ident":"EZY1373","prefix":"","type":"A319","suffix":"","origin":"LSGG","destination":"LFBD","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":240,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY3416-1457288100-schedule-0001","ident":"EZY3416","prefix":"","type":"A319","suffix":"","origin":"LFPO","destination":"EDDH","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":247,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1409-1457288100-schedule-0000","ident":"EZY1409","prefix":"","type":"A319","suffix":"","origin":"LSGG","destination":"LEBL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":244,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1537-1457288100-schedule-0000","ident":"EZY1537","prefix":"","type":"A319","suffix":"","origin":"LSGG","destination":"EBBR","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":216,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY1393-1457287500-schedule-0000","ident":"EZY1393","prefix":"","type":"A320","suffix":"","origin":"LSGG","destination":"LFPO","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":198,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""}]}}

The issue I am seeing is that FlightAware gets most tracking data for EasyJet with EZS, rather than EZY.
There is an open case to eliminate this confusion.

Is there anything I can do to remedy the situation on my end (you say there is confusion), or is it a case of bad data on your end?

I would say look for EZS for now.

OK, thanks.

Are there any other similar exceptions that might catch me out? Is the open case for the EZY/EZS issue publicly visible? Is there a way for me to find out once the issue is resolved so I can adjust my system accordingly?

It’s a case for internal use, not public. I will definitely keep you posted with regards to changes as they happen.
And I do not know of similar exceptions. So thanks for bringing this issue up.

Additionally, is it a good idea to add extra query filters for fields that we would not expect to be set for a cancelled flight, such as the following, to try to filter out cases where the cancelled flag is incorrectly set to true?

{= departureTime 0}
{= arrivalTime 0}
{false arrived}
{null waypoints}
{= gs 0}

Can you think of any negative implications to doing this?

If not, are there any other field values you would advise to filter by?

You could use the additional filters, they make sense, but I think a true cancelled should be enough … otherwise we would like to know about it as there may be a bug to be fixed.
In the case of EZY, they all look like legitimate cancellations and would respect all your filters, yet still wrong…

Actually, the ground speed filter would have filtered those results out, unless I’ve missed something?

You missed the following questions from my previous posts:

  • Are there any other similar exceptions that might catch me out? Any other airlines that have data tracked with the wrong icao for example?
  • Is it correct that the ogtd query will be against all flight times in UTC?

Otherwise, thanks for the help. I’ll be sure to let you know about any other problems I spot

Oh yes, I see {=gs 0} definitely gets rid of all those wrongly cancelled EZY.
I said I do not know of similar exceptions.
ogtd is an epoch timestamp so it better be UTC. If you think you found examples that do not respect the interval, post them and we’ll look at it.

My mistake, so you did

I assume the data is stored in the same format then. Great.

I can’t remember exactly, but it could have been a case of the data from other sources saying the flights shouldn’t have appeared within those ranges. I’ll note it down if it crops up again anyway, I couldn’t guarantee that one wasn’t my mistake while trying a bunch of different things.

Thanks again

Hi,
It looks like you wanted to see cancelled flights for several carriers, so I think it’s important to point out that
SearchBirdseyeInFlight with {true cancelled} will return all flights that FlightAware sees as cancelled + those that were cancelled by FlightAware for different reasons.
A lot of those EZY* flights are cancelled by FlightAware, that is why they show up as results to your query. The problem with some of the EasyJet Switzerland flights is that some of the data we receive calls the flights EZY* and some EZS* and this problem will not be fixed soon.

Even if it does, you might still see flights for other airlines that return as canceled when they were not. I expect this to happen rarely, but EZY is definitely heavily affected.
If you know the flights numbers that should be ESZ, then you could ignore the same flight numbers that show up as cancelled EZY.
It could be that your additional filters might get rid of many if not all the flights that are wrongly cancelled:
{= departureTime 0}
{= arrivalTime 0}
{false arrived}
{null waypoints}
{= gs 0}

The next version of FlightXML should stop sending all the flights that were canceled by FlightAware. Until then, which is half year or so away, I am running out of suggestions.

Thanks for getting back.

For anyone else who reads, {= departureTime 0} should actually be {= actualDepartureTime 0}

I’m seeing something a little interesting


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=0&howMany=15&query={true cancelled} {airline 1} {= actualDepartureTime 0} {= arrivalTime 0} {false arrived} {null waypoints} {= gs 0}

returns


{"error":"no results"}

Removing the {= gs 0} returns results, but includes results where the groundspeed is actually 0. Should this evaluation be made differently?


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=0&howMany=15&query={true cancelled} {airline 1} {= actualDepartureTime 0} {= arrivalTime 0} {false arrived} {null waypoints}

returns


{"SearchBirdseyeInFlightResult":{"next_offset":15,"aircraft":{"faFlightID":"ECA614-1457948700-schedule-0002","ident":"ECA614","prefix":"","type":"","suffix":"","origin":"HTAR","destination":"HTZA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"SJY174-1457948700-schedule-0000","ident":"SJY174","prefix":"","type":"","suffix":"","origin":"WALL","destination":"WAAA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"QFA7453-1457948700-schedule-0001","ident":"QFA7453","prefix":"","type":"","suffix":"","origin":"YPAD","destination":"YSSY","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"HAG3302-1457948700-schedule-0001","ident":"HAG3302","prefix":"","type":"","suffix":"","origin":"ABL","destination":"PAGH","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"IRC821-1457948700-schedule-0001","ident":"IRC821","prefix":"","type":"","suffix":"","origin":"PGU","destination":"OIII","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"FLE2089-1457948700-schedule-0001","ident":"FLE2089","prefix":"","type":"","suffix":"","origin":"WMKP","destination":"WMSA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"ARG1374-1457948700-schedule-0003","ident":"ARG1374","prefix":"","type":"","suffix":"","origin":"SAEZ","destination":"SEQM","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CES2276-1457948700-schedule-0000","ident":"CES2276","prefix":"","type":"","suffix":"","origin":"ZLYL","destination":"ZLXY","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CEB478-1457948700-schedule-0002","ident":"CEB478","prefix":"","type":"","suffix":"","origin":"RPVB","destination":"RPLL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"IRC561-1457948700-schedule-0000","ident":"IRC561","prefix":"","type":"","suffix":"","origin":"OAKB","destination":"OIMM","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"HXA2727-1457948700-schedule-0001","ident":"HXA2727","prefix":"","type":"","suffix":"","origin":"AEB","destination":"ZGKL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"GUN421-1457948700-schedule-0000","ident":"GUN421","prefix":"","type":"","suffix":"","origin":"KGK","destination":"PANW","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"THY6562-1457948700-schedule-0000","ident":"THY6562","prefix":"","type":"","suffix":"","origin":"UAAA","destination":"VVNB","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"KLC1506-1457948700-schedule-0001","ident":"KLC1506","prefix":"","type":"","suffix":"","origin":"EGSH","destination":"EHAM","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"AAR8951-1457948700-schedule-0000","ident":"AAR8951","prefix":"","type":"","suffix":"","origin":"RKSS","destination":"RKPC","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""}]}}

SearchBirdseyeInFlight enforces groundspeed to be an integer.
{= gs 0} should work,. In your case it filtered everything out.
When you removed it, there were some results with unknown empty groundpeed, gs = “”. But since it was decided that groundspeed should be integer, “” was replaced with 0 before showing you the results.

What was the conclusion there?

Is there a way to search where the groundspeed is empty? I notice the less than operator doesn’t seem to be affecting the results correctly when applied to the groundspeed field:


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=45&howMany=15&query={true cancelled} {airline 1} {= actualDepartureTime 0} {= arrivalTime 0} {false arrived} {null waypoints} {< gs 1}

One flight has a groundspeed of 294:


{"SearchBirdseyeInFlightResult":{"next_offset":60,"aircraft":{"faFlightID":"KEN1100-1458115200-schedule-0001","ident":"KEN1100","prefix":"","type":"","suffix":"","origin":"LKE","destination":"KRCE","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"LAL311-1458114300-schedule-0000","ident":"LAL311","prefix":"","type":"","suffix":"","origin":"ZLT","destination":"ZTB","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"YZR7503-1458115200-schedule-0002","ident":"YZR7503","prefix":"","type":"","suffix":"","origin":"ZSPD","destination":"ZGSD","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"FLE3609-1458115200-schedule-0002","ident":"FLE3609","prefix":"","type":"","suffix":"","origin":"VTSM","destination":"WMSA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"FFM3609-1458115200-schedule-0001","ident":"FFM3609","prefix":"","type":"","suffix":"","origin":"VTSM","destination":"WMSA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"LNI1882-1458115200-schedule-0000","ident":"LNI1882","prefix":"","type":"","suffix":"","origin":"WADL","destination":"WADS","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"MAU219-1458115200-schedule-0000:0","ident":"MAU219","prefix":"","type":"","suffix":"","origin":"FMEE","destination":"FIMP","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"LOG6843-1458115200-schedule-0000:0","ident":"LOG6843","prefix":"","type":"","suffix":"","origin":"EGPF","destination":"EGEC","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CSN3752-1458295059-airline-0056","ident":"CSN3752","prefix":"","type":"B738","suffix":"","origin":"ZSPD","destination":"ZGSD","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":294,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"FZA6585-1458114900-schedule-0002","ident":"FZA6585","prefix":"","type":"","suffix":"","origin":"ZSFZ","destination":"ZBYN","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"LNI840-1458114900-schedule-0000","ident":"LNI840","prefix":"","type":"","suffix":"","origin":"WADL","destination":"WAAA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"OAL35-1458114900-schedule-0005","ident":"OAL35","prefix":"","type":"","suffix":"","origin":"LGST","destination":"LGKS","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"LNI1928-1458114900-schedule-0000","ident":"LNI1928","prefix":"","type":"","suffix":"","origin":"WRKL","destination":"WATT","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CEB996-1458114900-schedule-0001","ident":"CEB996","prefix":"","type":"","suffix":"","origin":"RPMR","destination":"RPLL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"WZZ1216-1458114900-schedule-0007","ident":"WZZ1216","prefix":"","type":"","suffix":"","origin":"ENTO","destination":"EPKT","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""}]}}

Another slight oddness I’ve spotted


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=30&howMany=15&query={orig_or_dest {EGKK}} {true arrived} {airline 1} {range arrivalTime 1458288000 1458295200} {> ogtd 1458259200} {< ogtd 1458345599}

The API is saying flight BAW2158 departed at 1458262320 (Fri, 18 Mar 2016 00:52:00 GMT) but according to the BA site the flight is scheduled for 18:45 17th March, and actually departed early

(Today’s flight isn’t scheduled till later today)

And your tracker page agrees with the BA site: flightaware.com/live/flight/BAW2158


{"SearchBirdseyeInFlightResult":{"next_offset":45,"aircraft":{"faFlightID":"EZY5266-1458110700-schedule-0000:0","ident":"EZY5266","prefix":"","type":"A319","suffix":"","origin":"LIPZ","destination":"EGKK","timeout":"0","timestamp":1458289761,"departureTime":1458283260,"firstPositionTime":1458283801,"arrivalTime":1458289792,"longitude":-0.25907000000000002249,"latitude":51.1386099999999999,"lowLongitude":-0.53481999999999996209,"lowLatitude":45.523389999999999134,"highLongitude":12.415309999999999846,"highLatitude":51.1386099999999999,"groundspeed":269,"altitude":6,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"VIR64-1458088200-schedule-0000:0","ident":"VIR64","prefix":"H","type":"B744","suffix":"L","origin":"MUHA","destination":"EGKK","timeout":"0","timestamp":1458291543,"departureTime":1458261603,"firstPositionTime":1458262201,"arrivalTime":1458291588,"longitude":-0.26819999999999999396,"latitude":51.137599999999999056,"lowLongitude":-81.669669999999996435,"lowLatitude":23.882650000000001711,"highLongitude":-0.19858999999999998876,"highLatitude":51.137599999999999056,"groundspeed":490,"altitude":7,"heading":76,"altitudeStatus":"C","updateType":"A","altitudeChange":"","waypoints":"22.967 -82.4 23.067 -82.283 23.15 -82.2 23.233 -82.083 23.267 -82.067 23.383 -81.933 23.517 -81.767 23.6 -81.667 23.7 -81.55 23.75 -81.5 23.917 -81.35 23.967 -81.3 24 -81.283 24 -81.267 24.033 -81.233 24.083 -81.2 24.333 -80.95 24.9 -80.617 25.117 -80.383 25.3 -80.15 25.6 -79.9 25.783 -79.6 26.017 -79.317 26.283 -79.183 27.067 -78.267 27.133 -78.183 27.283 -78.117 27.467 -77.85 28.017 -77.283 28.283 -77 28.383 -76.883 28.7 -76.55 29.85 -74.967 30.567 -73.95 32.033 -71.767 33 -70.283 33.3 -69.8 33.55 -69.383 33.683 -69.167 33.95 -68.733 34.083 -68.517 34.917 -67.05 35.333 -66.383 35.65 -65.767 35.917 -65.283 36.133 -64.933 36.533 -64.167 38.5 -60.267 38.617 -60 39.933 -57.333 40.967 -55 42.133 -52.267 45.083 -43.467 45.417 -42.3 46.017 -39.933 47.95 -30 49.083 -15 49.067 -11.733 49.533 -9.9167 50 -8 50.583 -3.8833 50.6 -3.7167 50.617 -3.5667 50.633 -3.4833 50.683 -2.95 50.7 -2.85 50.75 -2.5 50.733 -2.45 50.717 -2.3667 50.667 -2.1167 50.7 -2.0167 50.817 -1.5 50.85 -1.3667 50.917 -1.1167 50.983 -0.85 51 -0.8 51.05 -0.56667 51.05 -0.55 51.083 -0.43333 51.117 -0.3 51.133 -0.18333"},{"faFlightID":"TOM19-1458239640-ed-0001:0","ident":"TOM19","prefix":"H","type":"B788","suffix":"L","origin":"MKJS","destination":"EGKK","timeout":"0","timestamp":1458291359,"departureTime":1458260431,"firstPositionTime":1458262140,"arrivalTime":1458291391,"longitude":-0.25877000000000000002,"latitude":51.13866000000000156,"lowLongitude":-76.555830000000000268,"lowLatitude":21.715279999999999916,"highLongitude":-0.17630000000000001226,"highLatitude":51.13866000000000156,"groundspeed":493,"altitude":5,"heading":77,"altitudeStatus":"C","updateType":"A","altitudeChange":"","waypoints":"18.5 -77.9 19.5 -77.5 20.933 -76.883 21.383 -77.217 22.05 -76.683 22.7 -76.133 22.75 -76.083 23.283 -75.7 23.417 -75.6 24.017 -75.167 24.233 -75 25.867 -73.767 25.917 -73.717 26.167 -73.317 26.783 -72.283 27.15 -71.667 27.267 -71.45 27.517 -71.033 27.65 -70.817 27.767 -70.6 28.033 -70.15 28.15 -69.917 28.533 -69.25 28.883 -68.633 29.583 -67.783 30.183 -67.117 30.2 -67.083 30.217 -67.083 30.333 -66.933 30.6 -66.667 32.083 -64.95 32.583 -64.367 33.183 -63.65 33.8 -62.883 34.4 -62.133 34.4 -62.133 34.417 -62.1 34.417 -62.083 34.45 -62.05 34.85 -61.55 35.983 -60 36 -60 36.6 -59.267 37.4 -58.233 39.783 -55 41.333 -52.7 43 -50 43.083 -49.8 45.1 -45.167 47 -40 49 -30 50 -20 50 -15 50 -14 50.133 -12.933 50.533 -9.7 50.7 -8 50.967 -4.4667 51 -3.8333 51 -3.8167 51.017 -3.4 51.033 -3.2833 51.033 -3.1833 51.05 -2.85 51.05 -2.75 51.067 -2.3667 51.083 -1.95 51.1 -1.45 51.1 -1.4 51.117 -1.1833 51.117 -0.85 51.117 -0.78333 51.133 -0.6 51.133 -0.58333 51.133 -0.45 51.133 -0.31667 51.133 -0.18333"},{"faFlightID":"BAW2166-1458088800-schedule-0000:0","ident":"BAW2166","prefix":"H","type":"B772","suffix":"Q","origin":"KTPA","destination":"EGKK","timeout":"0","timestamp":1458291178,"departureTime":1458262080,"firstPositionTime":1458261993,"arrivalTime":1458291211,"longitude":-0.26203999999999999515,"latitude":51.138240000000003249,"lowLongitude":-82.692769999999995889,"lowLatitude":27.877079999999999416,"highLongitude":-0.22641000000000000014,"highLatitude":51.138240000000003249,"groundspeed":480,"altitude":6,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":"27.967 -82.517 28.05 -82.55 28.083 -82.55 28.167 -82.567 28.183 -82.567 28.267 -82.567 28.35 -82.567 28.383 -82.567 28.55 -82.583 28.6 -82.583 28.65 -82.583 28.667 -82.583 28.75 -82.6 28.867 -82.617 29.083 -82.633 29.25 -82.667 29.333 -82.667 29.417 -82.683 29.433 -82.683 29.483 -82.683 29.5 -82.683 29.567 -82.683 29.7 -82.683 30 -82.683 30 -82.683 30.133 -82.683 30.4 -82.683 30.5 -82.683 30.7 -82.583 30.95 -82.45 31.117 -82.367 31.3 -82.283 31.883 -82 31.967 -81.95 32.417 -81.517 32.433 -81.5 32.55 -81.367 32.867 -81.033 33.25 -80.583 34.417 -79.233 35.067 -78.467 35.95 -77.383 36.017 -77.3 36.467 -76.733 36.833 -76.267 36.883 -76.2 37.117 -76.067 37.5 -75.867 37.533 -75.85 37.833 -75.617 37.883 -75.583 38.15 -75.367 38.417 -75.017 38.517 -74.833 38.75 -74.483 38.9 -74.217 39.033 -74 39.417 -73.367 39.7 -72.85 40.2 -71.967 40.25 -71.883 40.317 -71.767 40.433 -71.567 40.5 -71.5 41.667 -69.583 42.933 -67.383 43.15 -67 44 -64.667 44.8 -62.267 46.133 -57.717 46.383 -56.767 46.45 -56.533 47.283 -52.933 47.5 -52 47.483 -51.95 48 -50 48.083 -49.317 48.467 -46.283 49 -40 50 -30 51 -20 51 -15 51 -14 51 -8 50.833 -3.85 50.833 -3.8333 50.817 -3.5833 50.8 -3.5 50.767 -2.9833 50.767 -2.8833 50.75 -2.5 50.733 -2.4833 50.733 -2.4167 50.667 -2.15 50.667 -2.1167 50.733 -1.8333 50.817 -1.5 50.85 -1.3667 50.917 -1.1167 50.983 -0.85 51 -0.8 51 -0.73333 51.05 -0.55 51.083 -0.43333 51.117 -0.3 51.133 -0.18333"},{"faFlightID":"EZY8570-1458109200-schedule-0000:0","ident":"EZY8570","prefix":"","type":"A320","suffix":"","origin":"LEBL","destination":"EGKK","timeout":"0","timestamp":1458289271,"departureTime":1458281940,"firstPositionTime":1458282542,"arrivalTime":1458289333,"longitude":-0.28460999999999997412,"latitude":51.135089999999998156,"lowLongitude":-1.6905300000000000882,"lowLatitude":41.179229999999996892,"highLongitude":2.0606100000000000527,"highLatitude":51.135089999999998156,"groundspeed":240,"altitude":9,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"VIR90-1458087900-schedule-0000:0","ident":"VIR90","prefix":"H","type":"A333","suffix":"L","origin":"TLPL","destination":"EGKK","timeout":"0","timestamp":1458290982,"departureTime":1458262300,"firstPositionTime":1458262300,"arrivalTime":1458291028,"longitude":-0.27199000000000000954,"latitude":51.136830000000003338,"lowLongitude":-60.583820000000002892,"lowLatitude":14.108510000000000773,"highLongitude":-0.27199000000000000954,"highLatitude":51.136830000000003338,"groundspeed":470,"altitude":7,"heading":76,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":"13.75 -60.95 13.733 -60.967 13.817 -60.967 13.9 -60.983 13.983 -60.983 13.983 -60.983 14.117 -60.983 14.283 -61 14.583 -61.017 14.617 -60.983 14.783 -60.85 14.85 -60.783 14.967 -60.683 15.167 -60.5 15.25 -60.433 15.383 -60.317 15.617 -60.117 15.833 -59.917 18 -58 20 -55 23 -50 27 -45 31 -40 31.9 -39 39 -30 41.833 -25.683 42.367 -24.767 45 -20 47 -15 48.817 -12 48.833 -11.983 49.067 -11.733 49.533 -9.9167 50 -8 50.583 -3.8833 50.583 -3.8 50.633 -3.4833 50.667 -3.1667 50.683 -2.9667 50.7 -2.9 50.733 -2.55 50.75 -2.5 50.733 -2.45 50.667 -2.1167 50.683 -2.0667 50.817 -1.5 50.85 -1.3667 50.917 -1.1167 50.983 -0.85 51 -0.8 51.05 -0.55 51.067 -0.46667 51.083 -0.43333 51.117 -0.3 51.133 -0.18333"},{"faFlightID":"BAW2158-1458089100-schedule-0000:0","ident":"BAW2158","prefix":"H","type":"B772","suffix":"L","origin":"TLPL","destination":"EGKK","timeout":"0","timestamp":1458290339,"departureTime":1458262320,"firstPositionTime":1458262382,"arrivalTime":1458290369,"longitude":-0.26024000000000002686,"latitude":51.138469999999998095,"lowLongitude":-61.00677999999999912,"lowLatitude":13.888500000000000512,"highLongitude":-0.26024000000000002686,"highLatitude":51.138469999999998095,"groundspeed":481,"altitude":6,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":"13.75 -60.95 13.85 -60.95 13.95 -60.967 14.05 -60.967 14.15 -60.983 14.317 -61 14.583 -61.017 14.633 -60.967 14.8 -60.833 14.983 -60.667 15.1 -60.567 15.117 -60.55 15.167 -60.517 15.267 -60.417 15.5 -60.217 15.8 -59.95 15.917 -59.85 18 -58 20 -55 23 -50 27.4 -44.783 28 -44.017 28.5 -43.35 31 -40 31.783 -39 38 -30 40.833 -24.717 41.5 -23.333 42.15 -21.917 43 -20 45 -15 48 -8.75 48 -8 49.15 -2.3667 49.217 -2.0333 49.233 -2.0333 49.267 -1.9833 49.55 -1.7333 49.6 -1.6833 49.817 -1.4667 50 -1.3 50.017 -1.2833 50.2 -1.1167 50.467 -0.85 50.6 -0.71667 50.633 -0.68333 50.783 -0.53333 50.817 -0.5 50.933 -0.4 51 -0.31667 51.067 -0.25 51.133 -0.18333"},{"faFlightID":"BEE801-1458113100-schedule-0000:2","ident":"BEE801","prefix":"","type":"DH8D","suffix":"","origin":"EGHQ","destination":"EGKK","timeout":"0","timestamp":1458289614,"departureTime":1458286659,"firstPositionTime":1458286659,"arrivalTime":1458289650,"longitude":-0.26020999999999999686,"latitude":51.138539999999998997,"lowLongitude":-4.6844299999999998718,"lowLatitude":50.446089999999998099,"highLongitude":-0.22842000000000001192,"highLatitude":51.138539999999998997,"groundspeed":161,"altitude":5,"heading":77,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"EZY5288-1458109500-schedule-0000:2","ident":"EZY5288","prefix":"","type":"A320","suffix":"","origin":"LIMC","destination":"EGKK","timeout":"0","timestamp":1458288416,"departureTime":1458282720,"firstPositionTime":1458283201,"arrivalTime":1458288461,"longitude":-0.26290999999999997705,"latitude":51.138100000000001444,"lowLongitude":-0.53749000000000002331,"lowLatitude":45.694139999999997315,"highLongitude":8.3419200000000000017,"highLatitude":51.138100000000001444,"groundspeed":243,"altitude":6,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"EIN230-1458111600-schedule-0001:0","ident":"EIN230","prefix":"","type":"A320","suffix":"","origin":"EIDW","destination":"EGKK","timeout":"0","timestamp":1458289877,"departureTime":1458286003,"firstPositionTime":1458286003,"arrivalTime":1458289912,"longitude":-0.25787999999999999812,"latitude":51.138790000000000191,"lowLongitude":-6.5141900000000001469,"lowLatitude":50.890670000000000073,"highLongitude":0.019990000000000000824,"highLatitude":53.43224000000000018,"groundspeed":185,"altitude":5,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"EZY8901-1458111600-schedule-0001:0","ident":"EZY8901","prefix":"","type":"A319","suffix":"","origin":"EGKK","destination":"LXGB","timeout":"0","timestamp":1458295141,"departureTime":1458284940,"firstPositionTime":1458285480,"arrivalTime":1458294540,"longitude":-5.3496600000000000819,"latitude":36.15122000000000213,"lowLongitude":-5.3496600000000000819,"lowLatitude":36.15122000000000213,"highLongitude":-0.051189999999999999392,"highLatitude":51.227460000000000662,"groundspeed":319,"altitude":278,"heading":350,"altitudeStatus":"-","updateType":"P","altitudeChange":"","waypoints":""},{"faFlightID":"VLG7822-1458108000-schedule-0000:0","ident":"VLG7822","prefix":"","type":"A320","suffix":"","origin":"LEBL","destination":"EGKK","timeout":"0","timestamp":1458287948,"departureTime":1458282087,"firstPositionTime":1458282087,"arrivalTime":1458288009,"longitude":-0.28883999999999998565,"latitude":51.134489999999999554,"lowLongitude":-1.6719299999999999162,"lowLatitude":41.179879999999997153,"highLongitude":2.0475799999999999557,"highLatitude":51.134489999999999554,"groundspeed":277,"altitude":9,"heading":77,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"EZY882-1458111900-schedule-0000:0","ident":"EZY882","prefix":"","type":"A319","suffix":"","origin":"EGPF","destination":"EGKK","timeout":"0","timestamp":1458290018,"departureTime":1458284940,"firstPositionTime":1458285421,"arrivalTime":1458290066,"longitude":-0.27295000000000002593,"latitude":51.136730000000000018,"lowLongitude":-4.6509900000000001796,"lowLatitude":50.927439999999997156,"highLongitude":-0.064390000000000002789,"highLatitude":55.98534999999999684,"groundspeed":215,"altitude":7,"heading":81,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""},{"faFlightID":"EZY8571-1458111300-schedule-0000:0","ident":"EZY8571","prefix":"","type":"A320","suffix":"","origin":"EGKK","destination":"LEBL","timeout":"0","timestamp":1458291721,"departureTime":1458284700,"firstPositionTime":1458285181,"arrivalTime":1458291423,"longitude":2.0784600000000001963,"latitude":41.297080000000001121,"lowLongitude":-0.20266999999999998905,"lowLatitude":41.297080000000001121,"highLongitude":2.3503300000000000303,"highLatitude":51.159669999999998424,"groundspeed":288,"altitude":4,"heading":172,"altitudeStatus":"-","updateType":"P","altitudeChange":"","waypoints":""},{"faFlightID":"BAW2632-1458111000-schedule-0006:0","ident":"BAW2632","prefix":"","type":"A319","suffix":"","origin":"EGKK","destination":"LEAL","timeout":"0","timestamp":1458292975,"departureTime":1458285540,"firstPositionTime":1458285625,"arrivalTime":1458293021,"longitude":-0.62270000000000003126,"latitude":38.291260000000001185,"lowLongitude":-0.97977000000000002977,"lowLatitude":38.291260000000001185,"highLongitude":0.9580800000000000427,"highLatitude":51.160400000000002763,"groundspeed":320,"altitude":8,"heading":99,"altitudeStatus":"-","updateType":"A","altitudeChange":"","waypoints":""}]}}

That BAW2158 flight seems to match all your filters, I don’t see the problem.
This is the flight returned:

https://flightaware.com/live/flight/BAW2158/history/20160318/0045Z/TLPL/EGKK

The website agrees with the FlightXML result:

departureTime":1458262320 = Mar 17 2016 20:52:00 (America/Anguilla) AST = 18 Mar 2016 00:52:00 GMT

Related to my previous post, the conclusion was that the results were not wrong, but there was a catch. I think you can filter empty groundspeed with {!= gs “”}

My mistake, I conveniently ignored the fact the sites display local time!

Is it safe to assume the groundspeed will specifically be empty in the background, rather than 0, if the flight was cancelled? (to avoid having to query twice, once for empty and once for 0)

{= gs “”} doesn’t seem to be filtering flights out with groundspeed > 0.

And as I mentioned before, the < operator doesn’t seem to do anything against the gs field either


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?offset=0&howMany=15&query={true cancelled} {airline 1} {= actualDepartureTime 0} {= arrivalTime 0} {false arrived} {null waypoints} {= gs ""} {> ogtd 1458252000} {< ogtd 1458259199}


{"SearchBirdseyeInFlightResult":{"next_offset":15,"aircraft":{"faFlightID":"LNI807-1458273014-airline-0136","ident":"LNI807","prefix":"","type":"B738","suffix":"","origin":"WABB","destination":"WAAA","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":395,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"AZU4292-1458083160-schedule-0000","ident":"AZU4292","prefix":"","type":"E190","suffix":"","origin":"SBCY","destination":"SBKP","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":332,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"AFL1335-1458259140-adhoc-0:0","ident":"AFL1335","prefix":"","type":"SU9","suffix":"","origin":"ULAA","destination":"UUEE","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":434,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CFG2255-1458085200-schedule-0000","ident":"CFG2255","prefix":"","type":"","suffix":"","origin":"TBPB","destination":"EDDF","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":418,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"TUI2229-1458084300-schedule-0000","ident":"TUI2229","prefix":"","type":"B763","suffix":"","origin":"MDPC","destination":"EDDF","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":439,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"SJY233-1458263497-airline-0034","ident":"SJY233","prefix":"","type":"B733","suffix":"","origin":"BEJ","destination":"WALL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"TAM3516-1458086280-schedule-0000","ident":"TAM3516","prefix":"","type":"A320","suffix":"","origin":"SBRF","destination":"SBFZ","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":264,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"AAY1777-1458263078-airline-0254","ident":"AAY1777","prefix":"","type":"A320","suffix":"","origin":"USA","destination":"KFLL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":0,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"TAE318-1458086400-schedule-0001","ident":"TAE318","prefix":"","type":"A320","suffix":"","origin":"SEGU","destination":"SEQM","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":184,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"HAG3313-1458084600-schedule-0002","ident":"HAG3313","prefix":"","type":"C10T","suffix":"","origin":"PAWN","destination":"PAVL","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":112,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"YZR7486-1458082200-schedule-0000","ident":"YZR7486","prefix":"H","type":"B744","suffix":"Q","origin":"KORD","destination":"EBBR","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":-50.0,"latitude":50.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":484,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CFG2165-1458262232-airline-0160","ident":"CFG2165","prefix":"","type":"767","suffix":"","origin":"MUHG","destination":"MKJS","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":247,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"RXA4363-1458205613-fds-0046:2","ident":"RXA4363","prefix":"","type":"SF34","suffix":"","origin":"YPLC","destination":"YPAD","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":238,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"CSN3796-1458261001-airline-0171","ident":"CSN3796","prefix":"","type":"B738","suffix":"","origin":"ZSYW","destination":"ZGGG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":322,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""},{"faFlightID":"ELY318-1458081000-schedule-0001:0","ident":"ELY318","prefix":"","type":"B744","suffix":"","origin":"EGLL","destination":"LLBG","timeout":"0","timestamp":0,"departureTime":0,"firstPositionTime":0,"arrivalTime":0,"longitude":0.0,"latitude":0.0,"lowLongitude":200.0,"lowLatitude":200.0,"highLongitude":-200.0,"highLatitude":-200.0,"groundspeed":402,"altitude":0,"heading":0,"altitudeStatus":"-","updateType":"Z","altitudeChange":"","waypoints":""}]}}

According to docs {null gs} might work.
However, if you are trying to eliminate all wrong cancellations, I am afraid a groundspeed filter is not enough, and no filters will be enough. This call will always return flights cancelled by FlightAware which you probably don’t want to see and there isn’t any combination of filters you can use to filter these out. In other words, SearchBirdseyeInFlight is not the function you should use to see airline cancelled flights.