SerpApiGoogleSEO/AEO

Google Trends interest over time for search terms

serpapi.x.google-trends

Interest-over-time, regional breakdown, related topics or related queries for up to 5 comma-separated terms

价格
$0.015/success按供应商原价
成功率
99.9%近 30 天 · 6,939 次
延迟 p50
2.4 秒p95 10 秒
最后验证
2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/serpapi.x.google-trends?q=coffee&geo=US&engine=google_trends&data_type=TIMESERIES预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

result key depends on data_type: TIMESERIES interest_over_time (single or multiple q); GEO_MAP compared_breakdown_by_region (multiple q only); GEO_MAP_0 interest_by_region (single q); RELATED_TOPICS related_topics (single q); RELATED_QUERIES related_queries (single q).

参数类型必填说明示例
查询参数
q字符串必填up to 5 comma-separated termscoffee,milk
geo字符串可选region code; default WorldwideUS
date字符串可选e.g. "today 12-m", "now 7-d"today 12-m
engine字符串必填google_trends
data_type字符串可选TIMESERIES (default; single or multiple queries) | GEO_MAP (compared breakdown by region; multiple comma-separated q only) | GEO_MAP_0 (interest by region; single query only) | RELATED_TOPICS (single query only) | RELATED_QUERIES (single query only)TIMESERIES
  • 查询参数
  • q字符串必填

    up to 5 comma-separated terms

    示例:coffee,milk

  • geo字符串可选

    region code; default Worldwide

    示例:US

  • date字符串可选

    e.g. "today 12-m", "now 7-d"

    示例:today 12-m

  • engine字符串必填

    示例:google_trends

  • data_type字符串可选

    TIMESERIES (default; single or multiple queries) | GEO_MAP (compared breakdown by region; multiple comma-separated q only) | GEO_MAP_0 (interest by region; single query only) | RELATED_TOPICS (single query only) | RELATED_QUERIES (single query only)

    示例:TIMESERIES

代码示例

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

预览
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.google-trends?q=coffee&geo=US&engine=google_trends&data_type=TIMESERIES' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

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