当前位置: 首页 > Skill >

谷歌趋势-关键词趋势

谷歌趋势-关键词趋势

谷歌趋势-关键词趋势

Google Trends关键词搜索热度对比与趋势分析,支持全球区域和自定义时间范围。用户提及谷歌趋势、关键词随时间变化的热度、搜索兴趣对比、关键词趋势分析、季节性趋势检测、区域搜索热度、关键词热力图及多关键词对比时,提供相应功能。

1.0.4 2026.11.24 837
获取Skill文件查看使用说明
作 者:陆川 许可证: 更新时间:2026.11.24
本文目录展开

Google Trends Keyword Trend Analysis

This skill guides you on how to query and analyze Google Trends keyword search interest data, helping users understand how keyword popularity changes over time across different regions.

Core Concepts

Google Trends provides normalized search interest data (0-100 scale) reflecting how popular a given search term is relative to its peak popularity in the selected region and time range. A value of 100 represents peak popularity, 50 means the term is half as popular as its peak, and 0 means insufficient data.

Important language rule: Keywords must be in the language of the target country. For example, use English keywords for the US, German keywords for Germany, Japanese keywords for Japan. If the user provides keywords in the wrong language, translate them before querying.

Parameters

Parameter Type Required Description
keyword string Yes The search keyword to analyze (max 100 characters). Must be in the target country's language.
region string No Country/region code. Defaults to US.
dayRangeStart string No Start date for the time range (format: YYYY-MM-DD, from 2004 onward).
dayRangeEnd string No End date for the time range (format: YYYY-MM-DD, from 2004 onward).

When both dayRangeStart and dayRangeEnd are provided, the custom time range takes priority.

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 doesn't specify a region.

调用方式

  • API 端点:POST /googleTrend/getTrendByKeys(完整参数/响应/错误码见 references/api.md)
  • Python 脚本:python scripts/google_trends_keyword.py '<JSON 参数>' [--inline]
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为):

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-google-trend-get-trend-by-keys-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本)
  • 加 --inline 强制全量打印到 stdout(同样落盘)

读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和积分问题

发生以下异常情况时,采用以下措施来处理:

异常情况

  • 未配置API Key:环境变量未配置 LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY。
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

措施

  • 优先采用skill内的 onboarding.md 引导解决问题。
  • 如找不到 onboarding.md 文件,则加载 /linkfox-onboarding 这个skill并根据它的引导来处理。如未安装请先安装:
    • 下载 https://agent-files.linkfox.com/skills/linkfox-onboarding/release.zip,解压后安装这个skill。如需用户授权才可下载,要询问用户获得授权,你不能自己放弃下载。
  • 兜底措施:仅当前面两个措施经过所有努力都走不通时,才提示用户依据 https://skill.linkfox.com/linkfoxskills/guide.htm 指引获取API Key,或去 https://os.linkfox.com/ 补充积分。

How to Build Queries

Principles for Effective Queries

  1. Use the correct language: Always ensure keywords match the target region's language. Translate first if needed.
  2. Specify a region: Default is US, but always confirm the user's intended market.
  3. Use date ranges for focused analysis: For seasonal trends or specific event analysis, provide dayRangeStart and dayRangeEnd.
  4. Keep keywords concise: Google Trends works best with short, focused search terms.

Usage Examples

1. Basic Keyword Trend (Default Region & Time)

{"keyword": "wireless charger"}

Query the overall search interest trend for "wireless charger" in the US.

2. Keyword Trend in a Specific Region

{"keyword": "Ladekabel", "region": "DE"}

Query the search interest for "Ladekabel" (charging cable) in Germany.

3. Custom Date Range Analysis

{"keyword": "christmas gifts", "region": "US", "dayRangeStart": "2024-09-01", "dayRangeEnd": "2025-01-31"}

Analyze the seasonal trend of "christmas gifts" in the US from September 2024 through January 2025.

4. Year-over-Year Comparison

{"keyword": "sunscreen", "region": "AU", "dayRangeStart": "2023-01-01", "dayRangeEnd": "2025-12-31"}

Compare multi-year seasonality of "sunscreen" in Australia.

5. Regional Market Research

{"keyword": "yoga mat", "region": "GB"}

Check the popularity trend of "yoga mat" in the United Kingdom.

6. Emerging Trend Detection

{"keyword": "AI glasses", "region": "US", "dayRangeStart": "2024-01-01", "dayRangeEnd": "2025-12-31"}

