Search flights (multi-city capable)
search_flightsSearch ITA Matrix for complex multi-city flight itineraries using custom routing codes to control carriers, connections, and stops. Get ranked results for travel planning.
Instructions
Search ITA Matrix for itineraries. A trip is a list of legs (slices): • 1 slice = one-way • 2 slices = round-trip (second slice reverses the first) • 3+ = multi-city / open-jaw — legs need not connect Each leg takes its own routing code, so you can pin a carrier, force a connection city, or require a specific number of flights per leg. Expect 20-60s. Returns ranked itineraries and a Search ID for get_itinerary_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Client-side sort. Default price. | |
| cabin | No | Minimum cabin. Default COACH. | |
| limit | No | How many itineraries to return. Default 10. | |
| adults | No | ||
| slices | Yes | The legs, in travel order. For a round-trip, add a second slice with origin/destination swapped. | |
| youths | No | ||
| seniors | No | ||
| children | No | ||
| currency | No | ISO 4217, e.g. "USD", "EUR". | |
| maxStops | No | Stops allowed RELATIVE TO the minimum possible for the route (Matrix semantics), not absolute. 0 = only the shortest-hop routings. Default 1. | |
| salesCity | No | IATA city code for point of sale. Changes which fares are filed and offered — useful for finding cheaper origin-country pricing. | |
| infantsInLap | No | ||
| infantsInSeat | No |