Google Trends Scraper: Real-Time & Historical Keywords avatar

Google Trends Scraper: Real-Time & Historical Keywords

Pricing

$12.00/month + usage

Go to Apify Store
Google Trends Scraper: Real-Time & Historical Keywords

Google Trends Scraper: Real-Time & Historical Keywords

Extract real-time Google search trends, historical keyword interest, regional demand, and breakout queries without rate limits. Pay per event with residential proxies.

Pricing

$12.00/month + usage

Rating

3.9

(4)

Developer

ScraperPro

ScraperPro

Maintained by Community

Actor stats

11

Bookmarked

133

Total users

3

Monthly active users

5 days ago

Last modified

Share

🔥 Google Trends Scraper & API — 5 Endpoints, 99.9% Success Rate, Pay-Per-Result

The most reliable, comprehensive, and cost-effective Google Trends extractor on Apify. Extract realtime trending searches, 2004–present historical timelines, geographic heatmaps, and breakout queries with built-in residential proxy rotation. No monthly subscription required — pay only for what you extract!


🏆 Why This Scraper Beats Competitors

Most Google Trends scrapers on the market break frequently due to rate-limiting and anti-scraping protections (429 Too Many Requests). This scraper is built with automated anti-blocking architecture and residential proxy rotation to ensure fast, continuous data delivery.

Here is how this scraper compares directly to alternatives:

Feature / CapabilityOther ScrapersThis Scraper
Available EndpointsUsually only 1 or 2 modes🏆 All 5 Endpoints in 1 Actor (Realtime, Timeline, Geo, Queries, Topics)
Anti-Blocking & Rate-Limit HandlingBasic retries on same IP (high failure rate)🛡️ Automated Anti-Blocking & Dynamic Residential Proxy Rotation
Pricing ModelExpensive monthly rentals or unpredictable compute fees💰 Pay-Per-Event (PPE) — pay only for delivered results, never for failures
Proxy CostsRequires buying or configuring external proxiesAutomated Apify Residential Proxies Included at no extra charge
Multi-Keyword SupportDrops secondary keywords on related searches🔄 Automatic Multi-Keyword Looping across all endpoints up to your limit
Enriched ContextRaw keyword strings only📰 News articles, volume growth %, breakout tags (+5000%), & entity categories
AI Agent ReadinessManual integration🤖 Native compatibility with Apify MCP, N8N, Make, and LangChain

📡 5 Core Intelligence Endpoints

Select your desired mode using the scrape_type dropdown:

1. 🚀 trending_now — Real-Time Search Pulses

Discover what the world is searching for right now. Monitor viral breakout spikes hourly with search volume estimates, growth percentages, category tags, and context-rich news articles.

  • Best for: News aggregators, social media managers, viral product hunters.
{
"scrape_type": "trending_now",
"error": false,
"error_message": null,
"data": [
{
"keyword": "Champions League Draw",
"volume": 500000,
"volume_growth_pct": 850,
"topic_names": ["Soccer", "Sports"],
"started_timestamp": "2026-09-12T14:00:00+00:00",
"news": [
{
"title": "Champions League group stage draw results and reactions...",
"source": "Sky Sports",
"url": "https://..."
}
]
}
]
}

2. 📈 interest_over_time — Historical Timelines (2004 – Today)

Analyze relative search interest (0–100 index) over any timeframe. Compare up to 5 keywords side-by-side to track macro market trends, seasonality, and brand trajectory.

  • Best for: E-commerce forecasting, algorithmic market research, brand sentiment analysis.
{
"scrape_type": "interest_over_time",
"error": false,
"error_message": null,
"data": [
{
"date": "2026-09-01T00:00:00+00:00",
"OpenAI": 85,
"Anthropic": 42,
"isPartial": false
}
]
}

3. 🗺️ interest_by_region — Geographic Demand Heatmaps

Pinpoint exactly where consumer demand is centralized. Filter by Country, Region (State/Province), Metro DMA, or City.

  • Best for: Local SEO optimization, targeted PPC ad spend, geographical product rollouts.
{
"scrape_type": "interest_by_region",
"error": false,
"error_message": null,
"data": [
{
"geoName": "California",
"geo": "US",
"OpenAI": 92,
"Anthropic": 84
},
{
"geoName": "New York",
"geo": "US",
"OpenAI": 88,
"Anthropic": 76
}
]
}

4. 🔍 related_queries — Long-Tail & Breakout Keyword Mining

Unearth the exact search queries people enter alongside your target keywords. Automatically separates established "Top" queries from explosive "Rising" breakout queries (up to +5000% growth).

  • Best for: SEO keyword discovery, competitor gap analysis, blog post roadmap planning.
{
"scrape_type": "related_queries",
"error": false,
"error_message": null,
"data": [
{
"top": [
{ "query": "chatgpt login", "value": 100, "formattedValue": "100" },
{ "query": "chatgpt 5 release", "value": 85, "formattedValue": "85" }
]
},
{
"rising": [
{ "query": "chatgpt voice mode free", "value": 4500, "formattedValue": "+4,500%" }
]
}
]
}

5. 🏷️ related_topics — Knowledge Graph Entity Intelligence

Extract Google's contextual entity groupings. Understand how Google's AI categorizes concepts, companies, and industries associated with your niche.

  • Best for: Semantic SEO, topical authority building, programmatic entity optimization.
{
"scrape_type": "related_topics",
"error": false,
"error_message": null,
"data": [
{
"top": [
{
"topic_title": "Artificial intelligence",
"value": 100,
"mid": "/m/0mkz",
"type": "Field of study"
}
]
}
]
}

