Google Trends Scraper & API — Related Queries & Regions
Pricing
from $25.00 / 1,000 trends queries
Google Trends Scraper & API — Related Queries & Regions
Google Trends API: interest over time for up to 5 keywords, related queries (top, rising, Breakout), related topics and interest by region. Any country, since 2004, Web/YouTube/News/Shopping. No proxies or 429s to handle, failed lookups free. Pytrends alternative.
Pricing
from $25.00 / 1,000 trends queries
Rating
0.0
(0)
Developer
A J
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 hours ago
Last modified
Categories
Share
Google Trends API for developers, marketers and AI agents: get interest over time, related queries (top + rising / Breakout), related topics and interest by region for any keyword, any country and any time range since 2004 — as clean JSON, every time.
Unlike scrapers that load the Google Trends website from your run and get blocked (HTTP 429, CAPTCHAs, empty runs), this Actor gets its data from commercial Google Trends data providers, so you don't deal with blocks, proxies or 429s. Failed lookups are never charged.
Works great as a pytrends alternative, for Google Trends data in Python / JavaScript / n8n / Make / Zapier, and as a tool for AI agents via the Apify MCP server.
What data you get
| Data | Description |
|---|---|
| 📈 Interest over time | Daily / weekly / monthly values (0–100) for up to 5 keywords compared in one query, plus average, peak, peak date and latest value |
| 🔍 Related queries | Top and rising related searches, including "Breakout" terms — the best source of new keyword ideas |
| 🧩 Related topics | Top and rising related topics (entities like brands, products, people) |
| 🗺️ Interest by region | Interest per state / region of the selected country, or per country worldwide |
Supports Web search, YouTube search, News, Images and Google Shopping trends — so you can also use it as a Google Trends YouTube tool.
How to use the Google Trends API
- Enter your keywords (e.g.
chatgpt,claude,gemini). - Pick a country (or leave empty for worldwide) and a time range.
- Optionally switch on related queries, related topics and interest by region.
- Run it — or call it from code:
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("jesting_grass/google-trends-api").call(run_input={"keywords": ["chatgpt", "claude", "gemini"],"location": "United States","timeRange": "past_12_months","includeRelatedQueries": True,})for row in client.dataset(run.default_dataset_id).iterate_items():print(row["keyword"], row["averageInterest"], row["peakDate"])
More ready-to-run examples (Python, pandas DataFrame, Node.js, cURL, pytrends migration table): github.com/emiohr/google-trends-api
You only need your Apify API token — no Google Trends API key, no proxies, no pytrends breakage.
Input
| Field | Description | Example |
|---|---|---|
keywords | Search terms. Compared in groups of up to 5. | ["black friday", "cyber monday"] |
location | Country name, or empty for worldwide | United States, Sweden |
timeRange | past_hour … past_5_years | past_12_months |
dateFrom / dateTo | Custom range (YYYY-MM-DD), overrides timeRange | 2020-01-01 |
searchType | web, youtube, news, images, froogle (Shopping) | youtube |
categoryCode | Google Trends category id, 0 = all | 0 |
language | Language code | en |
includeRelatedQueries | Add top + rising related searches | true |
includeRelatedTopics | Add top + rising related topics | false |
includeInterestByRegion | Add interest by region | true |
Output example
One row per keyword:
{"keyword": "black friday","group": ["singles day"],"location": "Sweden","searchType": "web","averageInterest": 7,"peakInterest": 100,"peakDate": "2025-11-23","latestInterest": 3,"pointsCount": 53,"timeline": [{ "date": "2025-09-28", "value": 2, "partial": false }],"relatedQueries": {"top": [{ "query": "black friday 2025", "value": "100", "score": 100 }],"rising": [{ "query": "när är black friday 2026", "value": "Breakout", "score": 5000 }]},"relatedTopics": {"top": [{ "query": "Black Friday", "type": "Shopping", "value": "100", "score": 100 }],"rising": []},"interestByRegion": [{ "region": "Stockholm County", "geoCode": "SE-AB", "value": 100 },{ "region": "Västra Götaland County", "geoCode": "SE-O", "value": 90 }],"googleTrendsUrl": "https://trends.google.com/trends/explore?..."}
Export as JSON, CSV, Excel or HTML, or read it through the Apify API.
Pricing
Pay per event — you only pay for data you actually get:
| Event | What it is |
|---|---|
| Trends query | One interest-over-time comparison of up to 5 keywords. Comparing 5 costs the same as 1 — batch your keywords. |
| Related queries | Top + rising related searches for one keyword (optional add-on) |
| Related topics | Top + rising related topics for one keyword (optional add-on) |
| Interest by region | Regional breakdown for one keyword (optional add-on) |
Exact prices are shown in the Pricing tab. Failed lookups are free, and the Actor stops cleanly at your maximum-charge limit.
More SEO tools from the same developer
- Backlink Checker — every backlink, referring domains and competitor link gap
- Bulk Domain Authority & Backlink Checker — domain rank, referring domains and backlinks
- Keyword Research Tool — search volume, difficulty, intent, AI Overviews and keyword ideas
- Tech Stack Detector — CMS, ecommerce, analytics and payments behind any website
FAQ
Is there an official Google Trends API? Google announced one in 2025, but only as a limited alpha for selected testers. This Actor gives you Google Trends data through a simple API today, with no application or API key from Google.
Is this a pytrends alternative?
Yes. pytrends was archived in April 2025 (no more fixes) and frequently breaks with 429 Too Many Requests because it requests the Google Trends website directly from your IP. This Actor returns the same kind of data, from Python, JavaScript or any HTTP client.
Why are values between 0 and 100? Google Trends values are relative: 100 is the peak popularity within the compared keywords, location and time range. Keywords in different groups are not directly comparable — add a shared "anchor" keyword to each group if you need one scale.
Can I get YouTube, News or Shopping trends?
Yes — set searchType to youtube, news, images or froogle.
Can AI agents use it? Yes. Every Apify Actor is available as a tool through the Apify MCP server, and the output is compact, predictable JSON.
Use cases
- Keyword research & SEO — find rising and Breakout queries before competitors
- Content planning — seasonality and timing for posts, videos and campaigns
- Brand vs competitor tracking — compare up to 5 brands in one query
- E-commerce & product research — Google Shopping and YouTube trends
- Market research & investing — regional demand and interest over time
- AI agents & automation — trend data in n8n, Make, Zapier and LLM pipelines