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 分

    請在儲存庫或註冊中心條目中宣告授權條款。