Flights
flightsFlight fares for one route and date, one-way or round trip: the cheapest, the fastest and the cheapest nonstop option, then up to 20 itineraries sorted by price with carrier, stops, duration, departure and arrival times (local and UTC), every flight segment and aircraft. Cabin, maximum stops and market (sets the currency) are optional. Fares for a single traveller from Ignav; a fare search, not a booking. Price: $0.05 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival airport, 3-letter IATA code, e.g. LHR | |
| date | Yes | Departure date YYYY-MM-DD (today to 330 days ahead) | |
| from | Yes | Departure airport, 3-letter IATA code, e.g. IST | |
| cabin | No | economy (default), premium_economy, business or first | |
| limit | No | Itineraries to return, 1-20, default 10 | |
| market | No | 2-letter country code that sets the currency, default US (USD); e.g. GB, DE, TR | |
| return | No | Return date YYYY-MM-DD for a round trip (optional) | |
| maxStops | No | Maximum stops per direction: 0, 1, 2 or 3 (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | No | ||
| query | No | ||
| source | No | ||
| fastest | No | ||
| cheapest | No | ||
| currency | No | ||
| checkedAt | No | ||
| observedAt | No | ||
| itineraries | No | ||
| cheapestNonstop | No |