FL
Travel · x402 · early usage

Flight search by departure and arrival airports in the URL — compare live itineraries,…

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.

by flights.use.x402atlas.com · discovered, not yet claimed by its owner · updated 2026-10-09

30d calls27
30d payers6
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: flights · flight-search · airfare · travel · airlines · bazaar

Call contract

Method
GET
Input
path parameters
Output
json
Last paid call
2026-10-09
Input example from Bazaar metadata
{
  "arrival": "JFK",
  "departure": "LHR"
}
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"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/26988.json for the price and payment options.
  3. Pay. Call GET https://flights.use.x402atlas.com/search/:departure/:arrival. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana
Demand
27 calls · 6 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactPolygon
eip155:137
USDC$0.050x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactArbitrum One
eip155:42161
USDC$0.050x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.05ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "airports": [
      {}
    ],
    "arrival_id": "string",
    "best_flights": [
      {
        "airline_logo": "string",
        "carbon_emissions": {},
        "departure_token": "string",
        "extensions": [
          "string"
        ],
        "flights": [
          {
            "airline": "string",
            "airline_logo": "string",
            "airplane": "string",
            "arrival_airport": {
              "id": null,
              "name": null,
              "time": null
            },
            "departure_airport": {
              "id": null,
              "name": null,
              "time": null
            },
            "duration": 0,
            "extensions": [
              "value"
            ],
            "flight_number": "string",
            "legroom": "string",
            "often_delayed_by_over_30_min": true,
            "overnight": true,
            "travel_class": "string"
          }
        ],
        "layovers": [
          {}
        ],
        "price": 0,
        "total_duration": 0,
        "type": "string"
      }
    ],
    "currency": "string",
    "departure_id": "string",
    "other_flights": [
      {
        "airline_logo": "string",
        "carbon_emissions": {},
        "departure_token": "string",
        "extensions": [
          "string"
        ],
        "flights": [
          {
            "airline": "string",
            "airline_logo": "string",
            "airplane": "string",
            "arrival_airport": {
              "id": null,
              "name": null,
              "time": null
            },
            "departure_airport": {
              "id": null,
              "name": null,
              "time": null
            },
            "duration": 0,
            "extensions": [
              "value"
            ],
            "flight_number": "string",
            "legroom": "string",
            "often_delayed_by_over_30_min": true,
            "overnight": true,
            "travel_class": "string"
          }
        ],
        "layovers": [
          {}
        ],
        "price": 0,
        "total_duration": 0,
        "type": "string"
      }
    ],
    "outbound_date": "string",
    "price_insights": {},
    "queried_at": "2026-01-01T00:00:00Z",
    "return_date": "string",
    "travel_class": "string",
    "trip_type": "round_trip"
  },
  "type": "string"
}

Examples

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 header

Details

Provider
flights.use.x402atlas.com
Endpoint
https://flights.use.x402atlas.com/search/:departure/:arrival
Machine-readable
/resources/26988.json