Get flight information by ident (designator, registration, or fa_flight_id)
Get flight information by ident (designator, registration, or fa_flight_id)
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-31
updated
Provider
stabletravel.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xDd257723b86B4947483905cdAcBbBC70fACF2ec0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "6u5LMGQC2qk9peNibahmRWxGVXrBypk8nhTCcqtiuqMY",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"ident_type": "designator",
"max_pages": 1
},
"type": "http"
},
"output": {
"example": {
"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
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Opaque cursor for pagination",
"type": "string"
},
"end": {
"description": "End date/time (ISO 8601)",
"type": "string"
},
"ident_type": {
"description": "Type of flight identifier",
"enum": [
"fa_flight_id",
"designator",
"registration"
],
"type": "string"
},
"max_pages": {
"description": "Maximum number of pages to fetch",
"type": "number"
},
"start": {
"description": "Start date/time (ISO 8601)",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"flights": {
"items": {
"additionalProperties": false,
"properties": {
"actual_arrival_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"actual_departure_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"actual_in": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"actual_off": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"actual_on": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"actual_out": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"aircraft_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"arrival_delay": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"atc_ident": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"baggage_claim": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"blocked": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"cancelled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"codeshares": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"codeshares_iata": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
]
},
"departure_delay": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"destination": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"airport_info_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_iata": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_icao": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_lid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"diverted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"estimated_arrival_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_departure_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_in": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_off": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_on": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_out": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"fa_flight_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"filed_airspeed": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"filed_altitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"filed_ete": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"flight_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"foresight_predictions_available": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"gate_destination": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"gate_origin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ident": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ident_iata": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ident_icao": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"inbound_fa_flight_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"operator": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"operator_iata": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"operator_icao": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"origin": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"airport_info_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_iata": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_icao": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_lid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"position_only": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"progress_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"registration": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"route": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"route_distance": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"scheduled_arrival_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scheduled_departure_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scheduled_in": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scheduled_off": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scheduled_on": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scheduled_out": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seats_cabin_business": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"seats_cabin_coach": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"seats_cabin_first": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"terminal_destination": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"terminal_origin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"enum": [
"Airline",
"General_Aviation",
"Cargo"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
"links": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"next": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"num_pages": {
"type": "number"
}
},
"required": [
"flights"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://stabletravel.dev/api/flightaware/flights/SWA3422" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://stabletravel.dev/api/flightaware/flights/SWA3422");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://stabletravel.dev/api/flightaware/flights/SWA3422")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/668.json, and this resource appears in /discovery/resources and /discovery/search.