# Google Trends Full Scraper — Interest & Related (`alaudinburki/google-trends-full-scraper`) Actor

Interest over time, related queries and topics, and interest by region for up to 5 compared keywords. Handles rate limits with backoff + proxy, and flags every incomplete-period data point instead of returning it silently.

- **URL**: https://apify.com/alaudinburki/google-trends-full-scraper.md
- **Developed by:** [alaudin burki](https://apify.com/alaudinburki) (community)
- **Categories:** SEO tools
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Trends Full Scraper — Interest & Related

Interest over time, related queries and topics, and interest by region for up to 5 compared keywords. Handles rate limits with backoff + proxy, and flags every incomplete-period data point instead of returning it silently.

Built reliability-first: **every row reports what was found and what was missing** — you never get a
silent blank, and a run summary tells you exactly what happened.

### What you get

| Field | Description |
|---|---|
| `type` | Type |
| `keyword` | Keyword |
| `date` | Date |
| `value` | Value |
| `isPartial` | Is Partial |
| `query` | Query |
| `rank` | Rank |
| `geoName` | Geo Name |

### How to use it

1. Fill in the input (see the example below).
2. Run it once for a snapshot, or **schedule it** to keep the data fresh.
3. Export to CSV/JSON/Excel, or push straight to Google Sheets, Notion, Airtable, Zapier, Make, or n8n.

### Input

```json
{
  "keywords": [
    "bitcoin",
    "ethereum"
  ],
  "geo": "",
  "timeRange": "today 12-m",
  "datasets": [
    "interestOverTime",
    "relatedQueries"
  ],
  "category": 0,
  "property": "",
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxItems": 5000
}
```

### Sample output

```json
[
{
  "type": "example",
  "keyword": "example",
  "date": "2026-09-03T09:00:00.000Z",
  "value": "example",
  "isPartial": true,
  "query": "example",
  "rank": 12,
  "geoName": "Example geoName"
}
]
```

### Typical uses

- **SEO / content**: rising related queries per seed keyword, scheduled weekly.
- **Finance / trading**: interest-over-time for tickers with partial-period points flagged so you never trade on a half-formed bar.
- **Market research**: compare up to 5 brands on one scale, by region.

### Pricing

**$2.50 / 1,000 results** (`$0.0025` per result), plus a near-zero start fee. You are **never charged beyond your limit**, and blocked or
failed items are reported honestly — not billed as data.

### FAQ & limitations

- Public data only — no login walls, no cookies required.
- Rate limits on the source may require the proxy or a retry on very large pulls.
- Every row reports its own status, so partial results are always labeled, never faked.
- **Integrations:** output works with Zapier, Make, n8n, and any webhook via Apify's integrations.
- **Formats:** results export as JSON, CSV, Excel, or HTML from the dataset.

### Related actors

- **Google News Scraper**
- **Keyword Suggestions**
- **AI Brand Visibility Tracker**

# Actor input Schema

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

Search terms to analyze, up to 5 — they are compared on the same scale, exactly like the Google Trends website. For more, run separate jobs.

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

Two-letter country code (US, GB, DE...) or a sub-region (US-CA). Leave empty for worldwide.

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

One of: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all.

## `datasets` (type: `array`):

Which data to return: interestOverTime, relatedQueries, relatedTopics, interestByRegion.

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

Google Trends category number to narrow results (0 = all categories). See Google Trends for category IDs.

## `property` (type: `string`):

Search surface: web (empty), news, images, youtube, or froogle (shopping).

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

Result language, e.g. en-US, de-DE.

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

Proxy settings. Strongly recommended — Google rate-limits by IP, which is the #1 reason Trends scrapers fail. Defaults to Apify's datacenter pool, falling back to residential if throttled.

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

Hard limit on output rows. Strictly enforced — you will never be charged for more than this.

## Actor input object example

```json
{
  "keywords": [
    "bitcoin",
    "ethereum"
  ],
  "timeRange": "today 12-m",
  "datasets": [
    "interestOverTime",
    "relatedQueries"
  ],
  "category": 0,
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxItems": 5000
}
```

# Actor output Schema

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

The dataset of results produced by this run.

# 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": [
        "bitcoin",
        "ethereum"
    ],
    "geo": "",
    "timeRange": "today 12-m",
    "datasets": [
        "interestOverTime",
        "relatedQueries"
    ],
    "category": 0,
    "property": "",
    "language": "en-US",
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "maxItems": 5000
};

// Run the Actor and wait for it to finish
const run = await client.actor("alaudinburki/google-trends-full-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": [
        "bitcoin",
        "ethereum",
    ],
    "geo": "",
    "timeRange": "today 12-m",
    "datasets": [
        "interestOverTime",
        "relatedQueries",
    ],
    "category": 0,
    "property": "",
    "language": "en-US",
    "proxyConfiguration": { "useApifyProxy": True },
    "maxItems": 5000,
}

# Run the Actor and wait for it to finish
run = client.actor("alaudinburki/google-trends-full-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": [
    "bitcoin",
    "ethereum"
  ],
  "geo": "",
  "timeRange": "today 12-m",
  "datasets": [
    "interestOverTime",
    "relatedQueries"
  ],
  "category": 0,
  "property": "",
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxItems": 5000
}' |
apify call alaudinburki/google-trends-full-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alaudinburki/google-trends-full-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/MaORGwaid4WFTYF9H/builds/P8yYDDgUfNbR0tjEY/openapi.json
