S

StableTravel · Flights UA123

by StableTravel

GETBaseSolana

$0.01

per call · USD Coin on Base

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

Endpoint

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

3

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://stabletravel.dev/api/flightaware/flights/UA123", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://stabletravel.dev/api/flightaware/flights/UA123?ident_type=designator&max_pages=1" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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
}

Payment details

Pay to0xdd257723b86b4947483905cdacbbbc70facf2ec0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from StableTravel & similar services