80trust / 100

Flights SQ321

by StableTravel in Weather & location

x402 APIPassing, checked 2 h ago

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

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
186 ms typical, 259 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/flights/SQ321?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%2FSQ321
const res = await pay("https://stabletravel.dev/api/flightaware/flights/SQ321?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
2 h agoPassed402174 ms$0.01
6 h agoPassed402210 ms$0.01
10 h agoPassed402156 ms$0.01
13 h agoPassed402259 ms$0.01
17 h agoPassed402186 ms$0.01
20 h agoPassed402250 ms$0.01
24 h agoPassed402264 ms$0.01
29 h agoPassed402158 ms$0.01