# FlightAware flight number history API

Get FlightAware history by flight number or registration via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as ident, output, raw, and retrieve structured data including requested recurring identifier, source service-date label, departure estimate flag, arrival estimate flag, and source service status for service history, and time context.

Documentation: https://openany.si/flightaware/flightaware-flight-number-history-api/db1585d2-b19b-4407-beb7-bf278189981e/
API ID: db1585d2-b19b-4407-beb7-bf278189981e
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/flightaware/v1/flight/history
Page update time: 2026-12-03T02:46:48.507Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:46:46.957Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## FlightAware Flight History API

Set ident to the source flight number or registration. The source note limits public coverage to the last fourteen days and upcoming scheduled flights; local airport time labels retain estimate flags.

## What You Can Build

- **Service history**: Keep recurring identifier and dated flight references separate.
- **Time context**: Retain estimate flags and source local-time labels.

## Returned Data

| Field | Meaning |
| --- | --- |
| `ident` | Requested recurring identifier |
| `flights[].date` | Source service-date label |
| `flights[].departure_estimated` | Departure estimate flag |
| `flights[].arrival_estimated` | Arrival estimate flag |
| `flights[].status` | Source service status |
| `note` | Source public-history coverage note |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FlightAware flight number history API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "ident": {
          "type": "string",
          "description": "Flight number (`UAL1`, `UA1`) or registration (`N12114`)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "ident"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "flights": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "aircraft_type": {
            "type": "string"
          },
          "arrival": {
            "type": "string"
          },
          "arrival_estimated": {
            "type": "boolean"
          },
          "date": {
            "type": "string"
          },
          "departure": {
            "type": "string"
          },
          "departure_estimated": {
            "type": "boolean"
          },
          "destination": {
            "type": "object",
            "properties": {
              "iata": {
                "type": "string"
              },
              "icao": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "duration": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "origin": {
            "type": "object",
            "properties": {
              "iata": {
                "type": "null"
              },
              "icao": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "planned_route": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "ident": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/flightaware/v1/flight/history?ident=UAL1&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 16,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:23:59.526Z",
  "flights": [
    {
      "aircraft_type": "B789",
      "arrival": "07:50AM +08 (+2)",
      "arrival_estimated": true,
      "date": "19-Nov-2026",
      "departure": "10:50PM PST",
      "departure_estimated": true,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": null,
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": "GNNRR3 ALCOA 3800N/13000W 3800N/14000W 3700N/15000W 3600N/16000W 3500N/17000W 3100N/18000E 2500N/17000E 2100N/16000E 1700N/15000E 1300N/14000E 1000N/13000E BN ZAM A341 VSN W461 BRU M646 TOMAN KARTO2A",
      "status": "Scheduled",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261120/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:38AM +08 (+2)",
      "arrival_estimated": true,
      "date": "18-Nov-2026",
      "departure": "11:44PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": null,
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "En Route",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261119/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "09:10AM +08 (+1)",
      "arrival_estimated": false,
      "date": "18-Nov-2026",
      "departure": "12:29AM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:40",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261118/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:07AM +08 (+2)",
      "arrival_estimated": false,
      "date": "16-Nov-2026",
      "departure": "11:19PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:47",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261117/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:14PM +08 (+1)",
      "arrival_estimated": false,
      "date": "16-Nov-2026",
      "departure": "12:02PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:12",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261116/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:01AM +08 (+2)",
      "arrival_estimated": false,
      "date": "14-Nov-2026",
      "departure": "11:07PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:53",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261115/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:06AM +08 (+2)",
      "arrival_estimated": false,
      "date": "13-Nov-2026",
      "departure": "11:39PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:26",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261114/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:18AM +08 (+2)",
      "arrival_estimated": false,
      "date": "12-Nov-2026",
      "departure": "11:37PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:40",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261113/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:46AM +08 (+2)",
      "arrival_estimated": false,
      "date": "11-Nov-2026",
      "departure": "11:23PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:22",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261112/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:36AM +08 (+2)",
      "arrival_estimated": false,
      "date": "10-Nov-2026",
      "departure": "11:59PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:37",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261111/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:59AM +08 (+2)",
      "arrival_estimated": false,
      "date": "09-Nov-2026",
      "departure": "11:22PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:36",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261110/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "08:44AM +08 (+1)",
      "arrival_estimated": false,
      "date": "09-Nov-2026",
      "departure": "12:10AM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:33",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261109/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:42AM +08 (+2)",
      "arrival_estimated": false,
      "date": "07-Nov-2026",
      "departure": "11:06PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:35",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261108/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:41AM +08 (+2)",
      "arrival_estimated": false,
      "date": "06-Nov-2026",
      "departure": "11:16PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:24",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261107/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:39AM +08 (+2)",
      "arrival_estimated": false,
      "date": "05-Nov-2026",
      "departure": "11:17PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:22",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261106/0650Z/KSFO/WSSS"
    },
    {
      "aircraft_type": "B789",
      "arrival": "07:49AM +08 (+2)",
      "arrival_estimated": false,
      "date": "04-Nov-2026",
      "departure": "11:20PM PST",
      "departure_estimated": false,
      "destination": {
        "iata": "SIN",
        "icao": "WSSS",
        "location": "Singapore",
        "name": "Changi"
      },
      "duration": "16:28",
      "origin": {
        "iata": null,
        "icao": "KSFO",
        "location": "San Francisco, CA",
        "name": "San Francisco Int'l"
      },
      "planned_route": null,
      "status": "Arrived",
      "url": "https://www.flightaware.com/live/flight/UAL1/history/20261105/0650Z/KSFO/WSSS"
    }
  ],
  "ident": "UAL1",
  "note": "the last 14 days and the next scheduled flights, as FlightAware shows them logged out; times are local to each airport"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What history is described by the contract?
The source note describes the last fourteen days and upcoming scheduled flights visible on the public page.

### Is a Scheduled entry a completed flight?
No. Retain status and the individual estimate flags.

### Are all displayed times UTC?
No. The source note says they are local to each airport; preserve day-offset labels.

### How do I inspect an exact history entry?
Use its returned source URL with Flight Status.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/flightaware/flightaware-flight-number-history-api/db1585d2-b19b-4407-beb7-bf278189981e/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
