To address any duplicate flights in the FIDS API response, we recommend adding the FIDS field "scheduledGateDate" to your API call. This will you help differentiate between flights departing on different days and you can choose to filter by flights departing on a specific Scheduled Date to avoid confusion.
Alternatively, you can specify the timeWindowBegin and timeWindowEnd parameters in your FIDS API call to narrow down your results and specify a rolling time window to only retrieve flights departing or arriving a number of minutes before and/or after 'now' during which flights should potentially be included. By default, the time window is based on airport classification and your query.
Please note that if a timeWindowBegin and timeWindowEnd is not specified in your FIDS API request, we will use a default window of flights departing or arriving at an airport. The FIDS API looks at a window before and after "now" based on the classification or number of departures an airport has.
The ranges are:
- class 1 airport: -1 to +8 hours
- class 2 airport: -2 to +16 hours
- class 3+ airport: -3 to +24 hours
Classifications can be found in the Airports API response:
Article is closed for comments.