{"uid":"cap_DaeEthZfVvay0pyzd3qpD","slug":"stabletravel-flightaware-flight-history-6738c321","name":"StableTravel FlightAware Flight History","description":"Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.","url":"https://stabletravel.dev/api/flightaware/history/flights/id","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"end":{"type":"string"},"start":{"type":"string"},"cursor":{"type":"string"},"max_pages":{"type":"number"},"ident_type":{"enum":["fa_flight_id","designator","registration"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["flights"],"properties":{"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"flights":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}]},"ident":{"anyOf":[{"type":"string"},{"type":"null"}]},"route":{"anyOf":[{"type":"string"},{"type":"null"}]},"origin":{"anyOf":[{"type":"object","properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_lid":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"airport_info_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator":{"anyOf":[{"type":"string"},{"type":"null"}]},"actual_in":{"anyOf":[{"type":"string"},{"type":"null"}]},"actual_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"atc_ident":{"anyOf":[{"type":"string"},{"type":"null"}]},"filed_ete":{"anyOf":[{"type":"number"},{"type":"null"}]},"actual_off":{"anyOf":[{"type":"string"},{"type":"null"}]},"actual_out":{"anyOf":[{"type":"string"},{"type":"null"}]},"ident_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"ident_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"destination":{"anyOf":[{"type":"object","properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}]},"code":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_lid":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"code_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"airport_info_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"gate_origin":{"anyOf":[{"type":"string"},{"type":"null"}]},"fa_flight_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"registration":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduled_in":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduled_on":{"anyOf":[{"type":"string"},{"type":"null"}]},"aircraft_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"arrival_delay":{"anyOf":[{"type":"number"},{"type":"null"}]},"baggage_claim":{"anyOf":[{"type":"string"},{"type":"null"}]},"flight_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator_iata":{"anyOf":[{"type":"string"},{"type":"null"}]},"operator_icao":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduled_off":{"anyOf":[{"type":"string"},{"type":"null"}]},"scheduled_out":{"anyOf":[{"type":"string"},{"type":"null"}]},"filed_airspeed":{"anyOf":[{"type":"number"},{"type":"null"}]},"filed_altitude":{"anyOf":[{"type":"number"},{"type":"null"}]},"route_distance":{"anyOf":[{"type":"number"},{"type":"null"}]},"departure_delay":{"anyOf":[{"type":"number"},{"type":"null"}]},"terminal_origin":{"anyOf":[{"type":"string"},{"type":"null"}]},"gate_destination":{"anyOf":[{"type":"string"},{"type":"null"}]},"progress_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"terminal_destination":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"num_pages":{"type":"number"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"flights":[{"type":"Airline","ident":"AAL100","origin":{"city":"New York","code":"KJFK","name":"John F. Kennedy International","code_iata":"JFK","code_icao":"KJFK"},"status":"Arrived","operator":"AAL","actual_in":"2026-12-01T18:55:00Z","actual_out":"2026-12-01T13:05:00Z","ident_iata":"AA100","ident_icao":"AAL100","destination":{"city":"Los Angeles","code":"KLAX","name":"Los Angeles International","code_iata":"LAX","code_icao":"KLAX"},"fa_flight_id":"AAL100-1733068800-airline-0001","scheduled_in":"2026-12-01T19:00:00Z","aircraft_type":"B738","flight_number":"100","operator_iata":"AA","operator_icao":"AAL","scheduled_out":"2026-12-01T13:00:00Z"}],"num_pages":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7m9jARGB4PPYWCF7hIKaB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical flight records for a specific flight identifier using FlightAware data, with optional date range and pagination filters.","exampleAgentPrompt":"Pull the flight history for American Airlines flight AA100 from FlightAware — show me all flights that operated between December 1 and December 7, 2026, using the designator ident type.","exampleUseCases":[{"title":"Verify passenger delay claims for refunds","prompt":"I need to check the actual arrival time for United flight UA456 last month. A customer is asking for compensation, so pull the historical flight data and show me how late it actually landed compared to what was scheduled."},{"title":"Analyze airline punctuality patterns","prompt":"Can you get me the flight history for Southwest flight WN200? I want to compare actual departure and arrival times across the last three weeks to see if this route has consistent delays."},{"title":"Track aircraft maintenance schedule gaps","prompt":"Retrieve the historical flight records for aircraft registration N12345 from the past two months. I need to see all the flights this plane operated so I can identify any gaps in our maintenance records."}],"resultDescription":"Returns an array of historical flight objects, each containing flight identifier, origin and destination airport details (city, IATA/ICAO codes, name, timezone), flight status, operator codes, aircraft type, flight number, and actual and scheduled departure/arrival times (actual_out, actual_in, scheduled_out, scheduled_in). Also includes pagination links for fetching additional pages.","failureModes":["Invalid or unknown flight identifier returns empty flights array","Missing required 'type' or 'method' input fields returns 400 error","Date range too broad may require pagination via cursor","Payment not included or insufficient USDC triggers 402 Payment Required","Unrecognized ident_type enum value causes validation error","FlightAware upstream unavailable causes 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need historical flight records for a known flight identifier — by fa_flight_id, IATA/ICAO designator, or aircraft registration — and want rich structured data including actual vs scheduled times, airport details, and operator info. Prefer this over live flight endpoints when the flight has already occurred and you need archival data. It is ideal for travel analytics, delay analysis, or verifying past itineraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:41.370Z","isFirstParty":false}