Google Trends Bulk Scraper avatar

Google Trends Bulk Scraper

Pricing

from $4.00 / 1,000 trends reports

Go to Apify Store
Google Trends Bulk Scraper

Google Trends Bulk Scraper

Bulk Google Trends reports for many keywords: interest over time, interest by region, related queries and topics, 5 keyword comparisons and trending searches. Failed reports are never charged.

Pricing

from $4.00 / 1,000 trends reports

Rating

0.0

(0)

Developer

ParkVille LLC

ParkVille LLC

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Get Google Trends data for hundreds of keywords in one run. Each keyword (or comparison of up to 5 keywords) in each country becomes one dataset row with interest over time, interest by region, related queries and related topics. Rows that fail say why, and failed reports are never charged.

It talks to Google Trends over plain HTTP, without a browser, so runs start fast and use 256 MB of memory.

What you can do with it

  • Track seasonality and demand for a product catalogue, a list of brands or a keyword plan.
  • Compare up to 5 keywords on the same 0 to 100 scale, exactly like the Compare box on trends.google.com.
  • Find where a topic is most popular, by country, region, city or US metro area.
  • Mine rising and top related queries for content and SEO ideas.
  • Pull today's trending searches for several countries.

Features

  • Bulk: many keywords times many countries in one run, one row per report, in input order.
  • All sections in one row: interest over time, interest by region, related queries (top and rising), related topics (top and rising). Switch off what you do not need to save requests.
  • Compare mode: each input line is a comparison of up to 5 comma separated keywords (Google's limit). Values are relative to each other.
  • Trending now mode: current trending searches per country from Google's trending feed, with approximate traffic and news links.
  • Any timeframe: past hour, 4 hours, day, 7 days, 30 days, 90 days, 12 months, 5 years, since 2004, or a custom date range.
  • Filters: category, search type (web, images, news, YouTube, Shopping), language and time zone.
  • Built for reliability: a cookie session per proxy IP, reused while it works; a fresh session and IP after a rate limit or token error; exponential backoff with jitter; a global slow down when Google pushes back; and a time limit per report so one stubborn keyword never stalls the run.
  • Honest results: a keyword without enough search volume is a valid row with status: "empty", empty arrays and a note, not an error, and it is not charged. A failed report has a clear error and errorType.
  • Polite by default: 2 reports at a time and a short pause between requests on the same session.

Input example

Only keywords is required (except in Trending now mode).

{
"keywords": ["coffee", "matcha", "cold brew"],
"geos": ["US", "GB", "DE"],
"timeframe": "today 12-m",
"includeInterestOverTime": true,
"includeInterestByRegion": true,
"includeRelatedQueries": true,
"includeRelatedTopics": false
}

This gives 9 reports (3 keywords in 3 countries).

A comparison of 5 keywords, worldwide, over the past 90 days:

{
"mode": "compare",
"keywords": ["coffee, tea, mate, matcha, kombucha"],
"timeframe": "today 3-m"
}

A custom date range on YouTube search:

{
"keywords": ["bitcoin"],
"geos": ["GB"],
"timeframe": "custom",
"startDate": "2024-01-01",
"endDate": "2024-03-31",
"property": "youtube"
}

Trending searches in two countries:

{
"mode": "trending",
"geos": ["US", "PT"]
}

Geos are ISO 3166-1 country codes (US, DE, GB, ...) or regions (US-CA). Leave geos empty for worldwide. An invalid code becomes a failed row for that geo only; the rest of the run goes on. All options with their defaults are listed on the Input tab.

Output

One dataset row per report. Shortened example from a real run (custom range, GB, YouTube search):

{
"index": 1,
"type": "keyword",
"keywords": ["bitcoin"],
"keyword": "bitcoin",
"geo": "GB",
"geoLabel": "GB",
"timeframe": "2024-01-01 2024-03-31",
"timeRange": "2024-01-01 2024-03-31",
"category": 0,
"property": "youtube",
"language": "en-US",
"timezoneOffset": 0,
"status": "ok",
"interestOverTime": {
"timeline": [
{ "date": "2024-01-01T00:00:00.000Z", "timestamp": 1704067200, "formattedTime": "Jan 1, 2024", "values": [31], "hasData": [true], "isPartial": false },
{ "date": "2024-01-02T00:00:00.000Z", "timestamp": 1704153600, "formattedTime": "Jan 2, 2024", "values": [44], "hasData": [true], "isPartial": false }
],
"averages": []
},
"interestByRegion": null,
"relatedQueries": [
{
"keyword": "bitcoin",
"top": [
{ "query": "bitcoin news", "value": 100, "formattedValue": "100", "link": "https://trends.google.com/trends/explore?q=bitcoin+news&date=2024-01-01+2024-03-31&geo=GB" },
{ "query": "bitcoin price", "value": 88, "formattedValue": "88", "link": "https://trends.google.com/trends/explore?q=bitcoin+price&date=2024-01-01+2024-03-31&geo=GB" }
],
"rising": [
{ "query": "bitcoin halving explained", "value": 23600, "formattedValue": "Breakout", "link": "https://trends.google.com/trends/explore?q=bitcoin+halving+explained&date=2024-01-01+2024-03-31&geo=GB" }
]
}
],
"relatedTopics": null,
"trends": null,
"notes": [],
"error": null,
"errorType": null,
"attempts": 1,
"requestCount": 4,
"durationMs": 5600,
"fetchedAt": "2026-11-10T08:26:11.703Z"
}
  • values arrays follow the order of keywords. A single keyword report has one value per point; a comparison has one per keyword.
  • interestByRegion.regions holds { geoCode, geoName, values, hasData } per region.
  • relatedQueries and relatedTopics are lists with one entry per keyword. Topics have mid, title and type instead of query. A rising formattedValue of "Breakout" means growth above 5000%.
  • A section you switched off is null.
  • status is ok (data delivered), empty (Google has no data for this keyword, geo and timeframe) or failed (see error).
  • errorType is one of invalid_input, rate_limited, bad_request, timeout, token, network, server, parse, not_found, internal.
  • In Trending now mode, trends lists { title, approxTraffic, pubDate, picture, pictureSource, newsItems } for the country.

A SUMMARY record in the key-value store counts ok, empty, failed and skipped reports, requests sent, rate limits hit, sessions used and reports charged.

Use it over the API

Replace <YOUR_API_TOKEN> with your Apify API token and <ACTOR_ID> with this Actor's ID (shown in the API tab, in the form username~actor-name).

Run and get the results in one call (curl)

The synchronous endpoint suits small batches that finish within 5 minutes; use an asynchronous run for long keyword lists.

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"keywords": ["coffee", "matcha"], "geos": ["US"], "timeframe": "today 3-m"}'

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('<ACTOR_ID>').call({
keywords: ['coffee', 'matcha'],
geos: ['US', 'GB'],
includeRelatedTopics: false,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
console.log(item.keyword, item.geoLabel, item.status, item.error ?? item.interestOverTime?.timeline.length);
}

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<ACTOR_ID>").call(run_input={
"mode": "compare",
"keywords": ["coffee, tea, mate"],
"timeframe": "today 5-y",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["keyword"], item["status"], item["error"])

