# Google Trends Scraper - Interest, Regions & Rising Queries (`yck69/google-trends-scraper`) Actor

Google Trends interest over time, by region, related topics and rising queries for any keyword, plus today's trending searches by country.

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

## Pricing

from $20.00 / 1,000 keywords analysed

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/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

## Google Trends Scraper - Interest, Regions & Rising Queries

Analyse **Google Trends** for any keywords: **interest over time**, **interest by region**, **related queries and topics** (top and rising), and today's **trending searches** per country. Compare several terms in one run.

- `include`: timeseries, regions, queries, topics, in any combination.
- **Time ranges** from the last hour to 2004 onward; any country (`geo`) and category.
- **Trending searches** (daily trending now) per country.
- Handles Google's occasional rate limits with careful retries.

**$20 per 1,000 analysed keywords, $2 per 1,000 trending searches.** You pay only for the results you receive.

### How to use it

1. Click **Try for free** at the top of this page.
2. Fill the input (the defaults work as a first test).
3. Click **Start**, or schedule the Actor for monitoring and alerts.
4. Download the results as JSON, CSV or Excel, or call the Actor from the API.

### Use cases

- SEO and content teams choosing topics.
- Marketers timing campaigns.
- Analysts comparing brand or product interest.

### Input examples

**Compare two terms over 12 months**

```json
{
  "searchTerms": [
    "chatgpt",
    "gemini"
  ],
  "geo": "US",
  "timeRange": "today 12-m",
  "include": [
    "timeseries",
    "regions",
    "queries"
  ]
}
```

**Trending now in France**

```json
{
  "trendingNow": true,
  "geo": "FR"
}
```

### Input reference

| Field | Name | Type | Description |
|---|---|---|---|
| `searchTerms` | Search terms | array | Keywords to analyse. Up to 5 are compared together (same 0-100 scale), like on the Google Trends website. |
| `geo` | Country / region | string | Two-letter country (FR, US, DE) or region code (US-CA, FR-IDF). Empty = worldwide. |
| `timeRange` | Time range | string | Period to analyse. |
| `include` | Data to include | array | Interest over time, interest by region, related queries (top + rising), related topics (top + rising). |
| `category` | Category ID | integer | Google Trends category (0 = all, 71 = Food & Drink, 18 = Shopping, 7 = Finance…). |
| `trendingNow` | Also get today's trending searches | boolean | Trending searches in the chosen country with approximate traffic and related news. |
| `language` | Language | string | Interface language for related topics and queries. |
| `onlyNew` | Trending alerts: only new trends since last run | boolean | With Trending now on a schedule. |
| `monitorName` | Monitor name | string | Optional name to keep separate monitors. |
| `proxyConfiguration` | Proxy | proxy | Optional. Google Trends sometimes answers 'too many requests'; the Actor waits and retries. |

### Output

Each result is one JSON object. Main fields: `key`, `recordType`, `keyword`, `geo`, `timeRange`, `comparedWith`, `averageInterest`, `latestInterest`, `peakDate`, `trendDirection`, `interestOverTime`, `interestByRegion`, `topQueries`, `risingQueries`, `topTopics`, `risingTopics`, `approxTraffic`, `startedAt`, `news`.

When you schedule the Actor with a `monitorName`, rows also carry `isNew`, `firstSeenAt` and (where relevant) a `changes` object listing what moved since the previous run.

Example (shortened):

```json
{
  "key": "trend-FR-coup de vent-Mon, 16 Nov 2026",
  "recordType": "trending_search",
  "keyword": "coup de vent",
  "geo": "FR",
  "approxTraffic": "50000+",
  "startedAt": "2026-11-16T13:40:00.000Z",
  "news": [
    {
      "title": "« Durée spectaculaire de 72 h et menace de fort coup de vent » : la Bretagne se prépare-t-elle à une nouvel…",
      "url": "https://www.ouest-france.fr/meteo/tempete/duree-spectaculaire-de-72-h-et-menace-de-fort-coup-de-vent-la-bre…",
      "source": "Ouest-France"
    },
    {
      "title": "Rafales à 130 km/h, risque de tempête : où ça va souffler le plus fort dans les régions dès ce mardi en Fra…",
      "url": "https://actu.fr/meteo/rafales-a-130-km-h-risque-de-tempete-ou-ca-va-souffler-le-plus-fort-dans-les-regions-…",
      "source": "Actu.fr"
    },
    "…"
  ],
  "scrapedAt": "2026-11-16T14:00:38.706Z"
}
```

### What it does not do

- Values are Google's 0–100 relative index, not search volumes.
- Google may rate-limit shared IPs: runs can take a minute or two for many terms.

### Data source and legality

Google Trends public web endpoints and trending RSS feeds. The Actor does not log in, does not solve captchas and does not bypass anti-bot protection. You are responsible for using the data in line with the source's terms and the laws that apply to you (including data-protection law when the data concerns people).

### FAQ

**Why is a run slow sometimes?**

Google throttles Trends requests; the Actor backs off instead of hammering the endpoint.

### Pricing

Pay per event: $20 per 1,000 analysed keywords, $2 per 1,000 trending searches. A tiny start fee per run applies. Apify platform usage is included for the Actor owner's pay-per-event model.

### Support

Questions or a missing field? Open an issue from the Actor page and tell us the input you used.

# Actor input Schema

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

Keywords to analyse. Up to 5 are compared together (same 0-100 scale), like on the Google Trends website.

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

Two-letter country (FR, US, DE) or region code (US-CA, FR-IDF). Empty = worldwide.

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

Period to analyse.

## `include` (type: `array`):

Interest over time, interest by region, related queries (top + rising), related topics (top + rising).

## `category` (type: `integer`):

Google Trends category (0 = all, 71 = Food & Drink, 18 = Shopping, 7 = Finance…).

## `trendingNow` (type: `boolean`):

Trending searches in the chosen country with approximate traffic and related news.

## `language` (type: `string`):

Interface language for related topics and queries.

## `onlyNew` (type: `boolean`):

With Trending now on a schedule.

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

Optional name to keep separate monitors.

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

Optional. Google Trends sometimes answers 'too many requests'; the Actor waits and retries.

## Actor input object example

```json
{
  "searchTerms": [
    "air fryer",
    "slow cooker"
  ],
  "geo": "FR",
  "timeRange": "today 12-m",
  "include": [
    "timeseries",
    "regions",
    "queries"
  ],
  "category": 0,
  "trendingNow": false,
  "language": "en-US",
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Keywords.

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

Trending now.

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

Every field of every row.

## `summary` (type: `string`):

The SUMMARY record.

# 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",
        "slow cooker"
    ],
    "geo": "FR"
};

// Run the Actor and wait for it to finish
const run = await client.actor("yck69/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",
        "slow cooker",
    ],
    "geo": "FR",
}

# Run the Actor and wait for it to finish
run = client.actor("yck69/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",
    "slow cooker"
  ],
  "geo": "FR"
}' |
apify call yck69/google-trends-scraper --silent --output-dataset

```

## MCP server setup

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