Flight schedule
Look up current-day or future flight schedules for an airport by arrival/departure direction.
Canonical contract
- Call path
/routes/auto/travel/flight-schedule- Pin a provider
/routes/{provider}/travel/flight-schedule- Method
- GET
- Catalog provider
- tempo-aviationstack
- Auto quote
- quotes provider and total; response confirms actual provider
- Settlement
- Base USDC · x402
Quickstart
curl 'https://h402-test.hunt.town/routes/auto/travel/flight-schedule?airportCode=JFK&direction=departure'
h402 call travel/flight-schedule --query '{"airportCode":"JFK","direction":"departure"}'Parameters & live test
pays real USDCFill the request fields, quote the exact per-call total, sign an x402 payment with your wallet, and send — no signup, no API key. Only the listed parameters are accepted; fields badged passthrough are forwarded to the provider as-is.
airportCodestringrequiredAirport IATA code used by AviationStack timetable and future schedule endpoints.
directionstringrequiredSchedule direction for the airport.
datestringoptionalFuture schedule date (YYYY-MM-DD). Omit for the current-day timetable endpoint; provide a date more than 7 days ahead for AviationStack flightsFuture.
airlineIatastringoptionalOptional airline IATA code filter.
airlineIcaostringoptionalOptional airline ICAO code filter.
flightNumberstringoptionalOptional flight number filter.
limitintegeroptional1–100default 100Number of results per page. AviationStack documents a default of 100 and plan-dependent maximums; h402 caps the public page size at 100 for predictable calls.
offsetintegeroptional0–100000-based pagination offset for paging through AviationStack result sets. h402 caps the public offset at 10000 as a safety bound because the provider documents no fixed maximum.
{ "pagination": { "limit": 100, "offset": 0, "count": 1, "total": 1 }, "data": [ { "airline": { "iataCode": "AA", "icaoCode": "AAL" }, "flight": { "iataNumber": "AA1004", "number": "1004" }, "departure": { "iataCode": "JFK", "scheduledTime": "2026-12-01T08:00:00+00:00" }, "arrival": { "iataCode": "LAX", "scheduledTime": "2026-12-01T11:15:00+00:00" } } ] }
Providers
Candidates competing behind this task. h402 routes each call to the best quality-adjusted option. Listed prices are provider prices; settlement adds a 5% h402 fee.
- Success
- 100%
- p50
- 18.40s
- Calls
- 2