How to get flights data?

How to get data of flights landed on KPHX in last 1 hour and flights are arriving in next 1 hour?

Which API I should use along with query parameter?

Thanks !

I guess you can

  • use the “Arrived” method for the planes landed on KPHX and then filter the results (actualarrivaltime >= now - 1h)
  • use the “Enroute” method for the planes heading to KPHX and then filter the results (estimatedarrivaltime <= now + 1h)