Route Ontime
route_ontimeMonthly on-time performance for one US domestic flight route (origin airport -> destination airport), from BTS TranStats Reporting Carrier On-Time Performance. Returns, per month (and per carrier if more than one serves the route): flights, completed flights, on-time arrivals and on-time %, average arrival delay in minutes, cancellations, diversions, and delay minutes broken down by cause (carrier, weather, NAS/air-traffic-control, security, late aircraft). Pass carrier (2-letter code like "DL", or a common name like "Delta") to scope to one airline; omit it to see every carrier that flew the route. months caps how many of the most recently loaded months to return (default 12). Covers the most recent months loaded (see data_as_of and the earliest/latest fields), not full history. Unknown origin/destination airport codes are refused with a clear error, never an empty success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | Destination airport code, e.g. "LAX". | |
| months | No | How many of the most recently loaded months to return, most recent first. Default 12. | |
| origin | Yes | Origin airport code, e.g. "JFK". | |
| carrier | No | Optional: 2-letter carrier code ("DL") or common name ("Delta") to scope to one airline. |