81trust / 100

Flights Arrivals

by StableTravel in Weather & location

x402 APIPassing, checked 2 h ago

Get arrival flights for a specific airport

GET https://stabletravel.dev/api/flightaware/airports/KJFK/flights/arrivals

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
191 ms typical, 191 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://stabletravel.dev/api/flightaware/airports/KJFK/flights/arrivals?max_pages=1"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fstabletravel.dev%2Fapi%2Fflightaware%2Fairports%2FKJFK%2Fflights%2Farrivals
const res = await pay("https://stabletravel.dev/api/flightaware/airports/KJFK/flights/arrivals?max_pages=1");
console.log(await res.json());

Example input

{
  "max_pages": 1
}

Example output

{
  "arrivals": [
    {
      "aircraft_type": "B738",
      "destination": {
        "city": "Los Angeles",
        "code": "KLAX",
        "code_iata": "LAX",
        "code_icao": "KLAX",
        "name": "Los Angeles International"
      },
      "fa_flight_id": "AAL100-1733068800-airline-0001",
      "flight_number": "100",
      "ident": "AAL100",
      "ident_iata": "AA100",
      "ident_icao": "AAL100",
      "operator": "AAL",
      "operator_iata": "AA",
      "operator_icao": "AAL",
      "origin": {
        "city": "New York",
        "code": "KJFK",
        "code_iata": "JFK",
        "code_icao": "KJFK",
        "name": "John F. Kennedy International"
      },
      "scheduled_in": "2026-12-01T19:00:00Z",
      "scheduled_out": "2026-12-01T13:00:00Z",
      "status": "Scheduled"
    }
  ],
  "num_pages": 1
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402191 ms$0.01
7 h agoPassed402226 ms$0.01