Google Trends Scraper
Pricing
from $1.50 / 1,000 results
Google Trends Scraper
Reliable Google Trends API: interest over time, interest by region, related queries and topics for up to 5 compared terms, plus Trending now searches by country. Retries blocked requests, monitor mode.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Roman
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 hours ago
Last modified
Categories
Share
Get Google Trends data for any search term: interest over time, interest by region, related queries and related topics, plus the searches trending now in any country. Compare up to 5 terms at once, or paste any Google Trends Explore URL.
No login, no browser. It uses the same API the Google Trends website uses, through residential proxies, and retries every blocked request with a new IP, so you get data instead of "429 Too Many Requests". One search term with a full year of weekly data is one result, not 52. Pair it with the Google Ads Transparency Scraper to see which advertisers already run ads on a rising keyword.
What you get:
- 📈 Interest over time: the full timeline (hourly, daily, weekly or monthly, as on the website) plus ready-made stats: average, peak and peak date, latest value and change in percent.
- 🗺️ Interest by region: countries, states or regions, or metro areas, with a value for each compared term.
- 🔍 Related queries: top and rising searches, with "Breakout" flags and links.
- 🧩 Related topics: top and rising topics with their type and Knowledge Graph ID (when Google provides them, see FAQ).
- 🔥 Trending now: today's trending searches by country, the same list as on trends.google.com/trending: search volume, increase, start and end time, categories, related searches, plus news headlines and pictures for the newest trends.
- ⚖️ Comparisons: up to 5 terms on one line, exactly like the "Compare" button on the website.
- 🔔 Monitoring: give a run a name and schedule it. Later runs save only what changed: new trending searches, new weeks of data, new related queries. You pay only for those.
Use cases
- SEO and content planning: find rising queries before they peak and see which regions search for a topic most.
- E-commerce and product research: check whether a product is growing or fading, and when its season starts.
- Market and brand research: compare your brand with competitors over 5 years, by country.
- News and social media: get the trending searches of 10 countries every hour, with headlines.
- Data science and dashboards: feed clean JSON into BigQuery, Sheets, Looker or your own model.
- AI agents: give an agent a reliable Google Trends tool through the Apify API or MCP.
Input
| Field | Description |
|---|---|
searchTerms | One per line: a term (ozempic), up to 5 compared terms separated by commas (chatgpt, gemini, claude), or a Google Trends Explore URL |
modes | interestOverTime, interestByRegion, relatedQueries, relatedTopics (pick any) |
geo | Country (US), region (US-CA) or metro (US-NY-501). Empty = worldwide |
timeRange | Past hour, 4 hours, day, 7 days, 30 days, 90 days, 12 months, 5 years, or since 2004 |
customTimeRange | Any period: 2024-01-01 2024-12-31, or hours 2026-10-01T00 2026-10-07T23 |
category | Google Trends category ID (71 Food & Drink, 7 Finance…). 0 = all |
searchType | Web, Image, News, YouTube or Google Shopping search |
includeLowVolumeRegions | Also return regions with too little data |
trendingCountries | Country codes for Trending now (US, GB, DE…) |
trendingHours | Trends that started in the past 4, 24, 48 hours or 7 days |
trendingCategories | Only trends in these categories (Sports, Entertainment, Technology…) |
trendingActiveOnly | Skip trends that have already ended |
maxTrendsPerCountry | Limit per country (the US often has 500+ trends a day) |
includeNews | Add news headlines and pictures to the newest trends (free) |
monitorName | Name a run to get only changes on each run (see Monitoring) |
{"searchTerms": ["ozempic", "chatgpt, gemini, claude", "https://trends.google.com/trends/explore?date=today%205-y&geo=GB&q=electric%20car"],"modes": ["interestOverTime", "interestByRegion", "relatedQueries"],"geo": "US","timeRange": "today 12-m","trendingCountries": ["US", "GB"],"maxTrendsPerCountry": 50}
When you paste an Explore URL, its location, time range, category and search type are used, so you can set up a chart on the website and copy the address bar.
Output examples
Every result has a type. One input line gives one result per data type; related queries and topics give one result per term.
Interest over time (timeline shortened):
{"type": "interestOverTime","query": "ozempic","keywords": ["ozempic"],"geo": null,"timeRange": "today 12-m","categoryName": "All categories","searchType": "web","exploreUrl": "https://trends.google.com/trends/explore?q=ozempic&date=today+12-m","keyword": "ozempic","average": 83.8,"peak": 100,"peakDate": "2026-03-01","latest": 57,"changePercent": -19,"keywordStats": [{"keyword": "ozempic", "average": 83.8, "peak": 100, "peakDate": "2026-03-01", "latest": 57, "changePercent": -19}],"timeline": [{"date": "2025-10-12", "timestamp": 1760227200, "formattedTime": "Oct 12 – 18, 2025", "values": {"ozempic": 90}, "isPartial": false},{"date": "2026-10-11", "timestamp": 1791676800, "formattedTime": "Oct 11 – 17, 2026", "values": {"ozempic": 56}, "isPartial": true}],"dataPoints": 53,"resolution": "WEEK"}
changePercent compares the last quarter of the period with the first quarter (complete points only). For comparisons, keyword is null and keywordStats has one entry per term.
Related queries:
{"type": "relatedQueries","keyword": "ozempic","topQueries": [{"query": "wegovy", "value": 100, "formattedValue": "100", "isBreakout": false, "link": "https://trends.google.com/trends/explore?q=wegovy&date=today+12-m"}],"risingQueries": [{"query": "ozivy", "value": 7800, "formattedValue": "Breakout", "isBreakout": true, "link": "https://trends.google.com/trends/explore?q=ozivy&date=today+12-m"}]}
Interest by region (comparison):
{"type": "interestByRegion","keywords": ["chatgpt", "gemini", "claude"],"valueType": "shareOfSearches","resolution": "COUNTRY","regions": [{"geoCode": "LK", "geoName": "Sri Lanka", "values": {"chatgpt": 55, "gemini": 40, "claude": 5}, "hasData": true}]}
Trending now:
{"type": "trendingNow","geo": "US","rank": 10,"title": "joe milton","searchVolume": 50000,"increasePercentage": 1000,"startedAt": "2026-10-16T15:00:00Z","endedAt": null,"isActive": true,"categories": ["Sports"],"trendBreakdown": ["joe milton", "eagles backup qb", "joe milton eagles"],"exploreUrl": "https://trends.google.com/trends/explore?q=joe+milton&date=now+1-d&geo=US","approxTraffic": "50000+","newsArticles": [{"title": "Joe Milton poached from Cowboys by Eagles, sets stage for MNF", "url": "https://www.dallascowboys.com/news/...", "source": "Dallas Cowboys"}]}
Monitoring changes
-
Fill in the input as usual and set
monitorName, for exampleweekly-brands. -
Save the input as a Task and add an Apify Schedule (hourly for Trending now, weekly for Explore data).
-
The first run returns everything. Each later run with the same
monitorNamesaves only what changed:- Trending now: only trends that earlier runs have not returned.
- Interest over time: only when there are new points; new points have
"isNew": true. - Interest by region: only when values changed; changed regions keep
previousValues. - Related queries and topics: only when new items appeared; they have
"isNew": true.
Unchanged results are skipped and not charged. Each saved result has
newSinceLastRun.
Connect a webhook or the Slack / email integration to the Task to get changes delivered. The state is stored in the google-trends-monitor key-value store in your account. To start over, use a new monitorName or delete its record from that store.
Pricing
Pay per result: $1.50 per 1,000 results. No extra fee per run beyond the Apify default.
A result is a whole report, not a row: one search term with a full timeline is 1 result, one region map is 1 result, one trending search is 1 result. Empty related lists are not saved and not charged.
Set a maximum cost per run in the Apify Console, and the scraper stops cleanly when it is reached.
Tips
- Keep Apify Proxy with the Residential group, which is the default. Google limits requests per IP, and the scraper switches to a new IP after every block. Traffic is tiny, about 6 KB per result.
- Values are relative (0–100), as on the website. To compare terms with each other, put them on one line (
coffee, tea). Values from separate lines are scaled separately. - Google returns weekly points for 12 months, daily for 90 days, hourly for 7 days, monthly for 5 years and longer.
- The Explore website shows "Breakout" for a rising query that grew more than 5,000 %.
valuekeeps the number.
Integrations, API and MCP
REST API. Run the Actor and get the results in one call (replace YOUR_APIFY_TOKEN; it's in Console → Settings → API & Integrations):
curl -X POST "https://api.apify.com/v2/acts/wakeful_outhouse~google-trends-scraper/run-sync-get-dataset-items" \-H "Authorization: Bearer YOUR_APIFY_TOKEN" -H "Content-Type: application/json" \-d '{"searchTerms": ["chatgpt"], "modes": ["interestOverTime"], "geo": "US"}'
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("wakeful_outhouse/google-trends-scraper").call(run_input={"searchTerms": ["chatgpt"], "modes": ["interestOverTime"], "geo": "US"})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
AI agents (MCP). Give Claude, Cursor or any MCP client this Actor as a tool through the Apify MCP server:
- hosted:
https://mcp.apify.com?tools=wakeful_outhouse/google-trends-scraper - local:
npx -y @apify/actors-mcp-server --actors wakeful_outhouse/google-trends-scraper(setAPIFY_TOKEN)
No-code. Use the Apify integrations for Make, Zapier, n8n, Google Sheets, Slack and webhooks: for example, run the Actor on a Schedule and send each new rising query to a Slack channel or append the trend data to a Google Sheet. All formats are available as JSON, CSV, Excel and HTML from the dataset.
More ad-intelligence tools
Same author, same data format, same pay-per-result pricing:
- Google Ads Transparency Scraper — ad copy, YouTube IDs, impressions and regions from the Google Ads Transparency Center.
- Facebook Ads Library Scraper — ad text, media, landing pages and run dates from the Meta Ad Library.
- LinkedIn Ad Library Scraper — B2B ad copy, CTAs, landing pages, media, impressions by country and targeting from the LinkedIn Ad Library.
All tools: https://apify.com/wakeful_outhouse
FAQ
Is it legal? Google Trends is a public website. The scraper collects only aggregated, anonymous data that the website shows without logging in. You are responsible for how you use the data.
Why are related topics sometimes empty? Google hides related topics from many automated clients and shows only related queries. The scraper tries another IP, but if Google still returns an empty list, the result is skipped and not charged. Related queries, timelines and regions are not affected.
Why are the numbers different from yesterday? Google Trends computes values from a sample of searches, so they can move by a few points between days. This is how Google Trends works, also on the website.
Can I get absolute search volume? Explore data is relative (0–100). Trending now has an approximate volume (searchVolume, for example 50,000+).
Something broke? Open an issue on the Issues tab with the run link. Fixes usually ship within a day.