Google Flights
Search Google Flights for a route and date — price, airline, duration, stops, legs, and price insights — as JSON.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsondeparture_idstringrequiredOrigin IATA code (comma-separated allowed).
Example: JFK
arrival_idstringrequiredDestination IATA code.
Example: LAX
outbound_datestringrequiredDeparture date, YYYY-MM-DD.
Example: 2026-08-01
typeenum<int>1 round trip, 2 one way, 3 multi-city.
return_datestringReturn date, YYYY-MM-DD (required when type=1).
adultsnumberAdult passengers (1-9).
childrennumberChildren (0-9).
infants_in_seatnumberInfants in seat (0-4).
infants_on_lapnumberInfants on lap (0-4).
travel_classenum<int>1 economy, 2 premium, 3 business, 4 first.
stopsenum<int>0 any, 1 nonstop, 2 <=1 stop, 3 <=2 stops.
sort_byenum<int>1 top, 2 price, 3 departure, 4 arrival, 5 duration, 6 emissions.
include_airlinesstringComma-separated airline codes to include.
exclude_airlinesstringComma-separated airline codes to exclude.
hlstringUI language.
Example: en
glstringCountry perspective.
Example: us
currencystringCurrency code.
Example: USD
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.google.flights("JFK", "LAX", "2026-08-01")
print(results)Response