Pricing

Pricing: pay per report. Failed reports are never charged.

A report is one row: one keyword or comparison in one geo, with all the sections you selected. Rows with status: "empty" (Google has no data) are not charged either. The maximum cost per run you set is respected: when it is reached, no new reports are started and the log says how many were skipped.

Limits and honest notes

  • Values are relative, not search volumes. Google Trends gives a 0 to 100 index, where 100 is the peak within that one report. Numbers from different reports are not on the same scale. Use Compare mode when you need keywords side by side.
  • Google may rate limit. Trends has no public API (Google's official one is in closed alpha), and Google throttles automated traffic, data centre IPs most of all. The Actor rotates sessions and residential IPs and backs off, but on a bad day some reports can still fail with rate_limited. They are not charged; run them again later.
  • Related topics are often empty. Google frequently returns no related topics even for popular keywords, and never for comparisons of several keywords. The row says so in notes.
  • Low volume keywords come back as empty rows. Try a wider geo or a longer timeframe.
  • Trending now comes from Google's public trending feed: about 10 current searches per country, with approximate traffic. It needs a country code; there is no worldwide feed.
  • Hourly timeframes (past hour, 4 hours, day, 7 days) are only available for recent data, as on trends.google.com.
  • Google changes Trends from time to time. The Actor checks the shape of every response and fails a report with a clear message rather than returning wrong data.
  • No login and no CAPTCHA solving: only the public Trends data that anyone can see on trends.google.com.

FAQ

Why do my numbers differ from what I see on trends.google.com? Google samples its data, so the same query can shift by a few points between requests. Also check that geo, timeframe, category and search type match.

Why is a keyword "empty"? Google has too little search volume for it in that geo and timeframe. It is a real answer, so the row is kept, with a note, and it is not charged.

Can I compare more than 5 keywords? Not in one report; that is Google's limit. Put one keyword in every comparison line (for example a benchmark term) to relate several comparisons to each other.

What does "Breakout" mean in rising queries? The query grew by more than 5000% compared with the previous period.

Can I run it without a proxy? Yes, set the proxy to none. It works for small runs, but Google rate limits data centre IPs quickly, so residential proxies are the default.