# US Airline On-Time League Table — 2 Months

**Use case:** 

Ready-to-run US airline on-time league table from official BTS data: two months of per-airline delay rates, cancellation causes and carrier vs weather vs late-aircraft delay minutes, with honest denominators on every row.

## Input

```json
{
  "sinceMonth": "2026-05",
  "untilMonth": "2026-06",
  "airlines": [
    "WN"
  ],
  "groupBy": "airline",
  "minFlights": 0,
  "maxResults": 50,
  "allowPartial": false
}
```

## Output

```json
{
  "month": {
    "label": "Month",
    "format": "string"
  },
  "airline": {
    "label": "Airline",
    "format": "string"
  },
  "route": {
    "label": "Route",
    "format": "string"
  },
  "origin": {
    "label": "Origin airport",
    "format": "string"
  },
  "dest": {
    "label": "Destination airport",
    "format": "string"
  },
  "total_flights": {
    "label": "Total flights",
    "format": "integer"
  },
  "on_time_rate_pct": {
    "label": "On-time rate (%)",
    "format": "number"
  },
  "arr_delay_rate_pct": {
    "label": "Arrival delay rate (%)",
    "format": "number"
  },
  "cancellation_rate_pct": {
    "label": "Cancellation rate (%)",
    "format": "number"
  },
  "avg_arr_delay_delayed_only_min": {
    "label": "Avg arrival delay, delayed only (min)",
    "format": "number"
  },
  "carrier_delay_share_pct": {
    "label": "Carrier share (%)",
    "format": "number"
  },
  "weather_delay_share_pct": {
    "label": "Weather share (%)",
    "format": "number"
  },
  "nas_delay_share_pct": {
    "label": "NAS share (%)",
    "format": "number"
  },
  "late_aircraft_delay_share_pct": {
    "label": "Late-aircraft share (%)",
    "format": "number"
  },
  "worst_day": {
    "label": "Worst day",
    "format": "string"
  },
  "data_complete": {
    "label": "Data complete",
    "format": "boolean"
  },
  "results_truncated": {
    "label": "Results truncated",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [US Airline On-Time & Flight Delay Statistics by Route (BTS)](https://apify.com/malonestar/bts-airline-ontime-delay-climatology.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/malonestar/bts-airline-ontime-delay-climatology.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/malonestar/bts-airline-ontime-delay-climatology.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
