Search Flights
search_flightsSearch live Google Flights for one-way or round-trip itineraries with configurable filters, then get booking links and price totals.
Instructions
Search Google Flights for one-way or round-trip flights.
Omit return_date for a one-way search. Prices are totals for all
passengers in the requested currency. Results are live scrapes of Google
Flights and may change between calls, so treat them as indicative and share
the returned google_flights_url for booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seat | No | Cabin class. | economy |
| adults | No | Adult passengers. | |
| sort_by | No | How to order the returned itineraries. | price |
| airlines | No | Restrict to these airline IATA codes (e.g. ['SK', 'LH']) or alliances ('ONEWORLD', 'SKYTEAM', 'STAR_ALLIANCE'). | |
| children | No | Children aged 2-11. | |
| currency | No | Currency for prices. Empty lets Google decide. | |
| language | No | Language for names. Empty lets Google decide. | |
| max_price | No | Maximum total price, in the requested currency. | |
| max_stops | No | Maximum stops per leg. Use 0 for non-stop only. | |
| to_airport | Yes | Destination IATA airport code, e.g. 'JFK'. | |
| max_results | No | Maximum itineraries to return. | |
| return_date | No | Return date in 'YYYY-MM-DD' format. Omit for a one-way search; providing it makes the search a round-trip. | |
| checked_bags | No | Checked bags to include in the price estimate. | |
| from_airport | Yes | Origin IATA airport code, e.g. 'OSL'. | |
| carry_on_bags | No | Carry-on bags to include in the price estimate. | |
| departure_date | Yes | Outbound date in 'YYYY-MM-DD' format. | |
| infants_on_lap | No | Infants on a lap. Requires one adult each. | |
| infants_in_seat | No | Infants occupying their own seat. | |
| exclude_basic_economy | No | Exclude basic economy fares. | |
| hide_separate_and_self_transfer | No | Hide separate-ticket and self-transfer itineraries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of itineraries in this response. | |
| currency | No | ||
| truncated | No | True when more itineraries were available than were returned. | |
| itineraries | No | ||
| cheapest_price | No | Lowest price among the returned itineraries. | |
| google_flights_url | Yes | Google Flights URL reproducing this exact search. |