Search flights by query string via FlightAware AeroAPI — real-time idents, lat/long, and airline lookups at $0.10/call.
What it does
This endpoint searches for flights using FlightAware's query syntax, supporting ident wildcards (e.g. `-idents "UAL*"`), geographic bounding boxes (`-latlong "36 -104 30 -86"`), and airline filters (`-airline "UAL"`). It is part of StableTravel, a pay-per-request travel API suite that wraps Amadeus GDS and FlightAware AeroAPI behind MPP/x402 micropayments. No API keys or subscriptions are required — payment via USDC on Base, Solana, or Tempo serves as authentication.
The endpoint accepts a single required `query` parameter via GET and returns an array of flight objects with detailed fields including fa_flight_id, ident (ICAO/IATA), operator, origin/destination airports (with codes, names, cities, timezones), scheduled/estimated/actual gate and runway times, delays, aircraft type, route distance, filed altitude/airspeed, baggage claim, gate/terminal info, codeshares, and flight status. Pagination is supported via `links.next` and `num_pages`. The response schema is fully documented in the OpenAPI spec.
Pricing is $0.10 per request (fixed). Settlement occurs via the Tempo method on chain ID 4217 using pathUSD. The endpoint returned a valid 402 MPP challenge during probing, confirming it is live and operational. The broader StableTravel platform also offers flight search/booking via Amadeus ($0.05), Google Flights price comparison ($0.02), hotel search/booking, activities, transfers, airport info, weather, disruption counts, and flight history — over 60 endpoints in total.
Capabilities
Use cases
- —Search for all flights by a specific airline currently in the air
- —Find flights within a geographic bounding box for airspace monitoring
- —Look up flights by ident wildcard to track an airline's operations
- —Build a flight tracking dashboard with real-time status data
- —Count and list flights matching complex query criteria for analytics
Fit
Best for
- —AI agents that need real-time flight operational data without managing API keys
- —Travel automation workflows requiring FlightAware data at per-call pricing
- —Applications needing flight search by ident, registration, or geographic area
Not for
- —Booking flights (use the Amadeus /api/flights/search and /api/flights/book endpoints instead)
- —Historical flight data (use /api/flightaware/history/ endpoints instead)
- —Price comparison shopping (use /api/google-flights/search instead)
Quick start
npx agentcash fetch "https://stabletravel.dev/api/flightaware/flights/search?query=-idents+%22UAL*%22"Example
Response
{
"links": {
"next": null
},
"flights": [
{
"ident": "UAL100",
"origin": {
"city": "Newark",
"code": "KEWR",
"name": "Newark Liberty Intl",
"code_iata": "EWR"
},
"status": "En Route",
"operator": "UAL",
"ident_iata": "UA100",
"ident_icao": "UAL100",
"destination": {
"city": "London",
"code": "EGLL",
"name": "London Heathrow",
"code_iata": "LHR"
},
"estimated_on": "2025-06-16T10:30:00Z",
"fa_flight_id": "UAL100-1234567890-schedule-0000",
"registration": "N12345",
"aircraft_type": "B789",
"flight_number": "100",
"operator_iata": "UA",
"scheduled_out": "2025-06-15T22:00:00Z",
"route_distance": 3459,
"progress_percent": 45
}
],
"num_pages": 1
}Endpoint
Quality
Full OpenAPI 3.1 schema with detailed request/response definitions, clear pricing in USD, comprehensive documentation with query syntax examples, and a live 402 MPP challenge confirming the endpoint is operational. Minor deduction because no actual 200 response sample was captured during probing.
Citations
- —This endpoint costs $0.10 per requesthttps://stabletravel.dev/openapi.json
- —Payment is via Tempo method on chain ID 4217 using pathUSDhttps://stabletravel.dev/openapi.json
- —Query syntax supports -idents, -latlong, and -airline parametershttps://stabletravel.dev/openapi.json
- —No API keys needed; payment via USDC on Base, Solana, or Tempo serves as authenticationhttps://stabletravel.dev
- —StableTravel wraps Amadeus and FlightAware AeroAPIhttps://stabletravel.dev