Google Trends API: Interest, Regions, Queries avatar

Google Trends API: Interest, Regions, Queries

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Google Trends API: Interest, Regions, Queries

Google Trends API: Interest, Regions, Queries

Get Google Trends data for any keyword, country and time range: interest over time, interest by region (countries, states, cities or metros) and top and rising related queries. Compare up to 5 terms and pick web, YouTube, news, images or shopping search. Retries and changes proxy when Google blocks.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Plainsource

Plainsource

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Share

This Google Trends API gets Google Trends data for any keyword, country and time range: interest over time, interest by region and related searches, in clean JSON you can export to CSV, Excel or Google Sheets.

  • Built to finish. Google throttles Trends hard. This Actor rotates sessions, backs off and switches proxies on its own, so a run returns data instead of a pile of 429 errors.
  • Everything in one result. Each search term (or comparison group) comes back as one item with its timeline, regional breakdown, top and rising queries and average interest.
  • Compare up to 5 terms on one scale, exactly like the compare box on trends.google.com.
FieldWhat it holds
interestOverTimeTimeline points with date, label, value 0 to 100 per term, and whether the last point is still partial
averagesAverage interest per term across the period
interestByRegionCountries, regions, cities or US metro areas with a value per term
relatedQueriesTop and rising searches per term, including "Breakout" ones
relatedTopicsTop and rising topics per term, when Google provides them
errors, notesAny section Google refused or left empty, explained in plain words
  1. Add one or more search terms. You can also use Google Trends topic IDs such as /m/0k8z.
  2. Pick a location (US, CA, GB, US-CA, CA-ON) or leave it empty for worldwide.
  3. Choose a time range, or type a custom one like 2025-01-01 2025-06-30.
  4. Optional: switch on Compare terms to put them on one chart, and choose the search type (web, YouTube, news, images or shopping).
  5. Run it, then download the dataset or call it from the API, Make, Zapier, n8n or an AI agent through the Apify MCP server.

Example input

{
"searchTerms": ["minecraft", "roblox"],
"compareTerms": true,
"geo": "CA",
"timeRange": "today 3-m"
}

Example output (shortened)

{
"searchTerms": ["minecraft", "roblox"],
"geo": "CA",
"timeRange": "today 3-m",
"averages": { "minecraft": 71, "roblox": 57 },
"interestOverTime": [
{ "date": "2026-07-28T00:00:00.000Z", "formattedTime": "Jul 28, 2026", "values": { "minecraft": 71, "roblox": 59 }, "isPartial": false }
],
"interestByRegion": [
{ "geoCode": "CA-AB", "geoName": "Alberta", "values": { "minecraft": 55, "roblox": 45 } }
],
"relatedQueries": {
"minecraft": {
"top": [{ "query": "minecraft bedrock", "value": 100, "formattedValue": "100" }],
"rising": [{ "query": "sift minecraft", "value": 63350, "formattedValue": "Breakout" }]
}
},
"errors": []
}

You pay per result: one result is one search term, or one comparison group of up to 5 terms. A result costs $0.003, plus $0.0005 once per run. Checking 100 keywords one by one costs about $0.30, and 1,000 keywords about $3.00. Apify's free plan includes $5 of monthly credit, which covers about 1,600 results. Failed terms are not charged; they are listed in the FAILED_TERMS record of the run's key-value store instead.

  • SEO and content planning: find rising queries before they peak and see which regions care most.
  • Market research: compare brands, products or competitors over 5 years.
  • Seasonality: spot when demand for a product starts climbing each year.
  • Dashboards and AI agents: feed fresh trend data into Sheets, BI tools or an agent workflow on a schedule.

FAQ

Why are the values 0 to 100 and not search counts? Google Trends only publishes relative interest. 100 is the peak for the chosen terms, place and period. Compared terms share one scale, so their values can be compared directly.

Why are related topics often empty? Since 2026 Google's data feed returns related topics empty for most searches, and never returns them for compared terms. The option is off by default; when it is on and Google sends nothing, the result says so in notes.

What happens when Google blocks a request? The Actor waits, opens a new session with a new proxy IP and tries again, up to 7 times per request, switching to residential proxies after repeated blocks when your plan has them.

Can I find category IDs? They are the numbers in the cat= parameter of a trends.google.com URL after you pick a category there.

Other Actors by this developer