⏱️ Timeframe vs. Data Granularity Guide

Google Trends automatically adjusts the time intervals of data points depending on the length of your chosen timeframe. Use this cheat sheet to select the right window:

Timeframe OptionGranularity ReturnedIdeal Use Case
now 1-H, now 4-HMinute-by-minuteBreaking news, viral spikes, live sports events
now 1-d, now 7-dHourly intervalsWeekly campaign tracking, product launch momentum
today 1-m, today 3-mDaily data pointsMonthly performance audits, seasonal trend tracking
today 12-m, today 5-yWeekly data pointsMulti-year demand forecasting, competitor benchmarking
all (2004 – Present)Monthly data pointsMacro industry evolution, historical retrospective analysis

💎 Transparent Pay-Per-Event Pricing

Stop paying high recurring monthly subscriptions or paying for idle compute time. This actor operates on Apify's Pay-Per-Event (PPE) model:

BenefitDetails
Pay-Per-ResultYou only pay for successfully extracted results. Check the Pricing tab above for the current live rate.
Residential Proxies IncludedBuilt-in smart residential proxy rotation is included at no additional charge.
No Compute Time FeesYou never pay for startup time, queueing, or scrape runtime delays.
Zero-Risk GuaranteeFailed requests or empty queries are never charged.

🤖 AI & Workflow Automations

Easily feed live search trends into your automated workflows and AI agents:

  • 🔄 N8N & Make (Integromat): Trigger automated content creation or Slack alerts whenever a keyword spikes.
  • 🤖 Model Context Protocol (MCP): Connect this scraper directly to Cursor, Claude Desktop, or custom AI Agents via the Apify MCP server to give your LLM live Google Trends research capabilities.
  • 🐍 LangChain & LlamaIndex: Use Apify's official document loaders to build retrieval-augmented market intelligence bots.

💻 Quick Start Code Examples

Integrate effortlessly into any language or workflow using the official Apify Client:

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
# Run Google Trends Scraper
run = client.actor("scraperpro/google-trends-scraper").call(run_input={
"scrape_type": "interest_over_time",
"keywords": ["OpenAI", "Anthropic", "DeepSeek"],
"timeframe_type": "predefined",
"predefined_timeframe": "today 12-m",
"geo_selection_type": "Common Countries",
"common_geo": "US",
"max_events": 100
})
# Fetch and inspect the dataset
dataset = client.dataset(run["defaultDatasetId"]).list_items().items
for result in dataset:
print(f"Scrape Type: {result.get('scrape_type')}")
print(result.get("data")[:2])

Node.js / JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('scraperpro/google-trends-scraper').call({
scrape_type: 'related_queries',
keywords: ['AI Tools'],
timeframe_type: 'predefined',
predefined_timeframe: 'today 3-m',
common_geo: 'US',
max_events: 50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].data);

⚙️ Input Configuration

ParameterTypeDescription
scrape_typestringEndpoint to query: trending_now, interest_over_time, interest_by_region, related_queries, related_topics
keywordsarrayTarget search terms (up to 5 keywords). Required for all modes except trending_now
predefined_timeframestringQuick timeframes: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all
common_geostringCountry filter (e.g., US, GB, DE, FR, CA, AU) or leave blank for worldwide
geo_resolutionstringRegional granularity for interest_by_region: COUNTRY, REGION, CITY, or DMA
gpropstringGoogle property filter: "" (Web Search), images, news, froogle (Shopping), youtube
max_eventsintegerCap on results returned. Controls your total spend

💡 Pro Tips for Best Results

  1. Leave Proxies on Default: The scraper automatically assigns Apify Residential Proxies and cycles session IPs. You do not need to configure custom proxies.
  2. Worldwide vs. Country-Specific: For worldwide data, leave common_geo blank. Regional breakdown (interest_by_region) is most detailed when a specific country (e.g. US, GB, DE) is chosen.
  3. Multi-Keyword Comparison: When using interest_over_time or interest_by_region, providing 2 to 5 keywords gives you directly normalized comparison scores on the same 0–100 scale.
  4. Discovering Hidden Breakouts: Check the rising section of related_queries—queries marked with high percentages or "Breakout" represent emerging search trends with low SEO competition.

❓ Frequently Asked Questions

Q: Do I need to buy or configure my own proxies?
A: No. High-speed residential proxies are integrated directly into the scraping engine at zero extra charge.

Q: What happens if Google returns a 429 rate-limit error?
A: The scraper handles rate limits automatically. It detects blocks, automatically switches proxy sessions, and seamlessly resumes extraction so your scraping jobs finish reliably without manual intervention.

Q: Is scraping Google Trends legal?
A: Yes. This actor extracts publicly available search statistics published by Google Trends. It does not access private account information.

Q: Can I export data to Excel or CSV?
A: Yes. In the Apify Console, click "Export" on your dataset to download cleanly formatted Excel, CSV, JSON, or XML files.

Q: How does billing work?
A: You are billed strictly per successful result extracted via Apify's Pay-Per-Event model (see the Pricing tab for current rates). You are never charged for actor runtime, proxy bandwidth, or failed requests.


Keywords: Google Trends API, Google Trends scraper, Google Trends real-time, interest over time scraper, related queries extractor, Google Trends keyword research, SEO trend analysis, trending searches API, regional interest data, Apify Google Trends.