search_flights
Search for flight options between airports on a given date, returning priced offers with airline, times, stops, and fare basis. Each call is paid in USDC via x402.
Instructions
Search flights between two airports on a date. Returns priced offers with airline, times, stops and fare basis. Costs $0.005 per call, paid in USDC over x402 to x402-flight-search. Returns the merchant's artifact and the payment receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | No | Payment rail for this call. Overrides the configured default (auto). auto = whichever rail this agent holds a key for. | |
| adults | No | Passenger count, default 1 | |
| origin | Yes | IATA origin airport code, e.g. SFO | |
| maxPrice | No | Cap on total fare | |
| returnDate | No | YYYY-MM-DD for a round trip | |
| destination | Yes | IATA destination airport code, e.g. JFK | |
| departureDate | Yes | YYYY-MM-DD |