Google Trends Scraper - Interest Over Time & Related Queries avatar

Google Trends Scraper - Interest Over Time & Related Queries

Pricing

from $1.30 / 1,000 trend queries

Go to Apify Store
Google Trends Scraper - Interest Over Time & Related Queries

Google Trends Scraper - Interest Over Time & Related Queries

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 $1.30 / 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

7 hours ago

Last modified

Features

Limited permissions

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.

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

Input

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)

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"
}

Pricing

Pay-per-event, no start fee: $2.10 per 1,000 trend queries on the Apify Free plan, with lower prices on paid plans.

EventFreeStarterScaleBusinessEnterprise
Trend query (TREND_QUERY)$2.10$1.80$1.60$1.30$1.30

Prices in USD per 1,000 events.

Cost examples (Free plan)

QueriesCost
1$0.0021
100$0.21
1,000$2.10

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.