FlightAware advanced flight search via pay-per-request MPP — $0.10/call, no API keys
What it does
This endpoint provides advanced flight search powered by FlightAware's AeroAPI, exposed through StableTravel's pay-per-request infrastructure. It accepts a single `query` parameter using FlightAware's extended query syntax (e.g., `-idents "UAL*"`, `-latlong "36 -104 30 -86"`, `-airline "UAL"`) and returns detailed flight objects including ident, operator, origin/destination airports, scheduled/estimated/actual times, delays, aircraft type, route, gates, terminals, codeshares, and flight status. Pagination is supported via `links.next` and `num_pages` in the response.
The endpoint costs $0.10 per request, settled via MPP (Tempo method on chain 4217) or x402 using pathUSD. No API keys, OAuth, or subscriptions are required — payment serves as authentication. The response schema is fully documented in the OpenAPI spec with nullable fields for all flight properties. This is one endpoint within StableTravel's broader suite covering Amadeus flight/hotel/activity/transfer booking, Google Flights price comparison, and FlightAware real-time tracking, airport info, weather, history, and disruption data.
The endpoint is live, returning a 402 MPP payment challenge on unauthenticated requests. The full OpenAPI 3.1 spec is available at `/openapi.json` with detailed schemas for request parameters and response objects.
Capabilities
Use cases
- —Search for all flights by a specific airline currently airborne using query syntax like -airline "UAL"
- —Find flights within a geographic bounding box using -latlong queries for airspace monitoring
- —Look up flights by wildcard ident patterns (e.g., -idents "SWA*") for operational dashboards
- —Build autonomous travel agents that query live flight data without managing FlightAware API keys
- —Monitor specific routes or aircraft types with complex multi-parameter queries
Fit
Best for
- —AI agents needing programmatic real-time flight search without API key management
- —Aviation monitoring tools that need FlightAware data via simple HTTP with micropayments
- —Travel automation workflows combining flight search with booking via other StableTravel endpoints
Not for
- —Bulk historical data extraction (use the /history endpoints instead, or FlightAware directly for volume)
- —Consumer-facing flight price comparison (use the Google Flights or Amadeus search endpoints instead)
- —Streaming real-time position updates (this returns point-in-time search results, not a push feed)
Quick start
npx agentcash fetch "https://stabletravel.dev/api/flightaware/flights/search/advanced?query=-airline+%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",
"destination": {
"city": "London",
"code": "EGLL",
"name": "London Heathrow",
"code_iata": "LHR"
},
"estimated_in": "2025-06-16T10:15:00Z",
"fa_flight_id": "UAL100-1718000000-schedule-0001",
"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, live 402 MPP challenge confirmed, comprehensive documentation including query syntax examples and typical workflows. Only minor gap is lack of inline response examples in the spec itself.
Citations
- —Advanced flight search endpoint costs $0.10 per requesthttps://stabletravel.dev/openapi.json
- —Payment via MPP Tempo method on chain 4217 with pathUSD currencyhttps://stabletravel.dev/openapi.json
- —Query parameter uses FlightAware syntax including -idents, -latlong, -airlinehttps://stabletravel.dev/openapi.json
- —No API keys needed; payment via USDC on Base, Solana, or Tempo serves as authenticationhttps://stabletravel.dev
- —Endpoint is live, returning 402 MPP payment challengehttps://stabletravel.dev/api/flightaware/flights/search/advanced