Google Trends Scraper avatar

Google Trends Scraper

Pricing

from $1.40 / 1,000 keyword results

Go to Apify Store
Google Trends Scraper

Google Trends Scraper

Google Trends data for any keyword as JSON: interest over time, interest by region, related queries and topics. Time range, country, category and search type filters, compare up to 5 keywords. Reliable on datacenter and residential proxies.

Pricing

from $1.40 / 1,000 keyword results

Rating

0.0

(0)

Developer

Tarik Cerkezovic

Tarik Cerkezovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

Google Trends as structured data, one item per keyword: the interest-over-time series (0 to 100), interest by country, region or city, and the top and rising related queries and topics. The same filters as the Trends explore page: time range (last hour to all time, or custom dates), country or region, category and search type (web, image, news, YouTube, shopping). Compare up to five keywords against each other, or look each one up on its own scale.

Built to be reliable where other Trends scrapers fail: Google rate-limits datacenter IPs hard, so this actor rotates proxy sessions on every rate limit and falls back to residential proxies only when it has to.

What you get

FieldDescription
keyword, comparedWith, geo, timeRange, category, searchTypeThe query as run
interestOverTimePoints with date (ISO), formattedTime, value (0 to 100) and isPartial
averageValue, maxValue, latestValue, peakDateSummary of the series
interestByRegiongeoCode, geoName, value for each region with data
relatedQueriestop and rising lists with query, value, formattedValue, isBreakout
relatedTopicsSame shape with topic (mid, title, type) instead of query, when enabled
error, errorMessageOnly on failures

Sample output

{
"keyword": "python",
"geo": "US",
"timeRange": "today 12-m",
"category": 0,
"searchType": "web",
"interestOverTime": [
{ "date": "2025-11-02T00:00:00.000Z", "formattedTime": "Nov 2 – 8, 2025", "value": 64, "isPartial": false },
{ "date": "2026-11-01T00:00:00.000Z", "formattedTime": "Nov 1 – 7, 2026", "value": 27, "isPartial": true }
],
"averageValue": 58.3,
"maxValue": 100,
"latestValue": 27,
"peakDate": "2026-03-01T00:00:00.000Z",
"interestByRegion": [{ "geoCode": "US-WY", "geoName": "Wyoming", "value": 100 }],
"relatedQueries": {
"top": [{ "query": "what is python", "value": 100, "formattedValue": "100", "isBreakout": false }],
"rising": [{ "query": "python 3.14", "value": 5000, "formattedValue": "Breakout", "isBreakout": true }]
},
"fetchedAt": "2026-11-05T16:40:00.000Z"
}

Input

FieldTypeDefaultWhat it does
keywordsarray of stringsrequiredTerms to look up.
compareKeywordsbooleanfalseLook keywords up together in groups of 5 so values are relative to each other.
timeRangestringtoday 12-mnow 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all, or YYYY-MM-DD YYYY-MM-DD.
geostring"" (worldwide)US, US-CA, GB, DE...
categoryinteger0Trends category ID.
searchType"", images, news, youtube, froogle"" (web)Which Google property.
includeInterestOverTime, includeInterestByRegion, includeRelatedQueries, includeRelatedTopicsbooleanson, on, on, offWhich widgets to fetch. Fewer widgets means fewer requests.
regionResolutionAUTO, COUNTRY, REGION, CITY, DMAAUTOGranularity of interest by region.
languagestringen-USLocale for labels.
maxConcurrencyinteger2Keyword groups in parallel. Keep it low; Google rate-limits per IP.
proxyConfigurationobjectApify datacenter proxyProxy for all requests.
residentialFallbackbooleantrueRetry a rate-limited group through residential proxies.

Minimal input:

{ "keywords": ["ai agents", "chatgpt"], "geo": "US", "timeRange": "today 3-m" }

Errors

errorMeaningCharged?
NO_DATAGoogle has no data for the keyword in that range and geo (too few searches)no
BLOCKEDGoogle rate-limited every proxy session triedno
FETCH_FAILEDNetwork or parsing failureno

Pricing

Pay per event: a small fixed amount per keyword item that returns data, plus Apify platform usage. Error items are free. One keyword with all three default widgets is four small requests.

Notes

  • Values are Google's relative index: 100 is the peak interest in the chosen range and geo. Comparing keywords puts them on one shared scale; looking them up separately gives each its own.
  • isPartial marks the current, still-incomplete period.
  • Interest by region only lists places with data; Google omits low-volume ones.
  • Google Trends has no official API. The actor reads the same endpoints the Trends web page uses, which Google changes occasionally; the actor is tested daily.

Using it from code

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('serentity/google-trends-scraper').call({ keywords: ['ai agents'], geo: 'US', timeRange: 'today 3-m' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].interestOverTime.map((p) => [p.date, p.value]));

Google Trends data is public and aggregated; it contains no personal data. Use it in line with Google's terms of service.