Google Trends Scraper
Pricing
from $1.40 / 1,000 keyword results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
18 days ago
Last modified
Features
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
| Field | Description |
|---|---|
keyword, comparedWith, geo, timeRange, category, searchType | The query as run |
interestOverTime | Points with date (ISO), formattedTime, value (0 to 100) and isPartial |
averageValue, maxValue, latestValue, peakDate | Summary of the series |
interestByRegion | geoCode, geoName, value for each region with data |
relatedQueries | top and rising lists with query, value, formattedValue, isBreakout |
relatedTopics | Same shape with topic (mid, title, type) instead of query, when enabled |
error, errorMessage | Only 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
| Field | Type | Default | What it does |
|---|---|---|---|
keywords | array of strings | required | Terms to look up. |
compareKeywords | boolean | false | Look keywords up together in groups of 5 so values are relative to each other. |
timeRange | string | today 12-m | now 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. |
geo | string | "" (worldwide) | US, US-CA, GB, DE... |
category | integer | 0 | Trends category ID. |
searchType | "", images, news, youtube, froogle | "" (web) | Which Google property. |
includeInterestOverTime, includeInterestByRegion, includeRelatedQueries, includeRelatedTopics | booleans | on, on, on, off | Which widgets to fetch. Fewer widgets means fewer requests. |
regionResolution | AUTO, COUNTRY, REGION, CITY, DMA | AUTO | Granularity of interest by region. |
language | string | en-US | Locale for labels. |
maxConcurrency | integer | 2 | Keyword groups in parallel. Keep it low; Google rate-limits per IP. |
proxyConfiguration | object | Apify datacenter proxy | Proxy for all requests. |
residentialFallback | boolean | true | Retry a rate-limited group through residential proxies. |
Minimal input:
{ "keywords": ["ai agents", "chatgpt"], "geo": "US", "timeRange": "today 3-m" }
Errors
error | Meaning | Charged? |
|---|---|---|
NO_DATA | Google has no data for the keyword in that range and geo (too few searches) | no |
BLOCKED | Google rate-limited every proxy session tried | no |
FETCH_FAILED | Network or parsing failure | no |
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.
isPartialmarks 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]));
Legal
Google Trends data is public and aggregated; it contains no personal data. Use it in line with Google's terms of service.