Get all arrivals, departures, enroute, and scheduled flights at any airport via FlightAware — $0.04/call.
What it does
This endpoint returns all current flight activity at a given airport, including arrivals, departures, enroute flights, scheduled arrivals, and scheduled departures. It is part of StableTravel's FlightAware airport endpoints, which proxy FlightAware AeroAPI data through a pay-per-request MPP/x402 micropayment gateway. The airport is specified by its ICAO or IATA code as a path parameter (`:id`). Optional query parameters let you filter by flight type (arrivals, departures, enroute, scheduled_arrivals, scheduled_departures), airline IATA code, and pagination (max_pages, cursor).
The response contains arrays for arrivals, departures, scheduled_arrivals, and scheduled_departures, each populated with detailed flight objects including ident, operator, origin/destination airport info, scheduled/estimated/actual times, aircraft type, route distance, gate and terminal information, delay data, and flight status. Pagination links and page counts are also returned. The endpoint costs $0.04 per request, settled in USD via the MPP protocol (Tempo method with pathUSD) or x402. No API keys or subscriptions are required — payment serves as authentication. Use `npx agentcash fetch` for automatic payment handling.
This endpoint is useful for building airport dashboards, monitoring operational status, or feeding flight data into travel planning agents. For arrivals-only or departures-only queries, dedicated sub-endpoints exist at lower cost ($0.01 each).
Capabilities
Use cases
- —Build a real-time airport flight information display (FIDS) for an app or dashboard
- —Let an AI travel agent check all current and upcoming flights at a destination airport
- —Monitor airport congestion and operational status before recommending connections
- —Aggregate departure/arrival data for airline or airport analytics
Fit
Best for
- —Agents that need a comprehensive snapshot of all flight activity at an airport in one call
- —Travel planning workflows that check airport schedules before booking
- —Operational monitoring dashboards for airports or airlines
Not for
- —Booking flights (use the Amadeus /api/flights/search and /api/flights/book endpoints instead)
- —Getting historical flight data (use /api/flightaware/history/ endpoints)
- —Price comparison or fare shopping
Quick start
npx agentcash fetch "https://stabletravel.dev/api/flightaware/airports/JFK/flights"Example
Response
{
"links": {
"next": null
},
"arrivals": [
{
"ident": "UAL123",
"origin": {
"city": "San Francisco",
"code": "KSFO",
"name": "San Francisco Intl",
"code_iata": "SFO"
},
"status": "Arrived",
"operator": "UAL",
"actual_in": "2025-07-01T14:25:00Z",
"ident_iata": "UA123",
"destination": {
"city": "New York",
"code": "KJFK",
"name": "John F Kennedy Intl",
"code_iata": "JFK"
},
"fa_flight_id": "UAL123-1234567890-schedule-0000",
"scheduled_in": "2025-07-01T14:30:00Z",
"aircraft_type": "B789"
}
],
"num_pages": 1,
"departures": [],
"scheduled_arrivals": [],
"scheduled_departures": []
}Endpoint
Quality
Full OpenAPI 3.1 schema with detailed response types, clear pricing ($0.04/call), comprehensive documentation and parameter descriptions. The MPP probe did not capture a live 402 challenge (endpoint uses path params so HEAD/GET on the template URL may not resolve), but the OpenAPI spec and landing page confirm the endpoint is operational.
Warnings
- —MPP probe did not capture a 402 challenge — the endpoint requires a valid airport code in the :id path segment, so probing the template URL directly would not trigger the payment challenge.
- —No dedicated /pricing page exists (returns 404); pricing is documented only in the OpenAPI spec and guidance text.
Citations
- —Endpoint costs $0.04 per requesthttps://stabletravel.dev/openapi.json
- —Accepts ICAO or IATA airport code as the id path parameterhttps://stabletravel.dev/openapi.json
- —Response includes arrivals, departures, scheduled_arrivals, scheduled_departures arrayshttps://stabletravel.dev/openapi.json
- —Payment via USDC on Base, Solana, or Tempo (x402/MPP protocol) serves as authentication — no API keys neededhttps://stabletravel.dev
- —Part of StableTravel's FlightAware AeroAPI proxy endpointshttps://stabletravel.dev/docs