# Google Trends Scraper & Trending Now Monitor (`datamole/google-trends-scraper`) Actor

Pull Google Trends data for any keyword, country or region, with interest over time, trend direction, change and peak, top regions and rising related queries. Compare up to 5 terms and get the Trending now searches with volume, growth and start time, for SEO and market research.

- **URL**: https://apify.com/datamole/google-trends-scraper.md
- **Developed by:** [DataMole](https://apify.com/datamole) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 📊 Google Trends Scraper & Trending Now Monitor

> **Get Google Trends data for any keyword, country or region: the interest over time curve plus what it means, whether the term is rising or falling, by how much, when it peaked, where it is searched and which related queries are breaking out.** Plus the full Trending now list, hundreds of trending searches per country with search volume, growth and start time.

> 🕒 **Last updated:** 2026-11-07 · **250 countries** and 3,000+ regions · 9 time ranges plus custom dates · web, news, images, YouTube and Shopping searches

**Google Trends Scraper** reads Google Trends for your keywords and turns each one into a ready-made report: the full time series, a computed trend direction and change, the peak and its date, the top countries, regions, cities or US metro areas, and the top and rising related queries. Compare up to 5 terms on one scale, like on the Trends compare page. It also reads Google's **Trending now** page for any country, with far more than the 10 searches of the public feed: 510 trending searches in the United States and 439 in Japan in one run, each with search volume, growth, start time, categories and related queries. **Monitor mode** returns only the trends that appeared since the last run.

| 🎯 Who uses it | 💡 What for |
|---|---|
| SEO and content teams, marketers, ecommerce and product teams, journalists, investors and analysts, researchers | Keyword and topic research, content calendars, seasonality, product demand, brand comparisons, newsjacking, trend alerts |

### 📋 What it does

- 📈 **Interest over time** for each term, by minute, hour, day, week or month depending on the range, with the point still in progress marked as `isPartial`.
- 🧮 **Trend signals computed for you:** `trendDirection` (rising, falling or stable), `changePercent` (last quarter of the period against the first), `averageInterest`, `latestInterest`, `peakInterest`, `peakDate`, `lowestInterest` and `lastPointChangePercent`.
- 🗺️ **Top regions:** countries, regions or states, cities, or US metro areas (DMA), highest interest first.
- 🔎 **Related queries:** the 25 top queries and the 25 rising ones, with their growth. `isBreakout` marks growth over 5,000%.
- ⚖️ **Compare up to 5 terms** on one shared 0 to 100 scale.
- 🌍 **Any location:** worldwide, 250 countries and 3,000+ regions such as `US-CA`, `GB-ENG` or `ES-MD`.
- 🧭 **Filters like the Trends site:** 9 time ranges or custom dates from 2004, 25 categories, and web, news, image, YouTube or Shopping searches.
- 🔥 **Trending now by country:** hundreds of trending searches per country for the past 4, 24 or 48 hours or 7 days, with search volume, growth, start and end time, how long each has been trending, categories and related queries. The top trends of each country also come with their news articles.
- 👀 **Monitor mode:** schedule Trending now every hour and get only the new trends.
- 🚦 **Alerts on your keywords:** `minChangePercent` keeps only the terms that are rising at least that much.

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 results. Any paid Apify plan unlocks all results.

### ⚙️ Input

| Field | What it does |
|---|---|
| `searchTerms` | Keywords to analyze. Each one becomes a report. |
| `compareTerms` | Analyze up to 5 terms together on one scale. |
| `geo` / `geoCode` | Country (worldwide by default) or a region code like `US-CA`. |
| `timeRange` / `startDate` / `endDate` | Past hour, 4 hours, day, 7 days, 30 days, 90 days, 12 months (default), 5 years, 2004 to today, or custom dates. |
| `category` | One of the 25 Google Trends categories. |
| `searchType` | Web, news, images, YouTube or Google Shopping searches. |
| `regionLevel` | Countries, regions, cities or US metro areas. Auto by default. |
| `includeInterestOverTime`, `includeRegions`, `includeRelatedQueries` | Choose the sections of each report. |
| `maxRegions`, `maxRelatedQueries` | How many regions and related queries to keep. |
| `minChangePercent` | Keep only terms rising at least this much. |
| `trendingGeos`, `trendingHours` | Countries and time window for Trending now. |
| `trendingCategories`, `trendingActiveOnly`, `minSearchVolume`, `maxTrendingPerGeo` | Filter the trending searches. |
| `monitorMode` / `monitorName` | Trending now: return only new trends since the last run. |
| `maxItems` | Maximum results for the run. |

**Example: two product ideas in the United States over 12 months**

```json
{
    "searchTerms": ["air fryer", "electric bike"],
    "geo": "US"
}
```

**Example: compare AI assistants over the past 90 days**

```json
{
    "searchTerms": ["chatgpt", "gemini", "claude", "perplexity", "copilot"],
    "compareTerms": true,
    "geo": "US",
    "timeRange": "past-90-days"
}
```

**Example: YouTube searches in Madrid over 5 years, by city**

```json
{
    "searchTerms": ["tapas", "paella"],
    "geoCode": "ES-MD",
    "timeRange": "past-5-years",
    "searchType": "youtube"
}
```

**Example: hourly alert of new trending searches in the US and the UK**

```json
{
    "trendingGeos": ["US", "GB"],
    "trendingHours": "4",
    "monitorMode": true
}
```

### 📊 Output

Real keyword report from a cloud run (worldwide, past 12 months; lists cut):

```json
{
    "type": "keyword",
    "searchTerm": "electric bike",
    "comparedWith": [],
    "geo": "",
    "geoName": "Worldwide",
    "timeRange": "today 12-m",
    "periodStart": "2025-11-02T00:00:00.000Z",
    "periodEnd": "2026-11-01T00:00:00.000Z",
    "category": "All categories",
    "searchType": "web",
    "averageInterest": 40.7,
    "latestInterest": 20,
    "peakInterest": 100,
    "peakDate": "2026-04-12T00:00:00.000Z",
    "lowestInterest": 18,
    "changePercent": 50.2,
    "trendDirection": "rising",
    "lastPointChangePercent": -13,
    "hasEnoughData": true,
    "interestOverTime": [
        { "date": "2025-11-02T00:00:00.000Z", "value": 24, "isPartial": false },
        { "date": "2025-11-09T00:00:00.000Z", "value": 25, "isPartial": false },
        "…",
        { "date": "2026-10-25T00:00:00.000Z", "value": 20, "isPartial": false },
        { "date": "2026-11-01T00:00:00.000Z", "value": 20, "isPartial": true }
    ],
    "regionLevel": "country",
    "topRegions": [
        { "geoCode": "PK", "name": "Pakistan", "value": 100 },
        { "geoCode": "SH", "name": "St. Helena", "value": 62 },
        { "geoCode": "US", "name": "United States", "value": 56 },
        "…"
    ],
    "relatedQueriesTop": [
        { "query": "dirt bike electric", "value": 100 },
        { "query": "dirt bike", "value": 99 },
        { "query": "electric bike price", "value": 67 },
        "…"
    ],
    "relatedQueriesRising": [
        { "query": "yozma in 10", "growthPercent": 6700, "isBreakout": true },
        { "query": "maryam nawaz electric bike scheme 2026", "growthPercent": 4000, "isBreakout": false },
        { "query": "yozma", "growthPercent": 2900, "isBreakout": false },
        "…"
    ],
    "trendsUrl": "https://trends.google.com/trends/explore?q=electric+bike&date=today+12-m",
    "scrapedAt": "2026-11-07T16:25:15.435Z"
}
```

Real trending search from the same day (United Kingdom, past 24 hours; one news article shown):

```json
{
    "type": "trending-search",
    "query": "richie mccaw",
    "geo": "GB",
    "geoName": "United Kingdom",
    "searchVolume": 500,
    "searchVolumeLabel": "500+",
    "increasePercent": 600,
    "startedAt": "2026-11-07T15:40:00.000Z",
    "endedAt": null,
    "isActive": true,
    "trendingForHours": 0.8,
    "categories": ["Sports"],
    "relatedQueries": [],
    "newsArticles": [
        {
            "title": "\"Made me look silly\" - Richie McCaw doesn't hesitate when naming rugby's GOAT",
            "url": "https://www.ruck.co.uk/rugby-news/richie-mccaw-rugby-legend-made-me-look-silly",
            "source": "Ruck.co.uk",
            "imageUrl": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcS93C9HuhFxw5aCHgmpA3Z8bDRSa5a3XPzmvcA04iFeDXgKtGltGcDBlDSnspE"
        }
    ],
    "timeWindowHours": 24,
    "trendsUrl": "https://trends.google.com/trends/explore?q=richie+mccaw&date=now+1-d&geo=GB",
    "scrapedAt": "2026-11-07T16:25:11.385Z"
}
```

Fields that can be empty:

- Trend signals when Google has too little data for the term (`hasEnoughData: false`), which happens with rare terms or small places.
- `topRegions` at city level for terms with few searches.
- `relatedQueriesRising` when nothing related grew in the period.
- `newsArticles` outside the top trends of each country (about 10 per country), since Google lists articles only for those.
- `endedAt` for searches that are still trending.

Search volume in Trending now is Google's own bucket (500+, 10K+, 200K+), not an exact count. Interest values are Google's relative 0 to 100 scale, where 100 is the peak inside the search.

### ✨ Why this one

- ✅ **A report, not a raw curve:** trend direction, change, peak and lowest point are already computed for every term.
- ✅ **Rising queries with breakout flags,** the fastest way to spot new topics.
- ✅ **All of Trending now,** hundreds of searches per country with volume, growth and timing, not only the top 10 of the public feed.
- ✅ **Any place:** 250 countries and 3,000+ regions, down to cities and US metro areas.
- ✅ **Reliable at volume:** each request moves to a new IP when Google limits it, and falls back to residential IPs when needed. 120 of 120 keyword reports succeeded with three bulk runs in parallel.
- ✅ **Alerts built in:** monitor mode for trends, and `minChangePercent` for your keyword list.

### 🚀 How to use

1. Create a free Apify account.
2. Open the Actor and write your keywords, or pick countries for Trending now.
3. Click **Start**.
4. Download the results or connect them to Google Sheets, Make, Zapier, n8n or the API. For alerts, schedule the run and turn on monitor mode.

### 💼 Use cases

- **SEO and content:** find rising related queries and plan content before the peak.
- **Ecommerce and product:** check demand and seasonality before launching or stocking a product.
- **Brand and competitor tracking:** compare brands on one scale, by country or region.
- **Newsrooms and social media:** catch trending searches in your country as they start.
- **Investors and analysts:** track consumer interest in companies, products and categories over years.

### ❓ FAQ

**What do the interest values mean?** Google Trends gives relative interest from 0 to 100, where 100 is the highest point inside that search (that term, place and period). They are not search counts. When you compare terms, they share the same scale.

**How is the trend direction computed?** `changePercent` compares the average interest of the last quarter of the period with the first quarter, leaving out the point still in progress. 10% or more is `rising`, -10% or less is `falling`, anything between is `stable`. Seasonal terms like "black friday" read as falling when the period starts at their peak, so pick the range that fits your question.

**What does "Breakout" mean?** Google's label for related queries that grew more than 5,000% in the period. `growthPercent` keeps the number behind it.

**Do I need a Google account or an API key?** No.

**Why can results differ a little between runs?** Google Trends computes its values from a sample of searches, so the same search can move a few points from one request to the next. The direction and the peaks stay the same.

**How does monitor mode work?** It applies to Trending now. The first run remembers every trend it returns. The next runs with the same settings return only trends that were not returned before. Name the monitor with `monitorName` to keep its memory if you change other settings.

**Why are there no related topics?** Google no longer sends related topics to visitors who are not signed in, so the Actor returns related queries, which Google still provides.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [Google News Scraper](https://apify.com/datamole/google-news-scraper) | News by keyword, topic or location in 50+ country editions |
| [SEO & GEO Audit](https://apify.com/datamole/seo-geo-audit) | SEO and AI search readiness audit of any page |
| [TradingView Stock Screener & Market Scanner](https://apify.com/datamole/tradingview-stock-screener) | Stock screens and signals across 68 markets |

**Need a field, filter or source we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects publicly available data from Google Trends. It is not affiliated with or endorsed by Google. Use the data responsibly and in line with applicable laws and the source's terms.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords, brands or topics to analyze, one per line. Each one returns its interest over time, trend direction and change, peak, top regions and related queries.

## `compareTerms` (type: `boolean`):

Analyze up to 5 terms together, like on the Google Trends compare page, so their values share the same 0 to 100 scale. With more than 5, terms are compared in groups of 5.

## `geo` (type: `string`):

Country to analyze. Worldwide by default.

## `geoCode` (type: `string`):

A state or region inside a country, as Google Trends writes it: US-CA (California), US-NY, GB-ENG, ES-MD (Madrid), IN-MH. Replaces the location above.

## `timeRange` (type: `string`):

Period to analyze. Short ranges come by the minute or hour, long ones by week or month.

## `startDate` (type: `string`):

First day, for a custom range. From 2004-01-01.

## `endDate` (type: `string`):

Last day, for a custom range.

## `category` (type: `string`):

Narrow the search to a category, useful for ambiguous words (apple in Food & Drink or in Computers & Electronics).

## `searchType` (type: `string`):

Which Google searches to measure: web, news, images, YouTube or shopping.

## `regionLevel` (type: `string`):

Level of the top regions. Auto picks countries for worldwide, regions inside a country and cities inside a region. Metro areas (DMA) exist only for the United States.

## `includeInterestOverTime` (type: `boolean`):

Every point of the interest over time curve. The trend signals are computed either way.

## `includeRegions` (type: `boolean`):

Where the term is searched the most.

## `includeRelatedQueries` (type: `boolean`):

The 25 top and 25 rising queries people search together with the term. Rising ones carry their growth, and "Breakout" means more than 5,000%.

## `maxRegions` (type: `integer`):

Regions to keep per term, highest interest first.

## `maxRelatedQueries` (type: `integer`):

Top and rising queries to keep per term, up to 25 each.

## `minChangePercent` (type: `integer`):

Keep only terms whose interest grew at least this much, comparing the last quarter of the period with the first. Useful for scheduled alerts on a keyword list.

## `trendingGeos` (type: `array`):

Get what people are searching right now in these countries, from Google Trends' Trending now page: search volume, growth, start time, categories and related queries.

## `trendingHours` (type: `string`):

Time window of the Trending now page.

## `trendingCategories` (type: `array`):

Keep only trends in these categories. Empty = all.

## `trendingActiveOnly` (type: `boolean`):

Keep only searches that are still trending, leaving out the ones that already cooled down.

## `minSearchVolume` (type: `integer`):

Keep only trends with at least this many searches, like 10000 for 10K+.

## `maxTrendingPerGeo` (type: `integer`):

Biggest trends first.

## `maxItems` (type: `integer`):

Maximum number of results for the whole run.

## `monitorMode` (type: `boolean`):

Return only trending searches that were not returned by a previous run with the same settings. Schedule it every hour for alerts.

## `monitorName` (type: `string`):

Optional. Name the monitor to keep its memory if you later change other settings.

## `proxyConfiguration` (type: `object`):

Google Trends limits each IP. Apify datacenter proxy works well and is the default.

## Actor input object example

```json
{
  "searchTerms": [
    "air fryer",
    "electric bike"
  ],
  "compareTerms": false,
  "geo": "",
  "timeRange": "past-12-months",
  "category": "0",
  "searchType": "web",
  "regionLevel": "auto",
  "includeInterestOverTime": true,
  "includeRegions": true,
  "includeRelatedQueries": true,
  "maxRegions": 25,
  "maxRelatedQueries": 25,
  "trendingHours": "24",
  "trendingActiveOnly": false,
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `terms` (type: `string`):

No description

## `trending` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerms": [
        "air fryer",
        "electric bike"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/google-trends-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchTerms": [
        "air fryer",
        "electric bike",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("datamole/google-trends-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "air fryer",
    "electric bike"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call datamole/google-trends-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datamole/google-trends-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vIDBv5LVvQX4zskQh/builds/9NuPz8q5Gd9P3fVa5/openapi.json
