Google Trends Scraper - Interest & Related Queries, $0.58/1K
Pricing
from $0.58 / 1,000 trend queries
Google Trends Scraper - Interest & Related Queries, $0.58/1K
Scrape Google Trends: interest over time and related queries for up to 5 compared keywords, by country, time range and category. Google Trends API alternative for keyword and trend research.
Pull interest over time, related queries, and related topics from Google Trends for a search term, or compare up to 5 terms side by side. No API key and no headless browser: the actor calls the same JSON endpoints the Google Trends website uses.
Instant HTTP API: besides regular runs, this Actor answers single requests in seconds, without starting a run. See Server interface.
Features
- Multi-term comparison — compare up to 5 keywords in a single run, with per-term interest scores
- Regional filtering — narrow results to a country, or leave blank for worldwide data
- Time ranges — from the past hour to the past 5 years
- Category filter — optional Google Trends category ID
- One JSON object per run — ready for spreadsheets, dashboards, or AI/LLM pipelines
- Retries — requests go through Apify Proxy (datacenter, then residential); when Google rate-limits a request (HTTP 429) the actor waits and retries with a new proxy session
Server interface (instant HTTP API)
Besides regular runs, this Actor is a Server Actor: call it like a regular API, without starting a run.
POST https://sweet-stickball--google-trends-scraper.apify.actor with the run input as a JSON body (or GET with the input
fields in the query string), authenticated with your Apify API token
(Authorization: Bearer <token> header). The response is {"items": [...], "count": n, "actorUrl": ...}, up to 50
results per request. For bulk work, scheduling or more results, start a regular run of this Actor.
Input
The form shows the search term(s), the region and the time range. More searches, search type, category and interest by region are in the collapsed Advanced section.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Search term or comma-separated terms (max 5) |
geo | string | No | "" | Two-letter country code (empty = worldwide) |
timeRange | string | No | "today 12-m" | Time range (see options below) |
category | integer | No | 0 | Category ID (0 = all categories) |
queries | array | No | — | More searches in the same run, one row (and one charge) each; a line can compare up to 5 terms |
searchType | string | No | web | web, youtube, news, images or shopping (Google Trends search type) |
includeRegions | boolean | No | false | Adds interestByRegion (countries, or sub-regions when geo is set), at no extra charge |
Time Range Options
| Value | Period |
|---|---|
now 1-H | Past hour |
now 4-H | Past 4 hours |
now 1-d | Past day |
now 7-d | Past 7 days |
today 1-m | Past month |
today 3-m | Past 3 months |
today 12-m | Past 12 months |
today 5-y | Past 5 years |
Output
One flat JSON object per run with all trend data embedded:
{"query": "python, javascript","queries": ["python", "javascript"],"geo": "US","timeRange": "today 12-m","interestOverTime": [{"date": "2024-01-07", "formattedDate": "Jan 7 – 13, 2024", "values": [75, 60], "formattedValues": ["75", "60"], "isPartial": false}],"relatedQueries": [{"query": "python tutorial", "keyword": "python", "rankType": "top", "value": 100, "formattedValue": "100", "link": "/trends/explore?q=python+tutorial&date=today+12-m&geo=US"}],"relatedTopics": [{"topic": "Python (programming language)", "topicType": "Programming language", "keyword": "python", "rankType": "top", "value": 100}],"totalDataPoints": 52,"totalRelatedQueries": 25,"totalRelatedTopics": 25,"scrapedAt": "2024-12-01T10:30:00Z"}
Notes:
relatedQueriescontains both the top and rising lists (rankType), one set per compared term (keyword). Rising values are % growth (formattedValuemay beBreakout).geois"worldwide"when no country is set;dateis the UTC start of each period.
Input Example
{"query": "artificial intelligence,machine learning","geo": "US","timeRange": "today 12-m"}
Use it in n8n
Three nodes are enough for a scheduled export:
- Schedule Trigger, for example every morning.
- Apify (verified community node
@apify/n8n-nodes-apify), operation Run actor and get dataset, Actorsweet_stickball/google-trends-scraper, with the same JSON as in Input. - Google Sheets Append row (or Slack, Gmail, Airtable), mapped to the output fields.
Pricing
Pay-per-event, no start fee: $0.58 per 1,000 trend querys (event TREND_QUERY) on the Apify Free plan, lower on paid plans. You only pay for results pushed to the dataset.
| Apify plan | Price per 1,000 trend querys |
|---|---|
| Free | $0.58 |
| Starter | $0.58 |
| Scale | $0.58 |
| Business | $0.58 |
Set a maximum cost per run in the run options: the Actor stops cleanly when it is reached.
Use cases
- SEO & content strategy — spot rising search terms in your niche
- Market research — compare brand or product interest across regions and time periods
- Journalism & analysis — track public interest around events, policies, or cultural moments
- AI agent workflows — feed structured trend data into LLM pipelines
Limitations
- Relative values — interest scores are Google's relative index (0–100 within the request), not absolute search volumes.
- Related topics often empty — Google frequently returns no related topics for these requests;
relatedTopicsmay be empty even when interest data and related queries are present. - Rate limits — Google Trends rate-limits aggressively. When that happens the actor waits and retries on new proxy sessions, so a run can take up to about 1 minute; if every attempt fails, the run ends FAILED with the last error.
- Low-volume terms — if Google returns no interest-over-time data (too little search volume), the run ends FAILED instead of producing an empty result.
- Max 5 terms — extra comma-separated terms beyond the fifth are ignored. One result (and one charge) per run.
Feedback
Found a bug or need a field? Open an issue on the Issues tab; if the Actor helps you, a review on the Reviews tab helps others find it.
Related Actors
- Google News Scraper - Multi-Keyword & New Articles, $1.40/1K — Scrape Google News articles for any keyword: headlines, sources, dates and URLs by country and language. News monitoring API, no API key or login.
- Bing & DuckDuckGo SERP Scraper - No API Key, $0.45/1K — Scrape Bing and DuckDuckGo search results: titles, URLs, snippets and positions per keyword. SERP API for rank tracking and SEO, no key and no login.
- YouTube Transcript Scraper - Bulk, Any Language, $1.10/1K — Scrape YouTube video transcripts (captions and auto-generated subtitles) with timestamps, video metadata and optional comments.