# Google Trends Scraper - Data in Seconds, No Timeouts (`parseforge/google-trends-scraper`) Actor

Google Trends interest over time, top and rising related queries and interest by region for any keyword. In our tests on 24 Sep 2026, 16 of 16 runs returned data. Several countries per run, Google Trends URLs accepted, failed keywords retried and never billed.

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

## Pricing

from $2.67 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### Google Trends Scraper

**Scrape Google Trends interest-over-time data for any keyword, up to a million trends per run.** Get the normalized search volume index, regional breakdowns, and related queries. No API key or browser setup. Export to CSV, JSON, Excel, or XML.

Google Trends shows what the world is searching for, but its interface limits you to manual comparisons and small exports. This Actor reads the public Google Trends data directly, letting you feed in a list of keywords and pull back the interest-over-time index, regional interest by country, and related rising queries, all in one flat dataset. You can track hundreds of keywords across any time range and geography without touching the Google Trends website.

| Who uses it | What they scrape Google Trends for |
|---|---|
| SEO analysts | Track search demand for a portfolio of keywords over the last 12 months to prioritize content. |
| Market researchers | Compare brand search volume across countries to measure awareness campaign impact. |
| Data journalists | Pull historical search data on a topic to build a narrative around public interest shifts. |
| Ecommerce managers | Monitor seasonal product search trends to time inventory and ad spend. |

### What it does

This Actor collects Google Trends interest-over-time data, regional interest, and related queries for a list of keywords and returns each trend as a structured row.

- 📈 **Interest over time:** Normalized search volume index for each keyword across your chosen time range.
- 🌍 **Regional breakdown:** Interest by country, region, or city for geo-targeted analysis.
- 🔗 **Related queries:** Rising and top related search terms that users also looked for.
- ⏱️ **Flexible time ranges:** Past hour, 7 days, 30 days, 12 months, 5 years, or all available history since 2004.
- 🔢 **Bulk keyword input:** Paste a list of keywords and pull trends for all of them in a single run.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Google Trends data

**📊 Build a keyword demand dashboard.**

An SEO analyst runs the Actor weekly on a list of 200 target keywords and feeds the CSV into a dashboard to spot rising and falling terms before the monthly report.

**🌐 Compare brand interest across markets.**

A marketing lead runs the Actor with the same brand keywords across five country codes to see which regions are gaining search traction after a campaign.

**📰 Source data for a news story.**

A journalist scrapes 10 years of search data for a political term and uses the long-term trend line as the lede chart in an election feature.

**🛒 Forecast seasonal inventory needs.**

An ecommerce manager pulls 5-year trends for product category keywords to predict the peak month and order stock ahead of the curve.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API key required** | Google's official Trends API is deprecated. This reads the public data directly. |
| **Bulk keyword support** | Feed in dozens or hundreds of keywords instead of comparing five at a time by hand. |
| **Fixed flat schema** | Every run returns the same columns so you can append runs and build a time series. |
| **Any geography** | Pull worldwide data or restrict to a single country with an ISO code. |

### How it compares

This Actor focuses on Google Trends search-volume data, while the competitors below target Google Search result pages or Google Maps business listings.

| Feature | ParseForge | Google Search Results Scraper | Google Maps Email Extractor |
|---|---|---|---|
| Interest-over-time search volume index | Yes, normalized 0-100 index for any time range | Not listed | Not listed |
| Regional interest breakdown by country | Yes, with ISO country code filter | Not listed | Not listed |
| Related rising and top queries | Yes, returns queries users also searched for | Not listed | Not listed |
| Bulk keyword input in a single run | Yes, accepts an array of keywords | Not listed | Not listed |
| No API key or browser setup required | Yes, reads public data directly | Not listed | Not listed |

### Configure the run

