npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gamal.dev/n8n-nodes-google-trends

v1.0.0

Published

Google Trends node for n8n

Downloads

14

Readme

n8n-nodes-google-trends

This is an n8n community node that lets you use Google Trends API in your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

  1. Go to Settings > Community Nodes.
  2. Select Install.
  3. Enter n8n-nodes-google-trends in Enter npm package name.
  4. Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
  5. Select Install.

After installing the node, you can use it like any other node in n8n.

Operations

  • Interest Over Time: Get search interest data over time for keywords
  • Related Queries: Get related search queries for keywords
  • Related Topics: Get related topics for keywords

Credentials

This node doesn't require any credentials as it uses Google Trends' public API.

Compatibility

  • Minimum n8n version: 0.175.0
  • Credentials: Not required

Usage

Interest Over Time

Get search interest data over time for one or more keywords:

  1. Select Interest Over Time operation
  2. Enter keywords (separate multiple with commas: bitcoin, ethereum)
  3. Optionally set start/end dates
  4. Optionally set geography (e.g., US, GB, DE)
  5. Optionally set category ID

Related Queries

Get related search queries for keywords:

  1. Select Related Queries operation
  2. Enter keywords
  3. Configure other optional parameters

Related Topics

Get related topics for keywords:

  1. Select Related Topics operation
  2. Enter keywords
  3. Configure other optional parameters

Parameters

  • Operation: Choose between Interest Over Time, Related Queries, or Related Topics
  • Keywords: One or more keywords (comma-separated for multiple)
  • Start Time: Start date for data collection (optional)
  • End Time: End date for data collection (optional)
  • Geography: ISO country code like US, GB, DE (optional, defaults to worldwide)
  • Category: Category ID for filtering results (optional, 0 = all categories)

Resources

License

MIT

Development

To set up for development:

# Clone or download this repository
git clone <repository-url>
cd n8n-nodes-google-trends

# Install dependencies
npm install

# Build the node
npm run build

# For development with watch mode
npm run dev

Version History

1.0.0

  • Initial release
  • Support for Interest Over Time, Related Queries, and Related Topics operations
  • Multiple keywords support
  • Configurable date ranges and geography filtering