Google Trends: Interest Over Time, by Region & Related Queries avatar

Google Trends: Interest Over Time, by Region & Related Queries

Pricing

$0.90 / 1,000 keyword results

Go to Apify Store
Google Trends: Interest Over Time, by Region & Related Queries

Google Trends: Interest Over Time, by Region & Related Queries

Google Trends data for a list of keywords in one run: interest over time, interest by region (countries, US states), top and rising related queries, for a country or worldwide. One row per keyword and data type. $0.90 per 1,000 keyword results; failed keywords are free. Compare 2-5 on one scale.

Pricing

$0.90 / 1,000 keyword results

Rating

0.0

(0)

Developer

Data for Agents

Data for Agents

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Get Google Trends data for a list of keywords in one run, as structured JSON. No login and no API key.

You pay per keyword that comes back complete. A keyword that fails costs nothing, and its row tells you why.

Price

$0.90 per 1,000 keyword results. One keyword with all three data types counts once. There is no charge per row, and a keyword that fails or has no data at Google costs nothing.

Limits and tested numbers

  • At most 3,000 keywords per run. Split a longer list into several runs.
  • About 7 to 9 minutes per 1,000 keywords. Two keywords take 15 to 35 seconds.
  • Tested on Apify: 3,000 of 3,000 keywords answered in one run (26 minutes), and 1,000 of 1,000 in another. A request that Google refuses is tried again from a new address, and a keyword that still fails is tried once more at the end of the run.
  • A run that is interrupted or reaches its time limit continues where it stopped when it is resurrected; no keyword is stored or charged twice.

Questions the input form does not answer

  • Maximum cost: set "Maximum cost per run" in the run options (API: maxTotalChargeUsd). The run stops there, charges nothing above it and says how many keywords are left.
  • Duplicates and spaces: keywords are trimmed and looked up once; a duplicate is not charged twice.
  • Partly failed keyword: a keyword is charged only when every data type you asked for came back. If one type fails, the keyword is free and the rows that did come back are still stored.
  • Wrong country, time range or category: the run does not start, or ends at once with one free invalid_input row that names the field. Nothing is charged.
  • Time range values: now 1-H past hour, now 4-H past 4 hours, now 1-d past day, now 7-d past 7 days, today 1-m past 30 days, today 3-m past 90 days, today 12-m past 12 months, today 5-y past 5 years, all 2004 to today.
  • One country per run. For several countries, start one run per country.
  • Speed: 3,000 keywords take 19 to 26 minutes in one run, because several sessions work side by side. The default memory and timeout are enough for that.

Compare keywords on one scale

Set compare to true with 2 to 5 keywords and they are sent to Google together, as on Google Trends' compare view. Then:

  • Interest over time uses one shared 0-100 scale, so the keywords can be compared with each other. Each row's compare.average is that keyword's average on the shared scale.
  • Interest by region keeps each keyword's own 0-100 value per region and adds share: the keyword's percent among the compared keywords in that region.
  • Related queries are returned per keyword, as usual.
  • Every row has compare.keywords, the group it was compared in.
{ "keywords": ["bitcoin", "ethereum"], "compare": true, "country": "US", "timeRange": "today 12-m" }

Price is the same: one charge per keyword returned. With compare off (the default) each keyword is looked up on its own and values of different keywords cannot be compared.

What you get

For every keyword, one row per data type:

  • Interest over time: the 0-100 search interest series, with a date for every point.
  • Interest by region: the 0-100 interest for every country (worldwide) or every state or province (inside one country), strongest first.
  • Related queries: the top and the rising searches that people also make, with Google's growth figure and a link to each query on Google Trends.

Every row carries the exact parameters that were sent to Google, so a result can be repeated or audited later.

