Google Flights Search
Changed onRequest
- Base URLhttps://www.searchapi.io/api/v1
- Auth
- API key in header Authorization
- or API key in query parameter api_key
Query parameters
Engine to use for the search
Departure airport code or city ID (required unless flight_type is multi_city)
Arrival airport code or city ID (required unless flight_type is multi_city)
Outbound flight date in YYYY-MM-DD format (required unless flight_type is multi_city)
Return flight date in YYYY-MM-DD format (required for round_trip flights)
Language for the results
Country of the search
Currency for prices
Type of flight search
Filter by number of stops
Sort order for results
Travel class preference
Set to true to exclude Basic Economy fares. Supported only when travel_class is economy. Google Flights offers this filter for flights within the United States, its territories and Canada; other routes return the same results as without it.
Number of adult passengers
Number of child passengers
Number of infants with seat. A value above 0 may result in longer request processing times.
Number of infants on lap. A value above 0 may result in longer request processing times.
Maximum price filter
Number of carry-on bags
Number of checked bags
Comma-separated list of airline codes to include
Comma-separated list of airline codes to exclude
Comma-separated list of connecting airport codes to include
Comma-separated list of connecting airport codes to exclude
Comma-separated departure hour preferences (0-23)
Comma-separated return hour preferences (0-23)
Filter for less emissions only
Minimum layover duration in minutes
Maximum layover duration in minutes
Maximum flight duration in minutes
Show or hide separate tickets
Token for pagination of search results
Token for retrieving booking options
JSON array of flight segments for multi-city trips
Show cheapest flights option
Show hidden flights option
Set to true together with show_hidden_flights and/or show_cheapest_flights to retrieve more results, which may result in longer request processing times. It has no effect on its own.
Response
Successful response
Changes
- info
added the new optional
queryrequest parameterexclude_basic_economy - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status
- info