Google Trends: Interest Over Time, Rising Queries, Trending Now

io.github.serenido由 GitHub 账号 serenido 发布v1.0.0更新于 Oct 25, 2026

Google Trends data as JSON: interest over time, rising and top queries, regions, Trending Now.

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

托管在 Apify 上的 Google Trends 服务器,可按关键词列表返回随时间变化的关注度、相关查询、地区分布和 Trending Now 数据(JSON)。

可以做什么
  • 获取一组关键词的关注度趋势,含平均值、最新值、峰值、变化百分比,短时间范围还给出峰值小时。
  • 获取每个关键词的热门相关查询和上升(突破)查询。
  • 获取每个关键词按地区的关注度分布。
  • 获取任意国家的 Trending Now 榜单,含搜索量、增长、主题和新闻链接,时间窗可选 4、24、48 或 168 小时。
  • 可选择搜索类型(网页、YouTube、新闻、图片、购物)、国家和时间范围;结果可导出为 JSON、CSV 或 Excel。
适用场景
适合关键词研究与 SEO、及早发现上升中的产品或话题,以及为内容团队生成每日热门趋势信息流,让助手拿到真实的 Google Trends 数据而不是猜测。
运行要求
远程 MCP 端点 mcp.apify.com,并带上该工具的筛选参数;首次使用时需通过 OAuth 登录 Apify 账号。在 Apify 云端运行,无需本地运行时或代理配置。用量计入 Apify 账号。
安装前请注意
按量付费:每 1,000 条结果 1 美元(每个关键词或每条趋势算一条),从 Apify 套餐额度中扣除,关键词列表越长或取完整 Trending Now 榜单花费越高。Trending Now 每个国家默认只保存 25 条趋势。数据来自对 Google Trends 的抓取,可能不完整,同一关键词在不同时间窗内可能重复出现。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Google Trends: Interest Over Time, Rising Queries, Trending Now,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.serenido%2Fgoogle-trends/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "google-trends-interest-over-time-rising": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=serenido/google-trends-reliable"
    }
  }
}

README

Google Trends Scraper API

Get Google Trends data for any list of keywords: interest over time, rising and top related queries, interest by region and Trending Now. Auto-retry, no 429 errors.

Runs in the cloud on Apify. No servers, no proxy setup, no code to maintain. Open it on Apify

Price: $1 per 1,000 results (one result = one keyword, or one Trending Now trend). Trending Now saves 25 trends per country unless you change trendingNowMaxPerCountry (0 = the whole list). No monthly fee. Apify's free plan gives $5 of usage every month, no credit card needed. Current price.

What you get

  • Interest over time with a ready summary (average, latest, peak, change in %), plus the exact peak hour for short time ranges
  • Rising (breakout) and top related queries
  • Interest by region
  • Trending Now for any country: the full list like trends.google.com/trending, in the same order, with search volume, growth, trend breakdown, topics and news links (past 4 hours, 24 hours, 48 hours or 7 days)
  • Web, YouTube, News, Images and Shopping search, any country and time range

Quick start: Python

bash
pip install -U apify-client
python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("serenido/google-trends-reliable").call(run_input={    "searchTerms": [        "gym wear",        "vw golf"    ],    "geo": "US",    "timeRange": "past_12_months"})
for item in client.dataset(run.default_dataset_id).iterate_items():    print(item)

Quick start: JavaScript (Node.js)

bash
npm install apify-client
javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("serenido/google-trends-reliable").call({    "searchTerms": [        "gym wear",        "vw golf"    ],    "geo": "US",    "timeRange": "past_12_months"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);

Quick start: one HTTP call

Runs the tool and returns the rows in one request. Good for runs under 5 minutes; for bigger runs use the Python or JavaScript example.

bash
curl -X POST "https://api.apify.com/v2/acts/serenido~google-trends-reliable/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"searchTerms": ["gym wear", "vw golf"], "geo": "US", "timeRange": "past_12_months"}'

Get your token in Apify Console > Settings > API & Integrations.

Use it from AI apps (MCP)

Any app that supports remote MCP servers (Claude, ChatGPT, Cursor, VS Code and others) can run this tool for you. Add this server URL: https://mcp.apify.com?tools=serenido/google-trends-reliable. Your Apify account connects on first use. Example config for Cursor:

json
{  "mcpServers": {    "apify": {      "url": "https://mcp.apify.com?tools=serenido/google-trends-reliable"    }  }}

Input example

json
{  "searchTerms": [    "gym wear",    "vw golf"  ],  "geo": "US",  "timeRange": "past_12_months"}

Add "trendingNowGeos": ["US", "GB"] to also get the trending searches of those countries. "trendingNowHours" picks the time window ("4", "24", "48" or "168") and "trendingNowMaxPerCountry" how many trends to save (default 25, 0 = all). All options are listed on the input page.

Output example (one row)

json
{  "type": "keyword",  "keyword": "gym wear",  "geo": "US",  "averageInterest": 68.8,  "latestInterest": 57,  "peakInterest": 100,  "peakDate": "2026-04-12",  "trendChangePct": 16,  "trendDirection": "rising",  "topRegions": "Wyoming (100), Kansas (52), Hawaii (43), California (37) ...",  "topQueries": "best gym wear, what to wear to the gym, gym wear women ...",  "risingQueries": "cheap womens gym wear (+250%), women's gym wear (+200%), cheap gym wear (+70%) ..."}

Trending Now example (one row)

Rows come in the same order as the Trending Now page ("By relevance").

json
{  "type": "trendingNow",  "geo": "US",  "timeWindowHours": 24,  "rank": 3,  "keyword": "pistons vs knicks",  "searchVolume": 100000,  "approxTraffic": "100K+",  "volumeGrowthPct": 1000,  "startedAt": "2026-10-27T22:20:00Z",  "endedAt": null,  "isActive": true,  "relatedSearches": "knicks vs pistons, pistons, detroit pistons, pistons vs knicks where to watch ...",  "topics": "Sports",  "newsHeadlines": "Pistons vs. Knicks preview: 3-0 Pistons take on 0-3 Knicks | ..."}

A keyword can show up twice when it trended twice in the time window, like on the page. Each row has its own startedAt.

Download as JSON, CSV or Excel, or connect to Make, Zapier or n8n.

Use cases

  • Keyword research and SEO
  • Spotting rising products and topics early
  • Daily Trending Now feeds for content teams

More tools by Serenido

Support

Found a bug or need a field? Open an issue here or on the Issues tab on Apify.

Use it only for public data and follow the website's terms and the laws that apply to you. This project is not affiliated with the websites it reads.

来源:README.md,提交 5910df4

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Oct 25, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。