SerpApiGoogleSEO/AEO

Google Flights itineraries by route and date — prices

serpapi.x.google-flights

Live Google Flights results — best/other flights, price insights, for a route and date

Price
$0.015/successPelo preço do provedor
Success rate
100%Last 30 days · 4.268 calls
Latency p50
2.8 sp95 14 s
Last verified
28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.google-flights?type=2&engine=google_flights&arrival_id=AUS&departure_id=CDG&outbound_date=2026-09-01Preview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

answers arrive in `best_flights` and `other_flights`; `price_insights` gives the typical price range.

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
typestringOpcional1 round trip (default) | 2 one way | 3 multi-city2
enginestringObrigatóriogoogle_flights
currencystringOpcionalUSD
arrival_idstringObrigatóriodestination airport/location codeAUS
return_datestringOpcionalYYYY-MM-DD, required when type=1
departure_idstringObrigatórioorigin airport/location codeCDG
outbound_datestringObrigatórioYYYY-MM-DD2026-09-01
  • Parâmetros de consulta
  • typestringOpcional

    1 round trip (default) | 2 one way | 3 multi-city

    Exemplo: 2

  • enginestringObrigatório

    Exemplo: google_flights

  • currencystringOpcional

    Exemplo: USD

  • arrival_idstringObrigatório

    destination airport/location code

    Exemplo: AUS

  • return_datestringOpcional

    YYYY-MM-DD, required when type=1

  • departure_idstringObrigatório

    origin airport/location code

    Exemplo: CDG

  • outbound_datestringObrigatório

    YYYY-MM-DD

    Exemplo: 2026-09-01

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.google-flights?type=2&engine=google_flights&arrival_id=AUS&departure_id=CDG&outbound_date=2026-09-01' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.015/success, incluindo a taxa de serviço.