Flight search by departure and arrival airports in the URL — compare live itineraries, far
Flight search by departure and arrival airports in the URL — compare live itineraries, fares, schedules, stops and emissions across airlines, similar to Google Flights, as clean JSON.
50000 (raw units)
price
96
calls / 30d
15
unique payers
2026-09-18
updated
Provider
flights.use.x402atlas.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "50000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "travel",
"info": {
"input": {
"method": "GET",
"pathParams": {
"arrival": "JFK",
"departure": "LHR"
},
"type": "http"
},
"output": {
"example": {
"arrival_id": "JFK",
"best_flights": [
{
"carbon_emissions": {
"difference_percent": -8,
"this_flight": 410000,
"typical_for_this_route": 445000
},
"departure_token": "opaque-return-selection-token",
"flights": [
{
"airline": "British Airways",
"arrival_airport": {
"id": "JFK",
"name": "John F. Kennedy International Airport",
"time": "2026-08-11 13:25"
},
"departure_airport": {
"id": "LHR",
"name": "Heathrow Airport",
"time": "2026-08-11 10:30"
},
"duration": 475,
"flight_number": "EA 101",
"travel_class": "Economy"
}
],
"price": 612,
"total_duration": 475,
"type": "Round trip"
}
],
"currency": "USD",
"departure_id": "LHR",
"other_flights": [],
"outbound_date": "2026-08-11",
"price_insights": {
"lowest_price": 612,
"price_level": "typical",
"typical_price_range": [
540,
760
]
},
"queried_at": "2026-07-28T10:00:00Z",
"return_date": "2026-08-18",
"travel_class": "economy",
"trip_type": "round_trip"
},
"type": "json"
}
},
"routeTemplate": "/search/:departure/:arrival",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"arrival": {
"description": "Arrival airport(s): one to five comma-separated IATA codes",
"pattern": "^[A-Za-z]{3}(,[A-Za-z]{3}){0,4}$",
"type": "string"
},
"departure": {
"description": "Departure airport(s): one to five comma-separated IATA codes",
"pattern": "^[A-Za-z]{3}(,[A-Za-z]{3}){0,4}$",
"type": "string"
}
},
"required": [
"departure",
"arrival"
],
"type": "object"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"pathParams"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"airports": {
"items": {
"type": "object"
},
"type": "array"
},
"arrival_id": {
"type": "string"
},
"best_flights": {
"items": {
"properties": {
"airline_logo": {
"type": "string"
},
"carbon_emissions": {
"type": "object"
},
"departure_token": {
"description": "Pass back to retrieve return-flight choices",
"type": "string"
},
"extensions": {
"items": {
"type": "string"
},
"type": "array"
},
"flights": {
"items": {
"properties": {
"airline": {
"type": "string"
},
"airline_logo": {
"type": "string"
},
"airplane": {
"type": "string"
},
"arrival_airport": {
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time": {
"description": "Local date and time",
"type": "string"
}
},
"type": "object"
},
"departure_airport": {
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time": {
"description": "Local date and time",
"type": "string"
}
},
"type": "object"
},
"duration": {
"description": "Segment duration in minutes",
"type": "integer"
},
"extensions": {
"items": {
"type": "string"
},
"type": "array"
},
"flight_number": {
"type": "string"
},
"legroom": {
"type": "string"
},
"often_delayed_by_over_30_min": {
"type": "boolean"
},
"overnight": {
"type": "boolean"
},
"travel_class": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"layovers": {
"items": {
"type": "object"
},
"type": "array"
},
"price": {
"type": "number"
},
"total_duration": {
"description": "Total itinerary duration in minutes",
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"currency": {
"type": "string"
},
"departure_id": {
"type": "string"
},
"other_flights": {
"items": {
"properties": {
"airline_logo": {
"type": "string"
},
"carbon_emissions": {
"type": "object"
},
"departure_token": {
"description": "Pass back to retrieve return-flight choices",
"type": "string"
},
"extensions": {
"items": {
"type": "string"
},
"type": "array"
},
"flights": {
"items": {
"properties": {
"airline": {
"type": "string"
},
"airline_logo": {
"type": "string"
},
"airplane": {
"type": "string"
},
"arrival_airport": {
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time": {
"description": "Local date and time",
"type": "string"
}
},
"type": "object"
},
"departure_airport": {
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time": {
"description": "Local date and time",
"type": "string"
}
},
"type": "object"
},
"duration": {
"description": "Segment duration in minutes",
"type": "integer"
},
"extensions": {
"items": {
"type": "string"
},
"type": "array"
},
"flight_number": {
"type": "string"
},
"legroom": {
"type": "string"
},
"often_delayed_by_over_30_min": {
"type": "boolean"
},
"overnight": {
"type": "boolean"
},
"travel_class": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"layovers": {
"items": {
"type": "object"
},
"type": "array"
},
"price": {
"type": "number"
},
"total_duration": {
"description": "Total itinerary duration in minutes",
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"outbound_date": {
"format": "date",
"type": "string"
},
"price_insights": {
"type": "object"
},
"queried_at": {
"format": "date-time",
"type": "string"
},
"return_date": {
"format": "date",
"type": "string"
},
"travel_class": {
"type": "string"
},
"trip_type": {
"enum": [
"round_trip",
"one_way"
],
"type": "string"
}
},
"required": [
"queried_at",
"departure_id",
"arrival_id",
"outbound_date",
"trip_type",
"travel_class",
"currency",
"best_flights",
"other_flights"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"flights",
"flight-search",
"airfare",
"travel",
"airlines",
"airports",
"tickets",
"prices",
"schedules",
"carbon-emissions"
]
}
}Use it
curl
curl "https://flights.use.x402atlas.com/search/:departure/:arrival" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://flights.use.x402atlas.com/search/:departure/:arrival");
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://flights.use.x402atlas.com/search/:departure/:arrival")
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/422.json, and this resource appears in /discovery/resources and /discovery/search.