Google Trends for Openclaw

A comprehensive utility for fetching real-time Google search trends, regional interest, and keyword suggestions without requiring an API key.

terryds
v1.0.0
Mar 30, 2026
1
741
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-trends-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-trends-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Trends?

The Google Trends skill is a powerful data retrieval tool designed for developers and AI agents to monitor search behavior across the globe. It allows users to tap into Google's vast search index to identify what people are looking for in real-time, providing critical insights for market research, content creation, and SEO strategy. By integrating this functionality into the Openclaw Skills framework, agents can automate the process of gathering search volume data and regional interest metrics.

This skill simplifies access to trend data by using a bundled Node.js script that handles requests directly. It provides a bridge between high-level AI reasoning and raw search data, enabling more informed decision-making based on current public interest and emerging topics.

Google Trends Use Cases

  • Identifying viral content topics and daily news trends for social media strategy.
  • Conducting keyword research to understand search popularity over specific timeframes.
  • Comparing regional interest to optimize geo-targeted marketing campaigns.
  • Generating autocomplete suggestions to map out user intent and long-tail keywords.
  • Monitoring real-time search spikes to respond quickly to market shifts using Openclaw Skills.

How Google Trends Works

  1. The user or AI agent invokes the trends script with a specific command like daily-trends or explore.
  2. The script processes input parameters such as geographic location (geo) and time intervals.
  3. A request is sent to Google Trends endpoints to retrieve the requested search metrics.
  4. If rate limiting is encountered, the script automatically applies an exponential backoff strategy for up to three retries.
  5. The raw data is parsed and returned as a structured JSON object to stdout for further analysis or presentation.

Google Trends Setup

To get started with this skill, navigate to the skill directory and ensure you have Node.js installed. There is no API key required. Execute commands using the following syntax:

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

For example, to check daily trending topics in the United States, use:

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

Google Trends Data Schema & Taxonomy

The skill outputs structured JSON data. Below is a breakdown of the primary data points provided by the various commands within the Openclaw Skills ecosystem:

Feature Description
Daily Trends Returns a list of trending topics, search volume, and related news links.
Real-time Trends Provides stories trending within the last few hours with category labels.
Interest by Region Breaks down search popularity by country, region, or city level.
Related Topics/Queries Lists both 'Top' and 'Rising' terms associated with a primary keyword.
Autocomplete Provides a list of suggested search terms based on partial input.

Google Trends Advanced Features

  • Built-in error handling with exponential backoff to maximize uptime against rate limits.
  • Support for granular geographic filtering using standard ISO country and region codes.
  • Flexible time-range options, including real-time windows (e.g., last 4 hours) or historical periods.
  • Integration-ready JSON output that can be piped into other Openclaw Skills for automated reporting.
  • No-auth requirement, making it ideal for headless agents and automated research workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*