Drive the Actor with a list of keywords, and narrow results by time range and country code so only the trends you need land in your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "keywords": [
    "web scraping",
    "ai agents"
  ],
  "timeRange": "today 12-m",
  "maxItems": 10
}
```

A larger pull:

```json
{
  "keywords": [
    "web scraping",
    "ai agents"
  ],
  "timeRange": "today 12-m",
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0208 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $2.08 |
| 1,000 results | $20.80 |
| 10,000 results | $208.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Google Trends Scraper](https://apify.com/parseforge/google-trends-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Google Trends through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/google-trends-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results for my keyword?**

Check that the keyword is spelled correctly and is specific enough. Very niche terms with low search volume may not have enough data for Google Trends to return a result. Try broadening the time range to 'all' or removing the geo filter.

**The Actor returns a 0 value for every data point.**

A flat 0 usually means the keyword has very low search volume relative to the time range or geography you selected. Try a broader time range like 'all' or set geo to empty for worldwide data to see if any signal exists.

**My run timed out before finishing all keywords.**

Lower the maxItems setting or split your keyword list into smaller batches across multiple runs. Very long keyword lists with fine-grained time ranges can take time to process.

**The geo filter is not working as expected.**

Make sure you are using the correct two-letter ISO 3166-1 alpha-2 code (e.g., GB for the United Kingdom, not UK). Some smaller territories may not have enough data to return results.

**I got results but the numbers look different from the Google Trends website.**

Google Trends normalizes data on each request. Running the same query at different times or with different companion keywords can shift the index. The relative shape of the trend line should match.

### FAQ

| Question | Answer |
|---|---|
| What data does this Actor return from Google Trends? | It returns the interest-over-time index (a normalized 0-100 score), regional interest breakdowns by country or region, and related rising queries for each keyword you submit. |
| Do I need a Google account or API key to use this? | No. The Actor reads the public Google Trends data directly. You do not need a Google account, an API key, or any browser setup. |
| How many keywords can I scrape in one run? | You can submit as many keywords as you want. The maxItems setting controls how many trend records are saved to your dataset, up to 1,000,000 per run. |
| What time ranges are supported? | All standard Google Trends ranges: past hour, past 4 hours, past day, past 7 days, past 30 days, past 90 days, past 12 months, past 5 years, and all available data since 2004. |
| Can I filter trends by country? | Yes. Set the geo field to any ISO 3166-1 alpha-2 country code (like US, DE, JP) to restrict results to that country. Leave it empty for worldwide data. |
| Does this Actor return absolute search volume numbers? | No. Google Trends returns a normalized index from 0 to 100, not absolute search counts. The index shows relative popularity over the selected time period. |
| What format is the exported data? | You can export your dataset in CSV, JSON, Excel, or XML format directly from the Apify platform. |
| Can I schedule this Actor to run automatically? | Yes. You can set up a recurring schedule in Apify to run the Actor daily, weekly, or monthly and append new data to your dataset over time. |
| Is this the same as the Google Trends API? | Google's official Trends API was deprecated. This Actor accesses the same public data through the web interface, giving you a programmatic alternative without an official API. |
| Can I compare multiple keywords in one request? | Yes. The keywords field accepts an array, so you can submit a list of terms and get trend data for all of them in a single run. |

### Related actors

- [google-search-scraper](https://apify.com/parseforge/google-search-scraper?fpr=vmoqkp): Use this if you need actual Google SERP results with rankings, ads, and snippets rather than search volume trends.

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Google LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `keywords` (type: `array`):

Keywords to analyze.

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

Google Trends time range string (e.g. 'today 12-m', 'today 1-m', 'now 7-d', 'all')

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

ISO country code. Empty = Worldwide.

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

Maximum number of trends to collect per run.

## Actor input object example

```json
{
  "keywords": [
    "web scraping",
    "ai agents"
  ],
  "timeRange": "today 12-m",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Complete dataset

# 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 = {
    "keywords": [
        "web scraping",
        "ai agents"
    ],
    "timeRange": "today 12-m",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/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 = {
    "keywords": [
        "web scraping",
        "ai agents",
    ],
    "timeRange": "today 12-m",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/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 '{
  "keywords": [
    "web scraping",
    "ai agents"
  ],
  "timeRange": "today 12-m",
  "maxItems": 10
}' |
apify call parseforge/google-trends-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/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/AMId83WAvWB4902eL/builds/vHaLX7W2967YyHhWC/openapi.json
