Google Trends Scraper - Timeline, Regions, Queries
Pricing
from $1.50 / 1,000 data blocks
Google Trends Scraper - Timeline, Regions, Queries
Scrape Google Trends: interest over time, interest by region, related queries and topics (top & rising) for up to 5 compared terms and big keyword batches, plus Trending now. Any country, time range, category, web/YouTube/News/Images/Shopping. Automatic retries and session rotation.
Pricing
from $1.50 / 1,000 data blocks
Rating
0.0
(0)
Developer
Sharkinho Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Google Trends Scraper: interest over time, by region, related queries and Trending now
Scrape Google Trends data reliably and export it to JSON, CSV, Excel or Google Sheets. Compare up to 5 keywords on the same 0-100 scale, run batches of thousands of keywords, and get:
- Interest over time: the timeline Google shows on the chart (minute, hour, day, week or month points)
- Interest by region: countries, states/provinces, metro areas (DMA) or cities
- Related queries: Top and Rising (including "Breakout" queries)
- Related topics: Top and Rising (when Google provides them)
- Trending now: today's trending searches for any country, with search volume, growth, category, related searches and news articles
Works for any country or region, any time range (past hour to 2004-present, or custom dates), any category, and Web, Image, News, YouTube and Google Shopping search.
Why this Google Trends scraper?
- Reliable: reads the same JSON endpoints the Google Trends website uses (no browser). It handles Google's
)]}'response prefix and the NID cookie, and retries HTTP 429 rate limits with exponential backoff and a fresh session (new cookies, new fingerprint and, with a proxy, a new IP). One bad keyword never fails the whole run. - Clear, fair pricing: you pay per data block, which is one keyword × one output. If you only need timelines, you only pay for timelines. Blocks where Google has no data are free.
- No proxy needed in most cases: it runs on a direct connection by default and switches to Apify datacenter proxy automatically if Google starts throttling, so you never pay for residential proxy.
- Two output layouts: flat rows (one row per date, region or query, ready for Excel and Sheets) or one item per block with arrays (ready for APIs).
Who uses it
- SEO and content teams: find rising queries, check seasonality, and pick between keyword variants.
- Marketers: time campaigns to seasonal peaks and see which regions care most.
- E-commerce and product research: validate product demand (Google Shopping or YouTube search), spot breakout products, and compare brands.
- Analysts and researchers: build long-term time series (2004-present) for many terms in one run.
- Newsrooms and social teams: monitor Trending now in any country.
Input
| Field | What it does |
|---|---|
searchTerms | One line per query. Separate up to 5 terms with commas to compare them (coffee, tea, matcha). Add any number of lines for a batch. Topic IDs like /m/02vqfm also work. |
geo | US, GB, BR, US-CA, BR-SP... Leave empty for worldwide. |
timeRange | past-hour, past-4-hours, past-day, past-7-days, past-30-days, past-90-days, past-12-months, past-5-years, all (2004-present) or custom (with startDate / endDate). |
category | Google Trends category ID (0 = all). Use the cat= number from a Google Trends URL. |
searchProperty | web, images, news, youtube, shopping |
outputs | Any of interestOverTime, interestByRegion, relatedQueries, relatedTopics |
includeTrendingNow | Also save Trending now for trendingGeo (window trendingHours: 4, 24, 48 or 168 hours, optional category filter). |
outputLayout | rows (flat) or blocks (one item per keyword and output) |
proxyConfiguration | Optional. Not needed for normal use. |
Example input:
{"searchTerms": ["coffee, tea", "air fryer", "standing desk"],"geo": "US","timeRange": "past-12-months","searchProperty": "web","outputs": ["interestOverTime", "interestByRegion", "relatedQueries"],"includeTrendingNow": true,"trendingGeo": "US","maxTrendingItems": 20}
Output
Every item has a type (interestOverTime, interestByRegion, relatedQuery, relatedTopic or trendingSearch), the source Google Trends url and scrapedAt. Filter by type, or use the dataset views (Interest over time, Interest by region, Related queries, Trending now).
Interest over time (flat rows layout):
{"type": "interestOverTime","searchTerm": "coffee","comparedTerms": "coffee, tea","geo": "US","timeRange": "past-90-days","timeRangeValue": "today 3-m","category": 0,"searchProperty": "web","url": "https://trends.google.com/trends/explore?q=coffee%2Ctea&geo=US&date=today+3-m&hl=en","averageValue": 73,"date": "2026-08-21T00:00:00.000Z","timestamp": 1787270400,"formattedTime": "Aug 21, 2026","value": 67,"hasData": true,"isPartial": false,"scrapedAt": "2026-11-21T23:56:13.825Z"}
Interest by region:
{ "type": "interestByRegion", "searchTerm": "coffee", "geo": "US", "resolution": "REGION","regionCode": "US-HI", "regionName": "Hawaii", "value": 100, "hasData": true, "url": "...", "scrapedAt": "..." }
Related query (rankType is top or rising, and rising values show growth such as +250% or Breakout):
{ "type": "relatedQuery", "searchTerm": "coffee", "rankType": "top", "rank": 1, "query": "coffee near me","value": 100, "formattedValue": "100", "isBreakout": false,"link": "https://trends.google.com/trends/explore?q=coffee+near+me&date=today+3-m&geo=US", "url": "...", "scrapedAt": "..." }
Trending now:
{ "type": "trendingSearch", "title": "ohio state vs nebraska", "geo": "US", "startedAt": "2026-11-21T10:40:00.000Z","endedAt": null, "isActive": true, "searchVolume": 1000000, "searchVolumeFormatted": "1M+", "increasePercent": 1000,"categories": ["Sports"], "relatedQueries": ["ohio state football", "osu vs nebraska"], "newsArticleCount": 46,"newsArticles": [{ "title": "...", "url": "...", "source": "..." }], "trendingWindowHours": 24, "url": "...", "scrapedAt": "..." }
With "outputLayout": "blocks" you get one item per keyword and output, with the rows in a data array.
The run's key-value store has an OUTPUT record summarising blocks charged, empty blocks (free), failed blocks and request statistics.
Pricing
Pay per event, with no subscription:
| Event | Price |
|---|---|
| Data block: one keyword × one output (for example the 12-month timeline of "coffee", or its interest by region, or its related queries top + rising) | $0.0015 |
| Trending search: one row from Trending now | $0.0005 |
Examples:
- Timeline for 1,000 keywords: 1,000 blocks = $1.50
- Timeline + regions + related queries for 100 keywords: 300 blocks = $0.45
- A comparison of 5 terms with timeline only: 5 blocks = $0.0075
- 50 trending searches: $0.025
Blocks where Google returns no data (search volume too low) are not charged. The scraper respects your Max cost per run and stops cleanly when it is reached.
FAQ
Why are the values 0-100 and not search volumes? Google Trends only publishes relative interest: 100 is the peak for the chosen terms, place and time. Compare terms on one line (a, b, c) to put them on the same scale. Trending now does include Google's approximate volume (1M+, 20K+).
Do I need a proxy? Usually not. In our tests direct connections from Apify worked without throttling. If Google throttles, the scraper rotates sessions and switches to Apify datacenter proxy automatically. You can also set a proxy yourself.
Why are related topics sometimes empty? Google currently returns an empty related-topics list for many automated requests, even for popular terms. Empty blocks are free. Related queries are not affected.
How many keywords per run? Up to 5,000 lines. Throughput is about 20-30 keywords per minute with all three main outputs.
Can I schedule it? Yes. Use Apify schedules, for example daily Trending now or weekly keyword timelines, and send the results to Google Sheets, Slack or a webhook with integrations.
Is it legal? It collects aggregated, anonymous public statistics from Google Trends and no personal data. Check that your use complies with Google's terms and your local laws.
Limits
- Google allows at most 5 terms per comparison.
- Values are sampled by Google and can differ slightly between runs, which is normal Google Trends behaviour.
- The most recent point is often incomplete (
isPartial: true). Turn offincludePartialDatato drop it. - Trending now is available per country, not for sub-regions.
- Metro (DMA) resolution exists for the US only. City resolution returns coordinates instead of codes.