SerpBase
通用搜索可调用

Google Trends

Google 趋势:最多 5 个关键词(逗号分隔),默认返回热度走势;data_type 设为 GEO_MAP 返回地区分布,设为 RELATED_QUERIES 返回相关搜索。

接口地址
POST https://api.serpbase.dev/google/trends
价格
2 积分
鉴权方式
X-API-Key

只有成功的请求才收费。每个接口有固定的积分价格(大多是 1 或 2 积分),失败的请求会自动退还积分。 计费 →

示例

cURL
curl -X POST 'https://api.serpbase.dev/google/trends' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"q":"coffee"}'
返回 · 真实返回,已缩短
{
  "status": 0,
  "credits_charged": 2,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "google_trends",
  "query": "coffee",
  "action": "trends",
  "source": "google",
  "trends": {
    "query": "coffee",
    "series": [
      {
        "points": [
          {
            "timestamp": "2025-10-26T00:00:00Z",
            "value": 59
          }
        ],
        "term": "coffee"
      }
    ],
    "time_range": "today 12-m"
  },
  "url": "https://trends.google.com/trends/?hl=en"
}
参数 · 返回字段

常见问题

Google Trends API 怎么收费?

每次请求消耗 2 积分。积分来自预付积分包或月度套餐,新账号自带免费积分。

如何调用 Google Trends API?

向 https://api.serpbase.dev/google/trends 发送 POST 请求,并在 X-API-Key 请求头中带上你的 API Key。返回 JSON,请检查 status(0 表示成功)。

支持哪些设备?

支持的设备:desktop,默认 desktop。

Google Trends API 现在可以用吗?

可以,任何有效的 API Key 都能调用。