# FlightAware Flights API

> Flights on FlightAware, as its pages list them.

- Page: https://cleanedweb.com/catalog/flightaware-flights-api/
- Contract (JSON): https://cleanedweb.com/catalog/flightaware-flights-api/contract.json
- Source: flightaware.com (https://www.flightaware.com/)
- Category: News & articles
- Updated: 2026-12-04

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `UPS1306` |
| `url` | string | `https://www.flightaware.com/live/flight/UPS1306/history/20261204/0800Z/KSDF/KATL` |
| `arrival.time` | string | `04:00a EST` |
| `aircraft_model` | string | `Boeing 757-200 (twin-jet)` |
| `airline_name` | string | `United Parcel Service "UPS" (Louisville, KY)` |
| `departure_time` | string | `03:03a EST` |
| `origin.airport_code` | string | `SDF` |
| `origin.airport_details` | string | `Muhammad Ali Intl (Louisville, KY) - SDF` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/flightaware-flights-api/contract.json

## Inputs

- `language` (string): The language the site's records are read in: the same collection, read from the site's own edition in that language. Defaults to the page's own language. Other inputs apply to the default language only. Default: en. Options: English (en), German (de), Spanish (es), French (fr), Italian (it).
- `location` (string, required): Free text: any location the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. For example: KATL, PANC, MDST (STI), KLAX (LAX), KPHX (PHX), MGGT (GUA), KSFO (SFO), KSLC (SLC), and 16 more in https://cleanedweb.com/catalog/flightaware-flights-api/contract.json. Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `from_url` (string): Optional. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as \`decoded\`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_430095fb9bdad300552ed857/endpoints/generated_430095fb9bdad300552ed857_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_430095fb9bdad300552ed857/endpoints/generated_430095fb9bdad300552ed857_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "location": "KATL"
  },
  "version": 1,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_430095fb9bdad300552ed857/endpoints/generated_430095fb9bdad300552ed857_search/result`

## Versions

Current: `1.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v1: current, newest minor `1.0`

### Changelog

- `1.0` (major) 2026-12-03

The same changelog, as data, is in https://cleanedweb.com/catalog/flightaware-flights-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_430095fb9bdad300552ed857`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with Flightaware.
