Historical flights by operator via FlightAware AeroAPI — $0.04/request, pay-per-call, no API keys.
What it does
This endpoint returns historical flight data for a given airline or operator, sourced from FlightAware's AeroAPI and proxied through StableTravel. You provide an operator identifier (ICAO or IATA code) as a path parameter, and the endpoint returns a paginated list of past flights including ident, origin/destination airports, scheduled and actual times, delays, aircraft type, route, and status. Optional query parameters let you filter by start/end time range, control pagination with cursor and max_pages.
The endpoint costs $0.04 per request, paid automatically via the MPP (Tempo) or x402 micropayment protocol using USDC on Base, Solana, or Tempo. No API keys, OAuth tokens, or subscriptions are required — payment serves as authentication. The response includes a flights array with rich per-flight objects (fa_flight_id, ident, operator codes, origin/destination with airport names and ICAO/IATA codes, scheduled/actual gate and runway times, delays, aircraft type, route distance, filed altitude/airspeed, gate/terminal info), plus pagination links and page count.
This is part of the broader StableTravel API suite which covers flight search and booking (Amadeus GDS), hotel search and booking, activities, transfers, Google Flights price comparison, and the full FlightAware AeroAPI surface including real-time tracking, airport info, weather, disruption counts, and flight history.
Capabilities
Use cases
- —Retrieve all historical flights for a specific airline to analyze on-time performance
- —Build a dashboard of past operator activity for fleet management or analytics
- —Research historical route patterns and delays for a given carrier
- —Feed historical flight data into ML models for delay prediction
- —Audit an operator's flight activity over a specific date range
Fit
Best for
- —AI agents that need historical airline operations data without managing API keys
- —Aviation analytics pipelines requiring per-call pricing with no subscription commitment
- —Travel research tools that need operator-level flight history from FlightAware
Not for
- —Real-time flight tracking (use the /flightaware/flights/{ident} endpoints instead)
- —Booking flights (use the Amadeus /flights/search and /flights/book endpoints)
Quick start
npx agentcash fetch "https://stabletravel.dev/api/flightaware/history/operators/UAL/flights?start=2025-01-01T00:00:00Z&end=2025-01-02T00:00:00Z&max_pages=1"Example
Response
{
"links": {
"next": null
},
"flights": [
{
"ident": "UAL100",
"origin": {
"city": "Newark",
"code": "KEWR",
"name": "Newark Liberty Intl",
"code_iata": "EWR"
},
"status": "Arrived",
"operator": "UAL",
"actual_out": "2025-01-01T22:15:00Z",
"ident_iata": "UA100",
"ident_icao": "UAL100",
"destination": {
"city": "London",
"code": "EGLL",
"name": "London Heathrow",
"code_iata": "LHR"
},
"fa_flight_id": "UAL100-1735689600-schedule-0001",
"registration": "N12345",
"aircraft_type": "B789",
"flight_number": "100",
"operator_iata": "UA",
"operator_icao": "UAL",
"scheduled_out": "2025-01-01T22:00:00Z",
"route_distance": 3459
}
],
"num_pages": 1
}Endpoint
Quality
Full OpenAPI 3.1 schema with detailed response object, clear pricing ($0.04/call), live MPP 402 challenge captured, and comprehensive documentation in the x-guidance field. Minor deduction because no example response is provided in the spec itself and the endpoint path uses a generic ':id' placeholder.
Warnings
- —The MPP challenge decoded amount is 40000 in base units on Tempo (chainId 4217) with a currency address that differs from the OpenAPI-listed currency address — verify the correct token/decimals before paying.
Citations
- —Endpoint price is $0.04 per requesthttps://stabletravel.dev/openapi.json
- —Payment via USDC on Base, Solana, or Tempo (x402/MPP protocol) serves as authenticationhttps://stabletravel.dev
- —Endpoint returns flights array with fa_flight_id, ident, operator, origin, destination, times, delays, aircraft_type, route_distance, and paginationhttps://stabletravel.dev/openapi.json
- —Optional query parameters: start, end, max_pages, cursorhttps://stabletravel.dev/openapi.json
- —MPP 402 challenge captured with method=tempo, intent=chargehttps://stabletravel.dev/api/flightaware/history/operators/:id/flights