Find a scheduled arrival more than 48 hours in the future

Hi there, I am looking to find scheduled arrivals at a particular airport more than 2 days in advance.

Originally, I had been using the GET /airports/{id}/flights but that imposes a future restriction “Specified date must be no further than 10 days in the past and 2 days in the future.”

I found a discussion post that brought me to use GET /schedules/{date_start}/{date_end} but it looks like the date path parameter is only used for the departure time, not the arrival time. “Datetime or date of earliest scheduled flight departure to return.” A workaround could be to just increase the time window and parse the results to find one with a matching scheduled_in, but this would be less performant and seems wasteful.

Is there a way to find scheduled arrivals based on a specified arrival time for a particular airport more than 2 days in advance? Any help would be appreciated.

Thanks!
-Mark

Flight status is only available for flights within the next 2 days, however flight schedules for airlines are available for several months in the future. You can use GET /schedules/{date_start}/{date_end} to retrieve those airline flight schedules, however no fa_flight_id or status will be available for those schedules.

Thanks for your response! It looks like the GET schedules date path parameter is only used for the departure time, not the arrival time. “Datetime or date of earliest scheduled flight departure to return.” Is there a way to find scheduled arrivals based on a specified arrival time? Cheers!

Both the start and end date must be specified and just represent the window of flights that you’re willing to consider, not necessarily the details of a single flight. (ie: you can specify start and end that represent a 3 week window, but obviously there will be no single flight that has an enroute duration that is that long.) Any more specific filtering refinement of the flights you are looking for must be done in your own logic against the returned flights.