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

价格
$0.015/success按供应商原价
成功率
100%近 30 天 · 4,268 次
延迟 p50
2.8 秒p95 14 秒
最后验证
2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/serpapi.x.google-flights?type=2&engine=google_flights&arrival_id=AUS&departure_id=CDG&outbound_date=2026-09-01预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

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

参数类型必填说明示例
查询参数
type字符串可选1 round trip (default) | 2 one way | 3 multi-city2
engine字符串必填google_flights
currency字符串可选USD
arrival_id字符串必填destination airport/location codeAUS
return_date字符串可选YYYY-MM-DD, required when type=1
departure_id字符串必填origin airport/location codeCDG
outbound_date字符串必填YYYY-MM-DD2026-09-01
  • 查询参数
  • type字符串可选

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

    示例:2

  • engine字符串必填

    示例:google_flights

  • currency字符串可选

    示例:USD

  • arrival_id字符串必填

    destination airport/location code

    示例:AUS

  • return_date字符串可选

    YYYY-MM-DD, required when type=1

  • departure_id字符串必填

    origin airport/location code

    示例:CDG

  • outbound_date字符串必填

    YYYY-MM-DD

    示例:2026-09-01

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
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"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.015/success 计费,已含服务费。