← 返回
未分类 中文

Google Trends API

Fetches Google Trends data including daily trending topics, real-time trends, interest by region, related topics, related queries, and autocomplete suggestio...
获取Google趋势数据,包括每日热门话题、实时趋势、地区兴趣、相关主题、相关查询及自动补全建议...
terryds terryds 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 462
下载
💾 0
安装
1
版本
#latest

概述

Google Trends

Fetch Google Trends data using the bundled script. No API key required.

Quick start

Run the script from the skill directory:

node scripts/trends.mjs <command> [options]

Available commands

CommandDescription
----------------------
daily-trendsGet daily trending search topics
realtime-trendsGet real-time trending topics
autocompleteGet autocomplete suggestions for a keyword
exploreExplore trend data for a keyword
interest-by-regionGet search interest breakdown by region
related-topicsGet topics related to a keyword
related-queriesGet queries related to a keyword

Usage examples

Daily trending topics in the US:

node scripts/trends.mjs daily-trends --geo US

Real-time trends (last 4 hours):

node scripts/trends.mjs realtime-trends --geo US --hours 4

Autocomplete suggestions:

node scripts/trends.mjs autocomplete "artificial intelligence"

Explore a keyword:

node scripts/trends.mjs explore "machine learning" --geo US --time "now 7-d"

Interest by region:

node scripts/trends.mjs interest-by-region "bitcoin" --geo US --resolution REGION

Related topics:

node scripts/trends.mjs related-topics "python programming" --geo US

Related queries:

node scripts/trends.mjs related-queries "python programming" --geo US

Options reference

For full option details per command, see reference.md.

Output

All commands output JSON to stdout. Parse the output to extract relevant data for the user. Present results in a readable format (tables, lists, summaries) based on context.

Error handling

If Google rate-limits the request, the script retries with exponential backoff (up to 3 retries). If it still fails, inform the user and suggest waiting before retrying.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 07:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 278 📥 101,454
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 298 📥 142,831
content-creation

X Trends (using official API)

terryds
使用X API获取X(Twitter)上的热门话题。当用户想查看当前热门内容或特定地点的趋势时使用。
★ 1 📥 495