FlightAware flight number history

GET https://api.api.sh/flightaware/v1/flight/history
1 credit / call travel & events try it in the playground →

The last 14 days and the next scheduled flights of a flight number or registration: date, aircraft type, origin and destination, departure and arrival times (local, with estimated marks), duration or status, filed route and the link to each leg (use it as url on /flightaware/v1/flight).

Every response includes credits_used: the credits this call cost.

Part of the FlightAware API: 11 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
identrequired string Flight number (UAL1, UA1) or registration (N12114). Example: UAL1

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/flightaware/v1/flight/history?ident=UAL1" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"ident": "UAL1","count": 16,"flights": [{"date": "06-Nov-2026","aircraft_type": "B789","origin": {"name": "San Francisco Int'l","location": "San Francisco, CA","icao": "KSFO","iata": null},"destination": {"name": "Changi","location": "Singapore","icao": "WSSS","iata": "SIN"},"departure": "10:50PM PST","arrival": "07:50AM +08 (+2)","departure_estimated": true,"arrival_estimated": true,"duration": null,"status": "Scheduled","planned_route": "GNNRR3 ALCOA BUTEN BOSKE 3500N/14000W 3200N/15000W 3000N/16000W 2800N/17000W 2700N/18000E 2500N/17000E 2400N/16000E 2100N/15000E 1900N/14000…","url": "https://www.flightaware.com/live/flight/UAL1/history/20261107/0650Z/KSFO/WSSS"},{"date": "05-Nov-2026","aircraft_type": "B789","origin": {"name": "San Francisco Int'l","location": "San Francisco, CA","icao": "KSFO","iata": null},"destination": {"name": "Changi","location": "Singapore","icao": "WSSS","iata": "SIN"},"departure": "11:17PM PST","arrival": "06:48AM +08 (+2)","departure_estimated": false,"arrival_estimated": true,"duration": null,"status": "En Route","planned_route": null,"url": "https://www.flightaware.com/live/flight/UAL1/history/20261106/0650Z/KSFO/WSSS"},"… 14 more"],"note": "the last 14 days and the next scheduled flights, as FlightAware shows them logged out; times are local to each airport","cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.