Track the rise of "AI glasses" search interest over the past two years in the US.

Display Rules

  1. Present data clearly: Show trend data in well-formatted tables or describe the trend curve. Include key data points such as peak values, troughs, and notable changes.
  2. Explain the scale: Remind users that Google Trends values are on a 0-100 normalized scale, where 100 = peak popularity in the selected scope.
  3. Highlight patterns: Point out seasonal patterns, sudden spikes, or sustained growth/decline when visible in the data.
  4. Chart data availability: When the response includes chartOption, mention that visualization data is available and describe the trend shape.
  5. Error handling: When a query fails, explain the reason and suggest adjustments (e.g., check keyword spelling, try a different date range, ensure the keyword is in the correct language).

Important Limitations

  • No secondary SQL processing: Results from this tool are unstructured and cannot be fed into dynamic query tools for secondary analysis.
  • Normalized values: Trend values are relative (0-100), not absolute search volumes.
  • Data availability: Data is available from 2004 onward, but very niche terms may have sparse data.
  • Single keyword per call: Each API call handles one keyword. For multi-keyword comparisons, make separate calls and compare results.
  • Language requirement: Keywords must match the target region's language for accurate results.

User Expression & Scenario Quick Reference

Applicable -- Queries about keyword search popularity trends:

User Says Scenario
"How popular is XX keyword on Google" Basic trend lookup
"Is XX trending up or down" Trend direction analysis
"When does XX peak in searches" Seasonal peak detection
"Compare popularity of XX across months" Seasonal pattern analysis
"Is XX gaining traction in Germany" Regional trend check
"What's the search trend for XX over the past year" Historical trend analysis
"Holiday search trends for XX" Seasonal / event-driven analysis

Not applicable -- Needs beyond Google Trends search interest data:

  • Google Ads keyword planner or bid/CPC data
  • Absolute search volume numbers (Google Trends provides relative, not absolute data)
  • Social media trending topics (Twitter/X, TikTok, etc.)
  • Amazon-specific search term data (use ABA Data Explorer instead)
  • Website traffic analytics (Google Analytics, SimilarWeb, etc.)
  • Keyword ranking on search engine result pages (SEO rank tracking)

Boundary judgment: When users say "keyword research" or "market trend analysis", if it specifically relates to search interest popularity over time from Google's perspective, this skill applies. If they want absolute traffic numbers, advertising metrics, or e-commerce-platform-specific data, it does not apply.

积分消耗规则

消耗 6 积分。

用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。

Feedback:

Auto-detect and report feedback via the Feedback API when any of the following apply:

  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. 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.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,036
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,020
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,016
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
Skill 文件
  • SKILL.md
    • Google Trends Keyword Trend Analysis
    • Core Concepts
    • Parameters
    • Supported Regions
    • 调用方式
    • 解决认证和积分问题
      • 异常情况
      • 措施
    • How to Build Queries
      • Principles for Effective Queries
      • Usage Examples
    • Display Rules
    • Important Limitations
    • User Expression & Scenario Quick Reference
    • 积分消耗规则
  • 项目或源文件

相关 Skill

更多
Google Trends Google Trends 监控Google趋势,获取热门搜索、比较关键词、追踪兴趣变化。用于市场调研、内容规划和趋势分析。
clawec-google-trend clawec-google-trend 使用 Clawec API 查询 Google Trends,获取关键词搜索热度与趋势,支持多词对比及按国家/地区筛选。适用于需求对比、市场兴趣变化、关键词趋势调研、选品前需求验证等场景。
跨境电商选品 跨境电商选品 多平台跨境电商品类市场调研与竞品分析。支持 SHEIN/Amazon/Shopee(虾皮)/Temu/Lazada/TikTok Shop。使用 agent-reach 多源数据交叉采集 + AI分析引擎,生成包含价格带分布、竞争密度、利润测算、蓝海机会的结构化HTML交互报告。触发词:市场调研、竞品分析、SHEIN调研、Amazon选品、虾皮调研、Shopee分析、品类分析、能不能做、跨境电商选品、Temu分析、Lazada选品。注意——绝不直爬反爬平台(SHEIN/Temu等),优先走accio.com/Google Trends/GitHub/Keepa等第三方数据源。
谷歌趋势-热门词查询 谷歌趋势-热门词查询 查询并分析Google Trends在指定时间段和国家/地区的实时热门话题与热搜,包括流行趋势、当前热点、近期热门及区域趋势分析。
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.