Google Flights One Way
google_flights_one_waySearch one-way Google Flights with airline, time, price, and booking details.
Required on every call, including token follow-ups: departure_id, arrival_id, outbound_date. Preserve all original search options, including travel_class, passenger counts, currency, and filters.
Workflow:
Search for flight options.
Repeat the arguments with the chosen flight's booking_token to retrieve booking details.
Round-trip: google_flights_round_trip. Flexible dates: google_flights_calendar_one_way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gl | No | ISO 3166-1 alpha-2 country code in lowercase (e.g., 'us', 'gb', 'de'). Affects pricing and flight availability. Default: us. | |
| stops | No | Maximum stops filter: nonstop (direct only), one_stop_or_fewer (at most 1 stop), two_stops_or_fewer (at most 2 stops), any (no limit). Use the named value (e.g. 'two_stops_or_fewer'), not a bare number like '2'. Default: any. | |
| adults | No | Number of adults (1-9). Default: 1. | |
| sort_by | No | Sort order. Default: top_flights. | |
| children | No | Number of children (0-9). Default: 0. | |
| currency | No | Currency code (ISO 4217, e.g., 'USD', 'EUR', 'GBP'). Default: USD. | |
| max_price | No | Maximum price filter. Flights above this price (in the specified currency) are excluded. | |
| arrival_id | Yes | IATA airport code (e.g., 'LAX') or kgmid (e.g., '/m/030qb3t' for Los Angeles). City names must first be converted using google_flights_location_search. | |
| checked_bags | No | Number of checked bags (0-9). Shows prices with checked bag fees included. Cannot exceed total passenger count. | |
| departure_id | Yes | IATA airport code (e.g., 'JFK') or kgmid (e.g., '/m/02_286' for New York). City names must first be converted using google_flights_location_search. | |
| travel_class | No | Travel class: economy, premium_economy, business, first_class. Default: economy. | |
| booking_token | No | Token from the selected flight for retrieving booking details. | |
| carry_on_bags | No | Number of carry-on bags (0-9). Shows prices with carry-on fees included for budget airlines. Cannot exceed total passenger count. | |
| outbound_date | Yes | Departure date in YYYY-MM-DD format (ISO 8601). Required. | |
| infants_on_lap | No | Number of infants on lap (0-9). Default: 0. | |
| infants_in_seat | No | Number of infants in seat (0-9). Default: 0. | |
| excluded_airlines | No | Comma-separated IATA airline codes to exclude (e.g., 'NK,F9'). | |
| included_airlines | No | Comma-separated IATA airline codes to include (e.g., 'AA,UA,DL'). | |
| max_flight_duration | No | Maximum total flight duration in minutes (e.g., 600 for 10 hours). Excludes flights exceeding this duration. | |
| exclude_basic_economy | No | Set to true to exclude Basic Economy fares, the cheapest and most restrictive ones. Only valid with travel_class economy. Google Flights offers this filter for flights within the US, its territories and Canada; on other routes results are unchanged. |