本文へ移動
cccskills
無料GitHub で公開

ecommerce.google-trends-by-keywords

Google Trends keyword search popularity comparison and trend analysis, supporting global regions and custom time ranges. Triggered by: Google Trends, keyword popularity over time, search interest comparison, keyword trend analysis, seasonal trend detection, regional search popularity, keyword heatmap, multi-keyword comparison on Google, keyword research, market trend analysis, search trends, seasonal analysis, regional popularity.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md8.5 KB
  • manifest.json307 B
  • references/api.md4.6 KB
  • scripts/google_trends_by_keywords.py6.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

ParameterTypeRequiredDescription
keywordstringYesThe search keyword to analyze (max 100 characters). Must be in the target country's language.
regionstringNoCountry/region code. Defaults to US.
dayRangeStartstringNoStart date for the time range (format: YYYY-MM-DD, from 2004 onward).
dayRangeEndstringNoEnd 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 Invocation

  • API Endpoint: POST /googleTrend/getTrendByKeys (see references/api.md for full parameters, responses, and error codes)
  • Python Script: python scripts/google_trends_by_keywords.py '<JSON params>' [--inline]
  • Cost Constraints: This tool consumes credits. The same session + parameter combination is called only once by default; the script includes a 24-hour local cache. Do not automatically retry failed or empty results by changing keywords, paginating, or switching region codes. If further retrieval is needed, inform the user of the additional cost first.

Output Strategy (default script behavior):

  • Always write the full response to <cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-google-trend-get-trend-by-keys-<timestamp>.json (<cwd> is the working directory when the script executes, which in Claude Code is the current project directory; <session> is taken from the SESSION_ID environment variable, automatically grouping by user task; do not write to /tmp, error out if the current directory is not writable)
  • Response body <= 8 KB: after saving to disk, print the full JSON to stdout
  • Response body > 8 KB: after saving to disk, stdout prints a summary only (top-level fields, common counts like total/costToken, the length of the largest list field plus the first 3 sample items)
  • Use --inline to force full output to stdout (also saves to disk)

Data Reading Tips: First check the summary to determine if it is sufficient. When specific fields are needed, prefer using jq or ConvertFrom-Json to extract on demand from the saved JSON file, avoiding loading the entire JSON into context.

Authentication

Set the NEXSCOPE_API_KEY environment variable. If authentication fails (401/402) or you see insufficient balance errors, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to get an API Key or top up credits.

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 SaysScenario
"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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Query 1688 product bestseller billboard data for sourcing discovery and wholesale product research. Trigger when the user mentions 1688 product rankings, 1688 bestseller lists, wholesale hot products, domestic sourcing rankings, dropshipping product selection, 1688 trending products, bulk purchase popular items, supplier product rankings, 1688 billboard, 1688 bestsellers, sourcing rankings, wholesale hot products, trending product rankings, supplier rankings, 1688 trends. Even if the user does not explicitly mention "1688 billboard", if their need involves discovering hot-selling wholesale products or sourcing opportunities on the 1688 platform, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Query 1688 public product details through the Nexscope research proxy. Use when the user requests this public marketplace or patent data; do not use for seller-console or store-authorized operations.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Search and analyze products on the Chinese 1688 wholesale platform (Alibaba domestic B2B market) for sourcing, supplier discovery, and product selection. Trigger when the user mentions 1688 product search, finding suppliers on 1688, wholesale product queries, factory sourcing, dropshipping supplier search, 1688 keyword product selection, wholesale price comparison, filtering by sales volume, any product research on the 1688 platform, 1688 search, 1688 product selection, find suppliers, factory lookup, wholesale pricing, supplier search, domestic sourcing, 1688 products. Even if the user does not explicitly say "1688", if their need involves searching for wholesale products, finding domestic suppliers, or sourcing from the domestic Chinese market, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Perform image-based product search on the 1688 platform. Use an image URL to find visually similar supplier products, returning title, price, minimum order quantity, monthly sales, repurchase rate, trade score, and seller identity. Triggered when users mention 1688 image search, 1688 visual search, find supplier by image, reverse image search 1688, 1688 product sourcing by image, or Alibaba 1688 image search. Even if the user does not explicitly mention "image search," this skill should be triggered whenever a user provides an image URL and wants to find matching or similar products on the 1688 wholesale platform.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Authorize Amazon Ads accounts and inspect safe connection and profile metadata.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Read and mutate SP, SB, and SD campaigns, ad groups, ads, targeting, and budget rules.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

nexscope-ai のスキルをすべて見る

このスキルの問題を報告する