Get Delay Forecast
flighty_get_delay_forecastRetrieve historical delay statistics for a flight you track in Flighty. See how often it is early, on-time, or delayed, plus cancellation and diversion rates.
Instructions
Get historical delay statistics for a flight already in the user's Flighty database — how often it is early, on-time, late, cancelled, or diverted. This data is attached by Flighty when a flight is added to the user's account. It cannot look up forecasts for arbitrary flights not in the database.
Looks up the MOST RECENT instance of the flight to retrieve its stored delay forecast data. All timestamps are UTC.
Returns: flight_number, route (e.g. "SFO -> EWR"), observations (sample size), mean_delay_minutes, and percentage breakdowns (early_pct, ontime_pct, late_15/30/45_pct, cancelled_pct, diverted_pct). Returns null if no forecast data is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flight_number | Yes | Flight number, e.g. "UA194" |