82trust / 100

Flights UAL123

by StableTravel in Weather & location

x402 APIPassing, checked 3 h ago

Get flight information by ident (designator, registration, or fa_flight_id)

GET https://stabletravel.dev/api/flightaware/flights/UAL123

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
205 ms typical, 205 ms slowest 5%
Last check
3 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/flights/UAL123?ident_type=designator&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%2Fflights%2FUAL123
const res = await pay("https://stabletravel.dev/api/flightaware/flights/UAL123?ident_type=designator&max_pages=1");
console.log(await res.json());

Example input

{
  "ident_type": "designator",
  "max_pages": 1
}

Example output

{
  "flights": [
    {
      "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",
      "type": "Airline"
    }
  ],
  "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
3 h agoPassed402205 ms$0.01
8 h agoPassed402254 ms$0.01