Carrier Ontime
carrier_ontimeMonthly on-time performance for one airline, aggregated across all its routes (or just the routes touching one airport), from BTS TranStats Reporting Carrier On-Time Performance. Pass carrier as a 2-letter code ("WN") or common name ("Southwest"). Pass airport to scope to flights where that airport is the origin or destination. Returns the same per-month shape as route_ontime (flights, on-time %, average arrival delay, cancellations, diversions, delay minutes by cause). months caps how many of the most recently loaded months to return (default 12). Unknown carrier codes are refused with a clear error, never an empty success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | How many of the most recently loaded months to return, most recent first. Default 12. | |
| airport | No | Optional: scope to flights where this airport is the origin or destination. | |
| carrier | Yes | 2-letter carrier code ("WN") or common name ("Southwest"). |