Google Trends icon

Google Trends

Retrieve Google Trends data using @alkalisummer/google-trends-js

Explore

AI-generated

Overview

This node operation retrieves Google Trends data for a specified keyword using the 'explore' operation. It allows users to explore widget data related to the keyword, filtered by geographic location, time range, category, property, and language. This is useful for analyzing trends and interest in specific topics over a defined period and region, such as market research, content planning, or SEO analysis.

Use Case Examples

  1. A marketing analyst wants to explore the popularity of a product keyword in the US over the past day.
  2. A content creator wants to analyze trending topics in a specific category and language to tailor their content strategy.

Properties

Name Meaning
Keyword The search keyword to explore trends data for.
Geo Location Geographic location code to filter the trends data (e.g., US).
Time Range Time range for the trends data, e.g., 'now 1-d' or specific dates.
Category Category number to filter the trends data by category.
Property Property filter to refine the trends data.
Language Language code to specify the language for the trends data (e.g., en-US).

Output

JSON

  • operation - The operation performed, here it will be 'explore'.
  • data - The Google Trends data retrieved for the specified keyword and filters.

Dependencies

  • @alkalisummer/google-trends-js library for accessing Google Trends data

Troubleshooting

  • Invalid article keys format error is unrelated to 'explore' but may appear if other operations are used incorrectly.
  • Common errors include invalid parameter values such as incorrect geo codes or time range formats.
  • If the Google Trends API returns an error, the node throws a descriptive error message indicating the issue.

Discussion