Google Trends Scraper avatar

Google Trends Scraper

Pricing

from $2.50 / 1,000 keyword trends

Go to Apify Store
Google Trends Scraper

Google Trends Scraper

Google Trends by keyword: interest over time, peak, rising or falling, top regions, and rising and top related searches.

Pricing

from $2.50 / 1,000 keyword trends

Rating

0.0

(0)

Developer

datacortex

datacortex

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Google Trends by keyword: interest over time, peak, rising or falling, top regions, and rising and top related searches.

For SEO teams, marketers, product researchers, and analysts who need demand data they can sort and chart. Every run tells you plainly what worked and what did not: no silent empty runs.

What you can do with it

  • Trend spotting: sort by trendDirection and changePercent to see which keywords are growing.
  • Keyword research: risingQueries shows breakout searches before they are crowded; topQueries shows the steady ones.
  • Seasonality: chart timeline over 5 years to plan launches, stock, and ad spend.
  • Market sizing by place: topRegions shows where interest is highest, by country or by state.

What you get

FieldWhat it isExample
keywordThe keyword you submitted.electric car
typetrend or error.trend
geoCountry code, or Worldwide.US
timeRangeThe time range used.past_12_months
dateFromFirst date of the series (YYYY-MM-DD).2025-10-19
dateToLast date of the series (YYYY-MM-DD).2026-10-18
searchTypeweb, youtube, news, images, or shopping.web
averageInterestAverage interest over the period (0–100).37.6
peakInterestHighest interest value (100 unless the period is very flat).100
peakDateStart date of the period with the peak.2026-04-12
latestInterestMost recent value. The last period may still be in progress.18
trendDirectionrising, falling, or flat: the last quarter of the series vs the first quarter (±15%).rising
changePercentPercent change from the first quarter of the series to the last quarter.19.6
timelineInterest over time: date (YYYY-MM-DD start of the period), Google's label, and value 0–100.[{"date": "2025-10-19", "label": "Oct 19 – 25, 202…, …]
topRegionsRegions with interest, highest first (code, name, value 0–100).[{"code": "US-WY", "name": "Wyoming", "value": 100}, …]
risingQueriesRelated searches that grew the most: growth as shown ("Breakout" or "+850%") and growthPercent.[{"query": "smart car", "growth": "+600%", "growth…, …]
topQueriesMost popular related searches with a 0–100 score.[{"query": "best electric car", "score": 100}, …]
relatedTopicsRelated topics when Google shows them. Often empty.
trendsUrlOpens the same view on trends.google.com.https://trends.google.com/trends/explore?q=electric+car&geo=US

Examples come from a real run. Every row has every field; a value the page did not show is null, never guessed.

One row per keyword with the full timeline, regions, and related searches inside.

How to use it

  1. Click Try for free (or Start) on this page.
  2. Enter one keyword per line in the first field. The form is prefilled with a working example.
  3. Optional: set Max results and the other options.
  4. Click Start. Open the Output tab, or export JSON, CSV, Excel, or HTML.

Example input

{
"keywords": [
"electric car"
],
"geo": "US"
}

Example output

One real row from a run on 23 October 2026 (long values shortened here):

{
"keyword": "electric car",
"type": "trend",
"geo": "US",
"timeRange": "past_12_months",
"dateFrom": "2025-10-19",
"dateTo": "2026-10-18",
"searchType": "web",
"averageInterest": 37.6,
"peakInterest": 100,
"peakDate": "2026-04-12",
"latestInterest": 18,
"trendDirection": "rising",
"changePercent": 19.6,
"timeline": [
{
"date": "2025-10-19",
"label": "Oct 19 – 25, 2025",
"value": 16
},
{
"date": "2025-10-26",
"label": "Oct 26 – Nov 1, 2025",
"value": 16
},
{
"date": "2025-11-02",
"label": "Nov 2 – 8, 2025",
"value": 19
},
"…"
],
"topRegions": [
{
"code": "US-WY",
"name": "Wyoming",
"value": 100
},
{
"code": "US-OR",
"name": "Oregon",
"value": 23
},
{
"code": "US-VT",
"name": "Vermont",
"value": 22
},
"…"
],
"risingQueries": [
{
"query": "smart car",
"growth": "+600%",
"growthPercent": 600
},
{
"query": "electric car rental near me",
"growth": "+400%",
"growthPercent": 400
},
{
"query": "xiaomi backed electric sports car",
"growth": "+300%",
"growthPercent": 300
},
"…"
],
"topQueries": [
{
"query": "best electric car",
"score": 100
},
{
"query": "electric cars",
"score": 73
},
{
"query": "new electric car",
"score": 73
},
"…"
],
"relatedTopics": [],
"trendsUrl": "https://trends.google.com/trends/explore?q=electric+car&geo=US"
}

Pricing

Pay per result: $2.50 per 1,000 rows, plus $0.001 per run start. No subscription.

EventWhenPrice
Actor startOnce per run (per GB of memory; the default 256 MB counts as one)$0.001
Result rowEach row saved to the dataset$0.0025
ExampleRowsCost
10 keywords10$0.001 + $0.025 = $0.026
100 keywords100$0.001 + $0.25 = $0.251
1,000 keywords1,000$0.001 + $2.50 = $2.501
  • Retries after a bot check or a temporary error cost you nothing. You pay only for rows saved.
  • An input that fails after all retries saves one error row (one row charge), so you can see what failed and why.
  • Set Max total charge per run in the run options. The Actor stops cleanly at that limit and keeps every row saved so far.

What you can count on

  • Same columns on every row. Missing values are null, so spreadsheets and databases never break.
  • No silent failures. An input that fails gets an error row with errorCode and a plain-language errorMessage. The other inputs keep running.
  • A clear run summary. The run status says how many results were saved, how many inputs failed, and why. The same numbers are saved as the RUN_SUMMARY record in the run's key-value store, for automations.
  • Automatic retries. Bot checks and temporary errors are retried with a fresh request before an input counts as failed.
  • Limits respected. Max results and your spending limit stop the run cleanly.

Use it from code, automations, and AI agents

API (returns the rows when the run finishes):

curl -X POST "https://api.apify.com/v2/acts/datacortex~google-trends-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["electric car"], "geo": "US"}'

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("datacortex/google-trends-scraper").call(run_input={"keywords": ["electric car"], "geo": "US"})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('datacortex/google-trends-scraper').call({"keywords": ["electric car"], "geo": "US"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

No-code: connect the Actor in Make, Zapier, n8n, or Google Sheets through Apify's integrations, or add a webhook to get notified when a run finishes.

AI agents (MCP): add https://mcp.apify.com?tools=datacortex/google-trends-scraper to Claude, Cursor, or any MCP client. The agent can call this Actor as a tool with the same input as above.

Limitations

  • Values are 0–100, relative to the keyword's own peak in the chosen place and time. They are not search counts.
  • Each keyword is measured on its own, so values of two keywords are not on the same scale.
  • Keywords with very little search volume get an error row with no_trend_data.
  • trendDirection compares the last quarter of the series with the first quarter. The latest period can still be in progress.
  • Related topics are often empty; related searches are almost always filled.

FAQ

Which countries work? Any two-letter country code, such as US, GB, IN, DE, or BR. Leave Country empty for worldwide.

Can I measure YouTube or Google Shopping searches? Yes. Set Search type to YouTube, News, Images, or Google Shopping.

How do I open the same chart on Google? Each row has trendsUrl, which opens the same keyword, place, and dates on trends.google.com.

What does an error row mean? It marks an input that failed after retries. errorCode is short (blocked, empty_result, not_available, http_404, or invalid_... for a bad ID or URL) and errorMessage says what to do. Remove error rows with a filter on type.

Can I run it on a schedule? Yes. Create a task with your input in Apify Console, then add a schedule (for example every day at 8:00).

Is it legal to collect this data? The Actor reads public pages that anyone can open without logging in. You are responsible for how you use the data, including copyright, personal data rules such as GDPR, and the site's terms. If you are not sure, ask a lawyer.

Support

Found a problem or need a field? Open an issue on the Issues tab. Include the run ID and one input that shows the problem. We read every issue.