Google Trends关键词搜索热度对比与趋势分析,支持全球区域和自定义时间范围。当用户提到谷歌趋势、关键词随时间变化的热度、搜索兴趣对比、关键词趋势分析、季节性趋势检测、区域搜索热度、关键词热力图、多个关键词在Google上的对比、Google Trends, keyword popularity comparison, search trends, seasonal analysis, regional popularity, keyword comparison时触发此技能。即使用户未明确说"Google Trends",只要其需求涉及对比不同时间段或区域的关键词搜索热度趋势,也应触发此技能。
Coding
谷歌趋势-热门词查询
Try it查询并分析Google Trends在指定时间范围和国家/地区的实时热门话题与热搜。当用户提到谷歌趋势、热门话题、实时热搜、流行趋势、当前热点、近期热门、病毒式话题、时间段热度、区域趋势分析、Google Trends, real-time hot topics, trending topics, popular trends, recent trending searches, trend discovery时触发此技能。即使用户未明确说"Google Trends",只要其需求涉及发现特定市场近期热门或正在流行的话题和搜索词,也应触发此技能。
What it does
查询并分析Google Trends在指定时间范围和国家/地区的实时热门话题与热搜。当用户提到谷歌趋势、热门话题、实时热搜、流行趋势、当前热点、近期热门、病毒式话题、时间段热度、区域趋势分析、Google Trends, real-time hot topics, trending topics, popular trends, recent trending searches, trend discovery时触发此技能。即使用户未明确说"Google Trends",只要其需求涉及发现特定市场近期热门或正在流行的话题和搜索词,也应触发此技能。
The skill document
Google Trends Time-Range Analysis
This skill guides you on how to query and analyze Google Trends data for trending topics within a configurable time window, helping users discover real-time popular searches and emerging trends across 18 supported regions.
Core Concepts
Google Trends reflects real user search interest on Google. This tool retrieves trending topics (recently popular queries) for a chosen country/region over a specified number of recent days. It is ideal for spotting what is currently gaining traction in a market.
Key data points per trending query:
- query -- the trending search term
- searchVolume -- relative search volume value
- increasePercentage -- percentage change in search interest (-100 to 100, unit: %)
- startTime / endTime -- timestamps bounding the trend observation window
A positive increasePercentage means rising interest; a negative value means declining interest. A value near 100 signals an explosive spike.
Parameter Guide
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| days | integer | No | 7 | Time range in days. Common values: 1 (last 24 hours), 2, 7 (past week) |
| region | string | No | US | Country/region code. See Supported Regions below |
Supported Regions
US (United States), GB (United Kingdom), JP (Japan), CA (Canada), MX (Mexico), DE (Germany), FR (France), IT (Italy), ES (Spain), NL (Netherlands), AU (Australia), SG (Singapore), AE (United Arab Emirates), BR (Brazil), IN (India), TR (Turkey), PL (Poland), SE (Sweden)
Default region is US. Use US when the user does not specify a region.
调用方式
- API 端点:
POST /googleTrend/getTrendByTime(完整参数/响应/错误码见references/api.md) - Python 脚本:
python scripts/google_trends_rising.py '' [--inline] - 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入
/linkfox///data/linkfox-google-trend-get-trend-by-time-.json(为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;取自环境变量SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错) - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如
total/costToken、最大列表字段的长度 + 前 3 条样本) - 加
--inline强制全量打印到 stdout(同样落盘)
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
解决认证和积分问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
异常情况
- 未配置API Key:环境变量未配置
LINKFOX_AGENT_API_KEY,也未配置LINKFOXAGENT_API_KEY。 - 响应401或402状态码
- 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
Usage Examples
1. What's trending in the US over the past week?
{"days": 7, "region": "US"}
2. Hot topics in Japan in the last 24 hours
{"days": 1, "region": "JP"}
3. Trending searches in Germany over the past 2 days
{"days": 2, "region": "DE"}
4. Recent buzz in Brazil this week
{"days": 7, "region": "BR"}
5. What's gaining popularity in the UK right now?
{"days": 1, "region": "GB"}
Display Rules
- Present data clearly: Show trending queries in a well-formatted table with columns for query, search volume, and increase percentage. Sort by search volume or increase percentage as appropriate.
- Highlight spikes: When
increasePercentageis notably high (e.g., above 50%), call attention to these breakout topics. - Time context: Always state the time range and region in your summary so the user knows exactly what window the data covers.
- Chart data: If the response includes
chartOption, describe the chart structure (title, axes, data points) so the user understands the visual trend. - Error handling: When a query fails, explain the reason based on the error response and suggest adjusting parameters (e.g., try a different region code or time range).
Important Limitations
- Unstructured data: Results from this tool are unstructured and cannot be fed into secondary SQL-based query tools for further processing.
- Relative volumes: Search volume values are relative, not absolute counts.
- Short time windows: The
daysparameter controls recency; this tool is designed for recent/real-time trends, not long historical analysis. - Region coverage: Only the 18 listed regions are supported. Unsupported region codes will produce errors.
User Expression & Scenario Quick Reference
Applicable -- Queries about trending/popular topics on Google:
| User Says | Scenario |
|---|---|
| "What's trending right now" | Real-time trending topics |
| "Hot searches in [country]" | Regional trend discovery |
| "What topics are popular this week" | Weekly popularity overview |
| "Any viral topics in [market]" | Breakout / spike detection |
| "Show me Google Trends for [region]" | Region-specific trend query |
| "What's buzzing in the last 24 hours" | Short-window trend scan |
| "Trending searches in [country] recently" | Recent trend analysis |
| "What are people searching for in [region]" | General search interest exploration |
Not applicable -- Needs beyond trending topic discovery:
- Historical keyword search volume over months/years (use a dedicated Google Trends historical tool)
- Amazon-specific keyword or ASIN analysis (use ABA tools)
- Advertising / PPC campaign management
- Social media trend analysis (Twitter/X, TikTok, etc.)
- SEO ranking or backlink analysis
- Competitor website traffic estimation
Boundary judgment: When users say "market trends" or "what's popular", if it boils down to discovering what people are currently searching for on Google in a specific region, this skill applies. If they are asking about stock market trends, social media virality, or long-term historical search patterns, it does not apply.
积分消耗规则
消耗 6 积分。
用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
- The functionality or purpose described in this skill does not match actual behavior
- The skill's results do not match the user's intent
- The user expresses dissatisfaction or praise about this skill
- Anything you believe could be improved
Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.
For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.
Related skills
网络搜索、在线检索、实时信息查询、搜索引擎搜索、Reddit等社区平台讨论、外部站点帖子和热门话题。当用户需要搜索网络上的最新信息、查找近期新闻或趋势、查询实时数据、通过搜索引擎调研话题、浏览Reddit或社区讨论、发现外部站点帖子和热门话题、获取任何在线内容、web search, online lookup, real-time information, news search, Reddit, trending topics, search engine时触发此技能。即使用户未明确说"搜索",只要其意图涉及获取实时网络信息或核实当前事实,也应触发此技能。
基于 Google 搜索的 AI 概览(AI Overview / AI Mode)抓取,针对一个关键词返回主搜索的 AI 概览要点,适合用最新网页信息做深度调研、技术问答、长尾选品分析、海外消费者偏好分析。仅支持单轮对话,如需追问须由 agent 总结上下文后发起新请求。当用户提到 Google AI、AI Overview、AI Mode、谷歌AI概览、谷歌AI搜索、海外深度调研、长尾选品调研、消费者偏好分析、网页要点总结、Google AI search, AI Overview, AI Mode, deep research, consumer preference analysis 等场景时触发此技能。即使用户未明确提到"Google AI",只要其需求是"用谷歌搜索 + AI 总结网页要点",也应触发此技能。
面向跨境电商的 Google AI Mode 搜索研究专家。适用于需要带引用的最新 Google AI Overview 结果,用于海外消费者偏好、产品趋势、市场问题、技术趋势或连续追问式网页调研的场景。
热点深度分析器。输入关键词/话题,自动追踪全网热度趋势、提取关键观点、预测传播路径、对比竞品声量。支持微博/抖音/小红书/B站四大平台,输出可视化报告(热度曲线+情感分析+传播预测+行动建议)。当用户说"分析热点"、"话题热度"、"趋势分析"、"热点报告"时触发此技能。
通过 Google Patents 公开专利数据库检索全球专利,支持关键词、发明人、受让人、国家、日期、专利状态等多维筛选,返回专利公开号、标题、发明人、申请/公开/授权日期、受让人、CPC 分类、PDF 链接等核心著录数据。当用户提到谷歌专利、Google Patents、专利检索、专利搜索、查专利、专利防侵权、FTO 排查、prior art search、专利侵权排查时触发此技能。即使用户未明确提及"Google Patents",只要用户希望通过关键词或著录条件检索专利文献,也应触发此技能。