AeroApi2 ArrivalDeparture Time Weirdness

Hello, I’m using the following two RESTful endpoints:

https://flightxml.flightaware.com/json/FlightXML2/Departed?airport=KMEB&howMany=15
https://flightxml.flightaware.com/json/FlightXML2/Arrived?airport=KMEB&howMany=15

The actual arrival and departure times I’m getting dont make sense and I’m not sure if it’s just me not understanding it or if there is an issue. So for example, KMEB arrivals and departures for N517MT below. The arrival and departure times are the same on each result. The results in the UI also don’t make sense either as it shows both these times as departure times (see below screenshots). Not seeing anything in the docs that explain it either.

{
   "ArrivedResult":{
      "next_offset":-1,
      "arrivals":[
         {
            "ident":"N517MT",
            "aircrafttype":"EC35",
            "actualdeparturetime":1619677693, // Thu Apr 29 2021 02:28:13
            "actualarrivaltime":1619677693,   // Thu Apr 29 2021 02:28:13
            "origin":"KCHS",
            "destination":"KMEB",
            "originName":"Charleston Intl/AFB",
            "originCity":"Charleston, SC",
            "destinationName":"Laurinburg-Maxton",
            "destinationCity":"Maxton, NC"
         }
      ]
   }
}
{
   "DepartedResult":{
      "next_offset":-1,
      "departures":[
         {
            "ident":"N517MT",
            "aircrafttype":"EC35",
            "actualdeparturetime":1619681747, // Thu Apr 29 2021 03:35:47
            "actualarrivaltime":1619681747,   // Thu Apr 29 2021 03:35:47
            "estimatedarrivaltime":0,
            "origin":"KMEB",
            "destination":"L 34.76093 -79.45158",
            "originName":"Laurinburg-Maxton",
            "originCity":"Maxton, NC",
            "destinationName":"Maxton, NC",
            "destinationCity":"Maxton, NC"
         }
      ]
   }
}

More information can be found here.

If (actualdeparturetime != 0 && actualarrivaltime != 0 && actualdeparturetime == actualarrivaltime), then the flight result is unknown and has probably arrived but we don’t have an arrival confirmation.

Thx for getting back to me with an explanation.

Sure thing, let us know if you have any other questions.