Search Flight Prices
search_flight_pricesNever send more than 3 search_flight_prices calls in one turn: calls beyond 3 are rejected without searching. Search for flight itineraries with prices between two airports on a date using Google Flights. Returns available itineraries with prices, durations, airlines, layovers, and ranked route-search actions. Ages 12-17 are mapped as adults where a provider requires it; ages 0-1 are infants whose lap-versus-seat placement and provider policy must be confirmed before booking. Each account runs one search at a time; the second and third wait their turn and still return results. When the user names several airports, destinations, dates or trip lengths, search the 1 to 3 most likely combinations first (or one outbound_end_date range of up to 7 days), show the results, then ask before searching more. A queued or slow search returns lookupStatus pending with retry_after_seconds; it keeps its place and finishes on its own, so repeat the identical call after that wait to get its result. When the user rules out airlines or connection airports/countries, pass include_airlines/exclude_airlines/avoid_connection_airports/avoid_connection_countries so excluded routes are removed. Fares carry no baggage allowance: never claim a fare includes bags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | No | Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user. | |
| currency | No | Optional ISO-style three-letter currency code. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD. | |
| max_stops | No | Optional maximum number of stops (0 = nonstop only, 1 = up to 1 stop). | |
| child_ages | No | Age of each traveler under 18. Ages 12-17 are provider-mapped as adults where required; ages 2-11 are children and 0-1 are infants. Confirm lap-versus-seat placement with the user/provider for ages 0-1. | |
| adult_count | No | Number of adult travelers (default 1). | |
| cabin_class | No | Cabin class preference: 'economy', 'premium_economy', 'business', or 'first'. Default is 'economy'. | |
| return_date | No | Optional return date in YYYY-MM-DD format for round-trip searches. | |
| outbound_date | Yes | Outbound date in YYYY-MM-DD format. To compare several departure days, pass outbound_end_date in this one call rather than sending one call per day. | |
| arrival_airport | Yes | Arrival airport IATA code, such as CDG. | |
| exclude_airlines | No | Optional. Remove itineraries with any flight on these airlines (IATA code, airline name, or alliance). Single-date searches only. | |
| include_airlines | No | Optional. Keep only itineraries where every flight is on one of these airlines: 2-character IATA code such as LH, airline name, or an alliance (Star Alliance, oneworld, SkyTeam). Single-date searches only. | |
| departure_airport | Yes | Departure airport IATA code, such as JFK. | |
| outbound_end_date | No | Optional inclusive end date for a cheapest-returned-fare-per-day calendar, up to 7 outbound dates beginning at outbound_date. Each day reports priced, no_results, failed, or not_searched; prices are live estimates and may change. Economy cabin only: omit cabin_class or use economy with a range. | |
| avoid_connection_airports | No | Optional. Remove itineraries that connect at these airports (3-letter IATA codes). Single-date searches only. | |
| avoid_connection_countries | No | Optional. Remove itineraries that connect in these countries (prefer ISO 3166 alpha-2 codes such as US, TR, RU; translate names to English). Single-date searches only. |