Input

  • Keywords: one per line. Each keyword is looked up on its own.
  • Country: a two-letter code such as US, GB, DE or BR. Leave empty for worldwide. A region code such as US-CA also works.
  • Time range: past hour, 4 hours, day, 7 days, 30 days, 90 days, 12 months, 5 years, or 2004 to today.
  • Custom time range: optional, YYYY-MM-DD YYYY-MM-DD. Replaces the time range.
  • Category: optional Google Trends category number, to narrow a keyword with several meanings. 0 is all categories.
  • Data to return: any of the three data types. Fewer types make the run faster.
{
"keywords": ["bitcoin", "electric cars"],
"country": "US",
"timeRange": "today 12-m",
"category": 0,
"dataTypes": ["interest_over_time", "interest_by_region", "related_queries"]
}

Output

One row per keyword per data type. data holds the series.

{
"keyword": "bitcoin",
"data_type": "interest_over_time",
"status": "ok",
"error": null,
"error_code": null,
"compare": null,
"count": 53,
"data": [
{ "date": "2025-11-09T00:00:00+00:00", "value": 40, "is_partial": false },
{ "date": "2025-11-16T00:00:00+00:00", "value": 67, "is_partial": false }
],
"request": { "geo": "US", "time": "today 12-m", "category": 0, "property": "", "hl": "en-US", "tz": 0 },
"fetched_at": "2026-11-11T09:30:00+00:00"
}

data for the other two types:

{ "geo_code": "US-WY", "geo_name": "Wyoming", "value": 100 }
{ "rank": "top", "query": "bitcoin price", "value": 100, "formatted_value": "100",
"link": "https://trends.google.com/trends/explore?q=bitcoin+price&date=today+12-m&geo=US" }

The status field

  • ok: Google returned data.
  • no_data: Google answered, and it has too few searches to show for this keyword, country and time range.
  • error: the data could not be fetched. error says what happened and what to do, and error_code is one of the codes below. A keyword with an error row is never charged.

A failure is never returned as an empty result.

Errors

Every error row is free.

error_codeMeaningDoes a retry help?
invalid_inputThe input, or this keyword, cannot be used (not text, longer than 100 characters, unknown country or time range, or refused by Google as invalid)No. Fix the input
rate_limitedGoogle refused the request (HTTP 429) on every tryYes, later
blockedGoogle refused the request (HTTP 403) on every tryYes, later
timeoutA request, or the keyword as a whole, took too longYes
network_errorThe request did not get through, or Google answered with a server errorYes
proxy_errorThe proxy gave no sessionYes
site_changedGoogle's answer no longer has the shape this Actor readsNo. The Actor needs an update
not_triedSeveral keywords in a row failed, so the run stopped before this oneYes, later
low_memoryThe run was close to its memory limit and stopped before this keywordYes, with more memory
cost_limitYour maximum cost per run was reachedYes, with a higher limit
run_timeoutThe run stopped a minute before its own time limitYes. Resurrect the run or raise the timeout
internal_errorA fault in the ActorYes; please report it

The run's status message and the OUTPUT record give the counts per code. A run always ends as succeeded, so a scheduled job or an agent never has to handle a failed run: the rows say what went wrong. OUTPUT has "status": failed when the input was unusable, no keyword came back or most were refused; stopped when your cost limit or the time limit ended the run before any keyword came back; ok otherwise.

Good to know

  • Values are Google's own 0-100 index. 100 is the peak of that keyword inside the chosen country and time range. Because each keyword is looked up on its own, do not compare the values of two different keywords.
  • In related queries, rank is top (value 0-100) or rising (value is growth in percent). formatted_value shows Breakout for growth above 5,000%.
  • The last point of a series can be marked is_partial: that period is still running.
  • Dates are in UTC. Region names are in English.
  • Related topics are not included.
  • Keywords run in several paced sessions side by side. A request that Google refuses is tried again from a new address.
  • If Google refuses several keywords in a row, the run stops early instead of running for hours. The keywords that were not tried get an error row and cost nothing.
  • Not affiliated with Google.