Google Trends Scraper - Interest & Related Queries, $0.58/1K avatar

Google Trends Scraper - Interest & Related Queries, $0.58/1K

Pricing

from $0.58 / 1,000 trend queries

Go to Apify Store
Google Trends Scraper - Interest & Related Queries, $0.58/1K

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.

Pricing

from $0.58 / 1,000 trend queries

Rating

0.0

(0)

Developer

CrawlKit

CrawlKit

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

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.

ParameterTypeRequiredDefaultDescription
querystringYes—Search term or comma-separated terms (max 5)
geostringNo""Two-letter country code (empty = worldwide)
timeRangestringNo"today 12-m"Time range (see options below)
categoryintegerNo0Category ID (0 = all categories)
queriesarrayNo—More searches in the same run, one row (and one charge) each; a line can compare up to 5 terms
searchTypestringNowebweb, youtube, news, images or shopping (Google Trends search type)
includeRegionsbooleanNofalseAdds interestByRegion (countries, or sub-regions when geo is set), at no extra charge

Time Range Options

ValuePeriod
now 1-HPast hour
now 4-HPast 4 hours
now 1-dPast day
now 7-dPast 7 days
today 1-mPast month
today 3-mPast 3 months
today 12-mPast 12 months
today 5-yPast 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:

  • relatedQueries contains both the top and rising lists (rankType), one set per compared term (keyword). Rising values are % growth (formattedValue may be Breakout).
  • geo is "worldwide" when no country is set; date is 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:

  1. Schedule Trigger, for example every morning.
  2. Apify (verified community node @apify/n8n-nodes-apify), operation Run actor and get dataset, Actor sweet_stickball/google-trends-scraper, with the same JSON as in Input.
  3. 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 planPrice 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; relatedTopics may 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.