# Google Trends Scraper: Interest, Regions & Queries, $1.50/1K (`laptime/google-trends-scraper`) Actor

From $0.50/1K, no start fee: $1.50/1K keywords, $0.50/1K Trending Now. No API key. Fastest Google Trends scraper in our head-to-head tests (2 keywords in 3 s), built for Google's throttling: failed keywords are free. Interest over time by country, state and metro, rising queries, comparisons.

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

## Pricing

from $0.90 / 1,000 keyword 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

### What is Google Trends Scraper?

**Google Trends Scraper** gets [Google Trends](https://trends.google.com) data without an API key, a login or a browser:

- **interest over time**, with a ready-made trend summary (rising, falling or stable, change %, peak)
- **interest by country, state and US metro area**
- **related queries** (top and rising)
- **comparisons of up to 5 terms**
- Google's full **Trending Now** list

It works for any location, time range (including hourly), category and search property (web, news, images, YouTube, Google Shopping). Type your keywords, pick a country, click **Start**, and download JSON, CSV or Excel.

[![How to use Google Trends Scraper without coding: 1. Try for free 2. Type keywords + Start 3. Trend, change %, peak, top region, rising query per keyword 4. Export to Excel](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/google-trends-scraper-steps.jpg?v=20261122)](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/google-trends-scraper-steps.jpg?v=20261122)

It reads the same JSON that trends.google.com's own charts load, and it is **built for Google's throttling**: every IP gets its own cookie, a refused request moves to another IP at once, and keywords Google still refuses get a second round at the end. So runs finish in seconds instead of minutes, they finish, and **a keyword that fails is never charged**.

- 📈 **Keyword and SEO research:** 12-month or 5-year interest curves for hundreds of keywords, with rising queries and a ready-made summary: average, peak, change in % and direction, as plain table columns.
- 🆚 **Compare brands and products:** up to 5 terms on one 0–100 scale, by state or metro area, to see who wins where.
- 🔥 **Trend alerts:** every trending search in a country, with search volume, growth, start and end time, related searches and news. Schedule it to get only the new ones, optionally only those that mention your words (`trendingIncludeKeywords`); a run with nothing new costs $0.
- 🤖 **Feed dashboards and AI agents:** flat rows for spreadsheets and SQL, or one nested row per keyword. The field names match apify/google-trends-scraper.

> ✅ **Verified working on 22 November 2026:** the default input (2 keywords, worldwide, 12 months) returned both keywords in **3.2–4.5 s** on all 6 runs, start-up included. We re-run the benchmarks every month and update this date.
>
> 🛡️ **Reliable under load:** on 22 November 2026 we ran **500 keywords, 570 keyword × country pairs and 57 five-term comparisons at the same time** on one Apify account. Google answered "too many requests" 1,054 times; the runs absorbed every one and delivered **1,127 of 1,127 results**. 55 of our 56 QA runs that day succeeded; the other asked for an hourly range Google refuses, which now loads daily data instead ([details](#is-it-reliable)).
>
> ⚡ **Fastest in our head-to-head tests:** the same 2 keywords took **3.0 s** here (median), against 7–20 s on scrapesage/google-trends-scraper and 29–31 s on apify/google-trends-scraper. 500 keywords take 1.5–4 minutes, with every keyword delivered ([benchmarks](#benchmarks)).
>
> 💰 **$1.50 per 1,000 keywords** (each with every data type), **$0.50 per 1,000 trending searches**. No start fee, no proxy costs, and keywords Google has no data for, or that fail, are free.
>
> 🔁 **Drop-in for `apify/google-trends-scraper`:** paste your input as is (`searchTerms`, `isMultiple`, `timeRange`, `customTimeRange`, `geo`, `category`, `startUrls`, `maxItems`). You get the same output field names (`interestOverTime_timelineData`, `interestBySubregion`, `relatedQueries_top`...) at a quarter of its Free-plan price ([migration guide](#switch-from-apifygoogle-trends-scraper)).

### How does it compare to other Google Trends scrapers?

**Speed, measured head to head** on Apify on 18 November 2026. Every Actor got the same task: "coffee" and "matcha" in the US over the past 12 months, with interest over time, by region and related queries. Time is the run's total time as Apify reports it, start-up included.

| Task | **Laptime** | scrapesage | apify |
|---|---|---|---|
| 2 keywords: interest over time, by state, related queries | **3.0 s** (median, current version; 3.9 s over all 37 runs) | 7.3 s / 19.5 s (2 runs) | 29.0 s / 31.1 s (2 runs) |
| The same with city and metro maps (apify's default) | **11.9 s** | – | 29.0 s / 31.1 s |
| Keywords returned | **2 of 2** | 2 of 2 | 2 of 2 |

**Run success.** apify/google-trends-scraper's own Store statistics showed **81%** of its 38,513 runs in the previous 30 days succeeding (19 November 2026); the rest failed, timed out or were aborted. Here, every run of our 22 November 2026 test series with a valid input succeeded, including three big jobs running side by side ([details](#is-it-reliable)).

data_xplorer/google-trends-fast-scraper takes one keyword per run: 6.5 s for "coffee" alone, plus a $0.025 start fee.

**Price per 1,000 keywords** at each Actor's **Free plan list price** (18 November 2026). Every Actor here, ours included, costs the same or less on paid Apify plans.

| Job | **Laptime** | scrapesage | apify | data_xplorer (fast) |
|---|---|---|---|---|
| 1,000 keywords, all data | **$1.50** | $4.00 | $6.00 | $27.00 (1 keyword per run + $0.025 start fee) |
| 1,000 Trending Now searches | **$0.50** | $1.50 | n/a | $1.00 + $0.02 per run (separate Actor) |
| A keyword Google has no data for | **$0** | $0.004 | $0.006 | $0.027 |
| A keyword Google keeps refusing (429s) | **$0** (free row with the reason) | – | – | – |

**One price per keyword, not per data point.** Several Google Trends scrapers bill every data point as a result: each week of the curve, each region, each related query. A keyword with 12 months of weekly data (53 points), 51 US states and 50 related queries is about 154 billed rows there, and one keyword result here:

| One keyword, 12 months, US states, related queries (≈154 data points) | Price for that keyword | Per 1,000 keywords |
|---|---|---|
| **Laptime** (per keyword) | **$0.0015** | **$1.50** |
| $0.25 per 1,000 data points + platform usage | ≈ $0.039 + usage | ≈ $39 + usage |
| $0.45 per 1,000 data points | ≈ $0.069 | ≈ $69 |
| $0.50 per 1,000 data points + $0.01 per run | ≈ $0.077 + $0.01 per run | ≈ $77 + run fees |

Prices are each Actor's Free-plan list price on 18 November 2026; data points counted from our own output for "coffee" in the US. Checked with a run on 18 November 2026: the 12-month curve alone was billed as 53 results ($0.024) by one of these Actors.

### What data can you extract from Google Trends?

| | | |
|---|---|---|
| 📈 Interest over time (minutes, hours, days, weeks or months) | 🗺️ Interest by country, subregion (state/province) and US metro area (DMA) | 🔍 Related queries: top and rising, with Breakout flagged |
| 🆚 Up to 5 terms on one scale, Google's averages | 🧮 Per-term summary: average, peak and peak date, latest, change %, direction, top region | 🧠 Knowledge Graph topic suggestions (topic ids that track a subject across languages) |
| 🔥 Trending Now: every trend of the last 4 h, 24 h, 48 h or 7 days | 📊 Search volume ("200K+"), growth %, active or ended, start and end time | 📰 Related searches, categories and news stories with pictures |
| 🌍 Any country or subregion, any category, web/news/images/YouTube/Shopping | 🕐 Presets, custom date ranges and hourly ranges | 🔗 A trends.google.com link for every row |

Every field is documented (type, meaning, when it's empty) in the Output tab's schema.

### How to scrape Google Trends

1. Open the Actor and type your keywords in **Search terms**, one per line.
2. Pick a **Location** from the list (empty = worldwide; codes like `US-CA` work too) and a **Time range**.
3. To compare terms, turn on **Compare terms on one chart** and write them comma-separated in one line: `coffee, tea, matcha`.
4. Optional sections: several countries at once, exact dates, a category, YouTube/News/Shopping search, trends.google.com links, a Google Sheet, and **Trending Now** (pick countries).
5. Click **Start**. The **Keywords** table shows each keyword's trend, change % and top rising query; **Keyword details** has every data point. Download JSON, CSV or Excel, or get the data by API.

#### Recipes (copy-paste inputs)

**Compare 5 AI assistants over 5 years, by US state and metro area**

```json
{ "searchTerms": ["chatgpt, gemini, claude, copilot, perplexity"], "isMultiple": true, "geo": "US", "timeRange": "today 5-y", "regionLevels": ["subregion", "metro"] }
```

**Daily trend alerts: only new trending searches in the US and UK** (schedule it daily; a run with nothing new costs $0)

```json
{ "trendingGeos": ["US", "GB"], "trendingHours": "24", "onlyNew": true, "monitorName": "us-gb-daily" }
```

**Bulk SEO keywords into a spreadsheet:** one row per data point

```json
{ "searchTerms": ["running shoes", "trail running shoes", "carbon plate shoes", "barefoot shoes", "walking shoes"], "geo": "US", "dataTypes": ["interestOverTime", "relatedQueries"], "outputFormat": "flat" }
```

**One keyword in 5 countries in one run: where to launch first** (one row and one keyword result per country)

```json
{ "searchTerms": ["air fryer"], "geos": ["US", "GB", "DE", "FR", "IN"], "timeRange": "today 12-m", "dataTypes": ["interestOverTime", "relatedQueries"] }
```

**YouTube search interest in the UK, hour by hour for a week**

```json
{ "searchTerms": ["minecraft", "fortnite"], "geo": "GB", "timeRange": "now 7-d", "property": "youtube" }
```

### How much does it cost to scrape Google Trends?

You pay per result, at the same price on every plan:

| What | Price |
|---|---|
| Keyword result: one search term, or one comparison of up to 5 terms, with every data type you chose | **$1.50 per 1,000** ($0.0015 each) |
| Trending search: one Trending Now row | **$0.50 per 1,000** |
| Start fee, proxy, compute | **$0** |
| A keyword Google has no data for, a keyword that failed or loaded only partly, filtered trends, trends already delivered (monitoring) | **$0** |

Examples:

- 100 keywords with interest over time, by state and related queries: **$0.15**.
- The full US Trending Now list for 24 hours (about 500 searches): **$0.25**.
- A daily trend alert for a month in two countries: usually **under $1**.

Set a maximum cost per run in Apify, and the Actor stops there.

**Works on the Apify free plan:** the $5 of monthly platform credit covers about 3,300 keywords with this Actor, no card needed.

### Input

Everything is optional except something to look up: search terms, start URLs or Trending Now countries. The main fields:

| Field | What it does |
|---|---|
| `searchTerms` | Keywords, one per entry (up to 100 characters each). Topic ids such as `/m/02vqfm` work too. Case and extra spaces don't matter; duplicates are skipped. |
| `isMultiple` | `true` = compare comma-separated terms in one entry (up to 5). |
| `startUrls` | trends.google.com explore links (they keep their own q, geo, date, cat and gprop) and Trending Now links. |
| `timeRange` / `customTimeRange` | A preset (`now 1-H` … `all`), or `2024-01-01 2024-12-31`, or hourly `2026-11-01T00 2026-11-07T23` (up to 7 days; longer hourly ranges load daily data). |
| `geo` | `US`, `US-CA`, `US-NY-501`, `GB`, … or a country name (`Germany`, `UK`). Empty = worldwide. |
| `geos` | Several locations in one run: every term (or comparison) runs in each, e.g. `["US", "GB", "DE"]`. An unknown entry is skipped with a note. |
| `category`, `property` | A Google category id; web, news, images, youtube or shopping. |
| `dataTypes`, `regionLevels` | Which data to load (default: interest over time, by region, related queries) and which region maps: countries, states/regions, US metros. |
| `outputFormat` | `nested` (one row per keyword) or `flat` (one row per data point). |
| `trendingGeos`, `trendingHours`, `trendingCategory`, `trendingOnlyActive`, `maxTrendingPerGeo` | Trending Now. |
| `onlyNew`, `monitorName` | Monitoring: skip trending searches delivered in earlier runs. |

The Input tab explains every field, including the defaults.

### Output

![Google Trends Scraper output: table of Trending Now searches with rank, title, search volume, growth percentage, category and start time](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/google-trends-scraper-output.jpg?v=20261122)

One row per keyword (`dataType: "keyword"`), shortened:

```json
{
  "dataType": "keyword",
  "searchTerm": "matcha",
  "geo": "US",
  "timeRange": "today 12-m",
  "property": "web",
  "exploreUrl": "https://trends.google.com/trends/explore?geo=US&q=matcha&hl=en-US",
  "noData": false,
  "summary": [{ "term": "matcha", "average": 75, "peak": 100, "peakDate": "2026-04-12T00:00:00.000Z", "latest": 61, "changePercent": -3, "direction": "stable", "topRegion": "Hawaii" }],
  "averageInterest": 75,
  "peakInterest": 100,
  "peakDate": "2026-04-12T00:00:00.000Z",
  "latestInterest": 61,
  "changePercent": -3,
  "direction": "stable",
  "topRegion": "Hawaii",
  "topQuery": "matcha latte",
  "topRisingQuery": "starbucks banana bread matcha",
  "interestOverTime_timelineData": [{ "time": "1763251200", "date": "2025-11-16T00:00:00.000Z", "formattedTime": "Nov 16 – 22, 2025", "value": [59], "hasData": [true], "formattedValue": ["59"] }],
  "interestBySubregion": [{ "geoCode": "US-HI", "geoName": "Hawaii", "value": [100], "formattedValue": ["100"], "maxValueIndex": 0, "hasData": [true] }],
  "relatedQueries_top": [{ "term": "matcha", "query": "matcha latte", "value": 100, "formattedValue": "100", "link": "https://trends.google.com/trends/explore?q=matcha+latte&date=today+12-m&geo=US" }],
  "relatedQueries_rising": [{ "term": "matcha", "query": "starbucks banana bread matcha", "value": 9850, "formattedValue": "Breakout", "breakout": true, "link": "…" }],
  "relatedTopics_top": [],
  "missingData": [],
  "complete": true,
  "dataSource": "google-trends",
  "scrapedAt": "2026-11-18T00:28:16.290Z"
}
```

One row per trending search (`dataType: "trending"`):

```json
{
  "dataType": "trending",
  "rank": 1,
  "title": "argentina vs costa rica",
  "geo": "US",
  "hours": 24,
  "searchVolume": 200000,
  "searchVolumeFormatted": "200K+",
  "increasePercentage": 1000,
  "isActive": true,
  "startedAt": "2026-11-17T20:30:00.000Z",
  "endedAt": null,
  "trendBreakdown": ["argentina vs costa rica", "argentina - costa rica", "nico paz"],
  "categories": ["Sports"],
  "newsArticleCount": 22,
  "news": [],
  "exploreUrl": "https://trends.google.com/trends/explore?q=argentina%20vs%20costa%20rica&date=now%201-d&geo=US&hl=en-US"
}
```

In the Output tab, the **Keywords** view shows one line per keyword (trend, change %, average, peak, latest, top region, top rising query), **Keyword details** shows every data type, and **Trending Now** shows the trending searches. `RUN_STATS` in the key-value store has the run's counts, speed, retries and any errors.

If Google keeps refusing a keyword after the retry round, you still get a row for it, free: `dataType: "error"` with the reason in `error`, or, when only part of the data failed, the keyword row with `complete: false` and `missingData` saying what is missing. The run's status message counts them.

### Integrations and API

Run it from the Apify API, the [Python](https://docs.apify.com/api/client/python) or [JavaScript](https://docs.apify.com/api/client/js) client, or send the results to Google Sheets, n8n, Make, Zapier or Slack through Apify's integrations. AI agents can call it as a tool through the Apify MCP server: `https://mcp.apify.com?tools=laptime/google-trends-scraper`.

#### Use Google Trends Scraper as a Google Trends API in Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("laptime/google-trends-scraper").call(run_input={
    "searchTerms": ["coffee", "matcha"],
    "geo": "US",
    "timeRange": "today 5-y",
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["searchTerm"], row["summary"][0]["direction"], row["summary"][0]["changePercent"])
```

#### JavaScript

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('laptime/google-trends-scraper').call({ trendingGeos: ['US'], maxTrendingPerGeo: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((t) => `${t.rank}. ${t.title} (${t.searchVolumeFormatted})`).join('\n'));
```

### Switch from apify/google-trends-scraper

1. Copy your input JSON from apify/google-trends-scraper and paste it here. `searchTerms`, `isMultiple`, `timeRange`, `customTimeRange`, `geo`, `category`, `startUrls` and `maxItems` mean the same thing. `viewedFrom`, `maxConcurrency`, `maxRequestRetries`, `spreadsheetId` and `skipDebugScreen` are accepted, and they don't change anything.
2. Your pipeline keeps reading the same fields:
   - `inputUrlOrTerm`, `searchTerm`
   - `interestOverTime_timelineData` and `interestOverTime_averages`
   - `interestBy`, `interestBySubregion`, `interestByCity`, `interestByMetro`
   - `relatedQueries_top`/`_rising` and `relatedTopics_top`/`_rising`
3. Differences:
   - Metros are opt-in. Add `"regionLevels": ["subregion", "metro"]` to get them, at about 2 s more per keyword.
   - Every related entry carries a `term` field (handy for comparisons).
   - There are new fields: `summary` and its one-term columns (`direction`, `changePercent`, `averageInterest`…), `exploreUrl`, `noData`, `complete` and `missingData`.

**Coming from another Google Trends scraper?** These input names are read as they are too: `keywords`, `keyword`, `timeframe`, `predefinedTimeframe`, `countries`, `searchType`, `compareTerms`, `trendingSearchesGeo`, `trendingSearchesCountry`, `maxResults`, `monitorKey`, and `compare_keywords: true`, `trends_urls`, `predefined_timeframe`, `common_geo`, `gprop`.

### Benchmarks

Measured on Apify on 18 November 2026 with the default memory (512 MB) and Apify datacenter IPs (residential only as a fallback).

Times are the Actor's own scraping time; Apify's start-up adds about 1 s. Retries count Google's "too many requests" answers, each sent again at once on another IP.

| Job | Results | Time | Throughput | Retries | Success |
|---|---|---|---|---|---|
| **Load test, 22 November 2026 (version 0.4): three jobs at once on one account** | | | | | |
| 500 keywords, worldwide | 500 | 182 s | 2.7 keywords/s | 438 | 500 of 500 |
| 285 keywords × US and UK | 570 | 218 s | 2.6 keywords/s | 457 | 570 of 570 |
| 57 five-term comparisons, US, 5 years, states and metros | 57 | 87 s | 0.7 comparisons/s | 159 | 57 of 57 |
| Default input during the load test | 2 | 2.0 s | – | 0 | 2 of 2 |
| Default input: 2 keywords, worldwide, 12 months (version 0.3, 3 runs, 19 November 2026) | 2 | 1.2–3.2 s | – | – | 3 of 3 |
| Default input: 2 keywords, US, 12 months (version 0.1, 6 runs) | 2 | 1.8–4.1 s (median 2.3 s) | – | 0–1 | 6 of 6 |
| Default input, all 37 runs during development | 2 | 1.0–18 s (median 3.2 s) | – | 0–26 | 37 of 37 |
| 10 keywords | 10 | 7.6 s | 1.3 keywords/s | 11 | 10 of 10 |
| 100 keywords (2 runs) | 100 | 14.4 s, 18.0 s | 5.6–6.9 keywords/s | 0, 24 | 200 of 200 |
| 500 keywords (3 runs) | 500 | 93 s, 179 s, 231 s | 2.2–5.4 keywords/s | 72–339 | 1,500 of 1,500 |
| Compare 5 terms over 5 years, by state and metro | 1 comparison | 10.9 s | – | 2 | 1 of 1 |
| Trending Now, US, 24 hours | 516 trends | 2.3 s | 224 rows/s | 0 | 516 of 516 |
| Trending Now, 5 countries, 7 days | 11,396 trends | 5.3 s | 2,150 rows/s | 0 | 11,396 of 11,396 |
| Trend alert, US + UK, second run (nothing new) | 0 | 2.5 s | – | 0 | $0 charged |

The 500-keyword runs used $0.005–0.056 of Apify platform usage, which we pay. You pay only the per-result price above.

### Related Actors

Laptime scrapers that pair well with this one, all with no start fee:

- [Pinterest Trends Scraper](https://apify.com/laptime/pinterest-trends-scraper): top, growing and seasonal searches for 34 regions, $0.49/1K.
- [AI Visibility Tracker](https://apify.com/laptime/ai-search-visibility-tracker): your brand in ChatGPT, Perplexity, Gemini and AI Overviews, $0.03/answer.
- [Google Ads Scraper](https://apify.com/laptime/google-ads-scraper): a company's Google ads with headlines and sitelinks, $0.99/1K.
- [Reddit Search Scraper](https://apify.com/laptime/reddit-search-scraper): keyword search across Reddit or inside one subreddit, from $0.49/1K.

### FAQ

#### Is it legal to scrape Google Trends?

Google Trends data is public and aggregated: it contains no personal data, only relative search interest. This Actor reads the same public data trends.google.com shows any visitor, with no login. Check that your use complies with Google's terms and the laws that apply to you, and if in doubt, ask a lawyer.

#### How many keywords can I scrape?

As many as you like: the Actor spreads them over many IPs. 100 keywords take about 15 seconds. For very large jobs, split them into runs of a few thousand.

#### Why are the values different from what I see on trends.google.com?

Google Trends values come from a sample of searches. Google itself returns slightly different numbers for the same query from one request to the next, especially for small regions and short periods. The shape of the curve and the rankings stay the same.

#### Why are related topics and city values empty?

Google currently serves related topics and city-level values only to signed-in users, so every scraper gets an empty topics list and cities without numbers (we checked 285 keywords: none had topics). Related topics are therefore off by default; if you ask for them or for cities, `missingData` explains the empty list, and the keyword is still delivered in full. Related queries always come back, US metro areas and states give local detail, and **Topic suggestions** gives the Knowledge Graph topics for each term.

#### What happens when Google throttles?

Google answers busy clients with "too many requests" (HTTP 429). The Actor sends the request again at once on another IP, and keywords that still fail get a second round at the end of the run on rested and fresh IPs. Anything Google keeps refusing after that comes back as a free row with the reason (`dataType: "error"`, or `complete: false` when only part of the data failed), and the status message counts them. You never pay for a keyword that failed.

#### Why does a keyword say `noData: true`?

Google has too few searches for it with these settings. Try a longer time range, a wider location or a broader term. Those rows are free. A keyword with only a few spikes gets `direction: "sparse"`: too few searches to call it a trend.

#### Can I get only new trending searches since my last run?

Yes. Set `onlyNew: true` and a `monitorName`, then schedule the task. Trending searches you've already received are skipped, and a run with nothing new costs nothing.

#### Is it reliable?

Yes, and we test it under load. Google answers busy clients with "too many requests"; this Actor gives every IP its own cookie, paces requests, sends a refused request again at once on another IP (residential when datacenter IPs are busy), and gives keywords that still fail a second round at the end. On 22 November 2026:

- **Three big jobs at the same time on one account** (500 keywords; 285 keywords in the US and the UK; 57 five-term comparisons over 5 years with state and metro maps): **1,127 of 1,127 results** in 89–219 s, while Google answered "too many requests" 1,054 times.
- **Every option of the input form**, 50+ runs with odd input too (emoji, Chinese, Arabic and Cyrillic terms, `AT&T`, `c++`, 100+ character terms, unknown countries, broken links): every valid run succeeded; bad entries got a clear note or a free error row instead of a crash.
- **The default input**: 3.2–4.5 s on all 6 runs (start-up included), also while the big jobs were running.

A run that can't get any data fails with the reason instead of ending empty, and a daily automated check runs the default input and alerts us when it returns nothing or a key field goes empty.

#### Google Trends scraper not working?

Open an issue on the Issues tab with your run link: we answer within a day. Each run's `RUN_STATS` record shows what Google answered.

### Feedback and support

Found a bug or missing a field? Open an issue on the **Issues** tab: we answer within a day.

If Google Trends Scraper saved you time, a short review on the **Reviews** tab helps other people find it. We read every one, thank you!

# Changelog

This Actor's version history is a separate document: https://apify.com/laptime/google-trends-scraper/changelog.md

# Actor input Schema

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

Keywords or phrases, one per line: coffee, "cold brew", 咖啡, or a topic id like /m/02vqfm. One row per term (per location), with every data type chosen under "Data to get". Case and extra spaces don't matter; duplicates are skipped.

## `isMultiple` (type: `boolean`):

On: write up to 5 terms comma-separated in one line ("coffee, tea, matcha") to compare them on one 0-100 scale, like "+ Compare" on trends.google.com. One row (and one keyword result) per comparison. Off (default): every line is its own keyword, commas included.

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

Where the searches happened. Pick a country, or type a code: a state or region (US-CA, GB-SCT, DE-BY) or a US metro area (US-NY-501). Empty = worldwide. Several locations in one run: "Several locations" below.

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

Period of the interest data. Google picks the step from the length: minutes up to 4 hours, hours for 1-7 days, days up to 90 days, weeks up to 5 years, months for 2004 to present. Exact dates: Custom time range below.

## `geos` (type: `array`):

Optional: run every keyword (or comparison) in each of these locations, e.g. United States, United Kingdom, Germany. One row and one keyword result per keyword × location. Overrides Location. Codes like US-CA work too.

## `customTimeRange` (type: `string`):

Optional; overrides Time range. Two dates "2024-01-01 2024-12-31" (from 2004-01-01 to today), or two hours "2026-11-01T00 2026-11-07T23" (UTC, at most 7 days apart) for hourly data. Presets like "past 90 days" or "5y" work too.

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

Optional: only searches in one Google category, e.g. "apple" in Food & Drink vs Computers & Electronics. Default: all categories. A sub-category id works through the API or a trends.google.com link (cat=).

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

Which Google search the interest is measured on: Web Search (default), News, Images, YouTube or Google Shopping.

## `startUrls` (type: `array`):

Optional: paste links from trends.google.com. Explore links keep their own terms, location, dates, category and search type (https://trends.google.com/trends/explore?q=coffee,tea\&geo=US\&date=today%205-y). Trending Now links (https://trends.google.com/trending?geo=US\&hours=24) return that list. Other links are skipped with a note.

## `spreadsheetId` (type: `string`):

Optional: a Google Sheet link or id whose first column lists keywords (a "keyword" header row is skipped). Share the sheet as "anyone with the link can view". Added to Search terms.

## `dataTypes` (type: `array`):

Which data to load for each keyword; the price is the same. Default: interest over time, by region, related queries. Related topics: Google serves them to signed-in visitors only, so the list is almost always empty (missingData explains it); Topic suggestions below gives the topics instead.

## `regionLevels` (type: `array`):

Region maps to load for "Interest by region"; each level that fits the location is used. Default: countries (worldwide) and states/regions (inside a country). Metro areas (US) add about 2 s per keyword. Cities: Google lists them without values for signed-out visitors, so they are usually empty.

## `includeLowVolumeRegions` (type: `boolean`):

On: also list regions with too little search volume (value 0, hasData false), like trends.google.com's "Include low search volume regions". Off (default): only regions with data.

## `includeTopicSuggestions` (type: `boolean`):

On: add topicSuggestions, the Google Knowledge Graph topics for each keyword (e.g. Coffee, Beverage, /m/02vqfm). Use a topic id as a search term to track the topic across languages and spellings. Off by default.

## `outputFormat` (type: `string`):

Nested (default): one row per keyword or comparison, data in arrays, the same field names as apify/google-trends-scraper. Flat: one row per timeline point, region, related query or summary (dataType says which), ready for spreadsheets and SQL.

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

Optional: stop after this many keyword results. 0 (default) = all keywords. Trending Now has its own limit below.

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

Countries to get the Trending Now list for (Google has one for about 125 countries; regions like US-CA work too). Each trending search is one row with search volume, growth %, start and end time, related searches and categories, plus news stories for the top ones. Empty = no Trending Now.

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

How far back the Trending Now list reaches. Default: past 24 hours. The US list has about 100 trends for 4 hours, 500 for 24 hours and 3,000+ for 7 days.

## `trendingCategory` (type: `string`):

Optional: only trending searches in this Trending Now category (Google's own list, different from the keyword categories). Left-out trends are free.

## `trendingOnlyActive` (type: `boolean`):

On: only trends Google still marks as active (endedAt null). Off (default): everything in the window.

## `trendingIncludeKeywords` (type: `array`):

Optional: keep only trending searches whose title or related searches contain one of these words (case-insensitive, matched at the start of a word: "vs" finds "Spain vs Italy", not "canvas"), e.g. iphone, apple for a brand alert. Left-out trends are free.

## `trendingExcludeKeywords` (type: `array`):

Optional: leave out trending searches whose title or related searches contain any of these words (matched like the field above), e.g. sports teams. Left-out trends are free.

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

Optional: keep the top N trending searches per country, in Google's order. 0 (default) = all of them.

## `trendingNews` (type: `boolean`):

On (default): add news stories (title, link, source, picture) and a picture to the top trends, from Google's Trending Now feed (about the top 10 per country). Off: skip that request.

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

On: skip trending searches this monitor delivered in earlier runs (remembered per Monitor name), so a scheduled run returns only new trends and costs $0 when nothing is new. Off (default): the whole list. Keyword results are always delivered.

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

Optional: the name of the memory "Only new" uses, e.g. us-daily. Each name keeps its own list. Empty = "default".

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

Language of Google's labels (formattedTime, region and category names), e.g. en-US (default), de, fr, ja. The numbers are the same in every language.

## `timezone` (type: `integer`):

Minutes WEST of UTC, Google's tz parameter (New York = 300, Berlin = -60). Shifts formattedTime and hourly buckets; the ISO date field is always UTC. Default 0 = UTC.

## `maxConcurrency` (type: `integer`):

Optional: how many keywords load at the same time. Empty (default) = automatic, growing with the job size. Lower it only for gentler runs.

## `viewedFrom` (type: `string`):

Optional, kept so apify/google-trends-scraper inputs work as they are: the country of the proxy IPs (e.g. us). It does not change the data (Location does). Empty = automatic.

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

Leave as is: the Actor uses Apify datacenter IPs and adds residential IPs by itself when Google throttles. Choose RESIDENTIAL for residential only, or your own proxy URLs.

## Actor input object example

```json
{
  "searchTerms": [
    "coffee",
    "matcha"
  ],
  "isMultiple": false,
  "geo": "",
  "timeRange": "",
  "customTimeRange": "2024-01-01 2024-12-31",
  "category": "",
  "property": "web",
  "dataTypes": [
    "interestOverTime",
    "interestByRegion",
    "relatedQueries"
  ],
  "regionLevels": [
    "country",
    "subregion"
  ],
  "includeLowVolumeRegions": false,
  "includeTopicSuggestions": false,
  "outputFormat": "nested",
  "maxItems": 0,
  "trendingGeos": [
    "US",
    "GB"
  ],
  "trendingHours": "24",
  "trendingCategory": "",
  "trendingOnlyActive": false,
  "maxTrendingPerGeo": 0,
  "trendingNews": true,
  "onlyNew": false,
  "language": "en-US",
  "timezone": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Every row, in the order scraped.

## `keywords` (type: `string`):

The Keywords view: one row per keyword with trend direction, change % and key numbers.

## `keywordDetails` (type: `string`):

Every data type per keyword or comparison, plus what is missing and why.

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

The Trending Now view (filter on dataType = "trending").

## `runStats` (type: `string`):

RUN_STATS: results, seconds, requests, throttling, proxy tier, missing data and errors.

# 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": [
        "coffee",
        "matcha"
    ],
    "timeRange": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("laptime/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": [
        "coffee",
        "matcha",
    ],
    "timeRange": "",
}

# Run the Actor and wait for it to finish
run = client.actor("laptime/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": [
    "coffee",
    "matcha"
  ],
  "timeRange": ""
}' |
apify call laptime/google-trends-scraper --silent --output-dataset

```

## MCP server setup

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