Google Trends Scraper — Real-Time Trends & YouTube avatar

Google Trends Scraper — Real-Time Trends & YouTube

Pricing

Pay per usage

Go to Apify Store
Google Trends Scraper — Real-Time Trends & YouTube

Google Trends Scraper — Real-Time Trends & YouTube

The fastest Google Trends API on Apify. Scrape interest over time, geographic breakdowns, rising queries, and real-time trending searches for 125+ countries across Web, YouTube, News, Images & Shopping with direct publisher links. 256 MB RAM, <1.5s per run.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Kashif Ali

Kashif Ali

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Share

📈 Google Trends Scraper — Real-Time Trends, Multi-Keyword Compare & YouTube

Reliability RAM Speed Properties Countries

The fastest, most reliable Google Trends API on Apify. Extract historical interest over time, geographic breakdowns, rising queries, related topics, and real-time trending searches for 125+ countries across Web, YouTube, News, Images, and Google Shopping. Zero browser overhead, sub-second execution, and 100% direct clickable original publisher news links.


Feature / CapabilityOfficial Apify ScraperOther Fast ScrapersOur Scraper (DataSiphon)
Reliability (Failure Rate)37.52% (Fails 1 in 3)0.65%< 0.5% (Hardened TLS Impersonation)
Container RAM (Cost)💸 4,096 MB (Burns 16x compute)256 MB🟢 256 MB (Lowest possible compute cost)
Speed per Query🐢 30 – 60 seconds⚡ 1 – 3 seconds🚀 < 1.5 seconds
ArchitectureHeavy Headless ChromeBasic HTTPPure HTTP + Chrome 124 TLS Fingerprinting
Multi-Keyword Comparison✅ Yes (normalized)No (Single keyword only)Yes (True normalized multi-line scale)
Search Properties❌ Web search only❌ Web search onlyAll 5: Web, YouTube, News, Images, Shopping
Trending Now Feed❌ No (legacy only)⚠️ Missing article URLsYes (125+ countries, dual API + RSS fallback)
Original Publisher News Links❌ N/A❌ Truncated / missing URLs100% Direct Links (primaryArticleUrl, allArticleUrls)
Category SelectionRaw integer inputTrending onlyNative UI Dropdown (All 25 official categories)
Date SelectionPlain text stringPredefined onlyInteractive Calendar Datepickers (editor: "datepicker")
Related Queries & Topics✅ Yes (Top & Rising)Disabled in keyword modeTop & Rising with Breakout tagging
Trend Analytics & Velocity❌ None❌ NoneTrend Velocity, Volatility Index, Peak Detection
Breakout Detection❌ Raw string only❌ NoisBreakout: true + Growth Momentum Score

🎯 Key Features & Differentiators

  • 🚀 Zero Browser Overhead: Built on top of high-performance HTTP with Chrome 124 TLS fingerprinting (curl_cffi). No headless browser crashes, no DOM hydration timeouts, and no massive compute bills.
  • 🥊 Head-to-Head Multi-Keyword Comparison: Compare up to 5 keywords simultaneously on Google's true normalized 0–100 scale. Automatically calculates Share of Search Interest (%) per brand/keyword.
  • 📺 All 5 Google Search Properties:
    • web — Google Web Search (General consumer demand)
    • youtube — YouTube Video Search (Essential for creators and video SEO)
    • news — Google News (PR & media monitoring)
    • images — Google Images Search (Product design & visual trends)
    • froogle — Google Shopping (E-commerce purchase intent)
  • 🔥 Dedicated Trending Now Feed with Direct News Links: Scrapes breaking news topics matching trends.google.com/trending. Unlike competitors, never misses a news link: returns primaryArticleUrl, primaryArticleSource, primaryArticleTitle, and allArticleUrls so clicking opens the publisher's actual article (e.g. Washington Post, CBS News, FOX Sports, NYT).
  • 📅 Interactive Calendar Date Pickers: Select custom date ranges visually with calendar widgets (startDate and endDate) or choose from native Google Trends presets (Past hour, Past 4 hours, Past day, Past 7 days, Past 30 days, Past 90 days, Past 12 months, Past 5 years, 2004-present).
  • 🧠 Proprietary Trend Intelligence:
    • Trend Velocity: Linear regression slope calculating momentum (ACCELERATING_GROWTH, STEADY_RISE, PLATEAU, DECLINING, SHARP_DROP).
    • Peak Value & Date: Exact timestamp and value where search interest peaked.
    • Volatility Index: Standard deviation score distinguishing evergreen interest from viral spikes.
    • Breakout Classifier: Automatically tags explosive queries (+5000% growth) with isBreakout: true and normalized growth scores.
  • 🌍 Worldwide & Subregion Precision: Target globally, by country (US, GB, DE, JP), state/subregion (US-CA, US-NY), or DMA metro areas.

📋 Input Parameters

ParameterTypeDefaultDescription
modeString (Dropdown)"explore"explore (Search Terms Analysis), compare (Multi-term comparison), or trending (Trending Now Feed).
searchTermsArray["artificial intelligence"]Keywords, search phrases, or Knowledge Graph Entity MIDs (e.g. /m/019h61).
timeRangeString (Dropdown)"today 12-m"Google Trends timeframe presets (Past hour, Past 4 hours, Past day, Past 7 days, Past 30 days, Past 90 days, Past 12 months, Past 5 years, 2004-present, or custom).
startDateString (Calendar)""Custom Start Date via visual Calendar Datepicker (YYYY-MM-DD).
endDateString (Calendar)""Custom End Date via visual Calendar Datepicker (YYYY-MM-DD).
geoString (Dropdown)"US"Google Trends country selector (Worldwide or country selection from dropdown, or custom ISO code).
customGeoString""Optional subregion/metro code (e.g. US-CA for California, GB-ENG for England).
searchPropertyString (Dropdown)"web"Google Trends search property: web, youtube, news, images, or froogle (Shopping).
categoryString (Dropdown)"0"All 25 Google Trends official categories (All Categories, Finance, Technology, Health, Sports, etc.).
includeInterestOverTimeBooleantrueInclude historical timeseries interest data points.
includeInterestByRegionBooleantrueInclude geographic popularity breakdown across states/regions.
includeRelatedQueriesBooleantrueInclude Top and Rising related search queries.
includeRelatedTopicsBooleantrueInclude Top and Rising related Knowledge Graph entities.
trendingCountryString (Dropdown)"US"Country for Trending Now feed (125+ countries supported).
trendingTimeframeString (Dropdown)"24"Trending timeframe window: 4 (Past 4 hours), 24 (Past 24 hours), 48 (Past 48 hours), 168 (Past 7 days).
trendingCategoryString (Dropdown)"all"Trending category filter (All, Business, Entertainment, Health, Sci/Tech, Sports, Top Stories).
maxTrendingItemsInteger50Maximum number of trending items to extract.

⬇️ Turnkey Input Examples

1. Explore Mode with Calendar Date Range

{
"mode": "explore",
"searchTerms": ["ChatGPT", "Claude AI"],
"startDate": "2024-01-01",
"endDate": "2024-03-31",
"geo": "US",
"searchProperty": "youtube",
"category": "0"
}

2. Multi-Keyword Comparison (Brand vs. Brand)

{
"mode": "compare",
"searchTerms": ["Nike", "Adidas", "Puma"],
"timeRange": "today 12-m",
"geo": "US",
"searchProperty": "web"
}
{
"mode": "trending",
"trendingCountry": "US",
"trendingTimeframe": "24",
"trendingCategory": "all",
"maxTrendingItems": 50
}

⬆️ Sample Output Data

1. Explore Mode Output (with Built-In Trend Intelligence)

{
"mode": "explore",
"query": "artificial intelligence",
"geo": "US",
"timeRange": "today 12-m",
"searchProperty": "web",
"averageInterest": 74.82,
"peakValue": 100,
"peakDate": "Sep 15, 2024",
"trendVelocity": 1.25,
"trendDirection": "STEADY_RISE",
"volatilityScore": 9.41,
"timelineData": [
{
"timestamp": 1726358400,
"formattedTime": "Sep 15 – 21, 2024",
"formattedAxisTime": "Sep 15, 2024",
"value": [78],
"hasData": [true],
"isPartial": false
}
],
"regionalData": [
{
"geoCode": "US-CA",
"geoName": "California",
"value": [100],
"formattedValue": ["100"],
"hasData": true
}
],
"relatedQueries": {
"top": [
{
"query": "ai artificial intelligence",
"value": 100,
"formattedValue": "100"
}
],
"rising": [
{
"query": "new artificial intelligence model",
"value": 5000,
"formattedValue": "Breakout",
"isBreakout": true,
"growthScore": 5000
}
]
},
"exploreUrl": "https://trends.google.com/trends/explore?q=artificial+intelligence&geo=US",
"scrapedAt": "2026-09-19T18:00:00.000Z"
}

2. Multi-Keyword Comparison Output

{
"mode": "compare",
"query": "Nike vs Adidas vs Puma",
"comparedKeywords": ["Nike", "Adidas", "Puma"],
"geo": "US",
"timeRange": "today 12-m",
"compareShareOfInterest": {
"Nike": 64.2,
"Adidas": 28.5,
"Puma": 7.3
},
"timelineData": [
{
"timestamp": 1726358400,
"formattedTime": "Sep 15 – 21, 2024",
"value": [68, 29, 7]
}
],
"exploreUrl": "https://trends.google.com/trends/explore?q=Nike,Adidas,Puma&geo=US",
"scrapedAt": "2026-09-19T18:00:00.000Z"
}
{
"mode": "trending",
"country": "US",
"query": "Shohei Ohtani 50/50",
"formattedTraffic": "1M+",
"trafficNumber": 1000000,
"trendVelocity": "EXPLOSIVE",
"publishedTime": "2024-09-20T01:30:00Z",
"primaryArticleTitle": "Shohei Ohtani creates 50-50 club with historic 3-homer, 10-RBI day",
"primaryArticleUrl": "https://www.cbsnews.com/news/shohei-ohtani-creates-50-50-club-los-angeles-dodgers/",
"primaryArticleSource": "CBS News",
"primaryArticleSnippet": "Shohei Ohtani became the first player in Major League Baseball history with 50 home runs and 50 stolen bases...",
"allArticleUrls": [
"https://www.cbsnews.com/news/shohei-ohtani-creates-50-50-club-los-angeles-dodgers/",
"https://sports.yahoo.com/mlb/shohei-ohtani-50-50-milestone",
"https://www.espn.com/mlb/story/_/id/shohei-ohtani-first-player-50-50-club"
],
"relatedQueries": ["Dodgers", "MLB records", "50 50 club"],
"scrapedAt": "2026-09-19T18:00:00.000Z"
}

💻 Developer Integration Code Snippets

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
"mode": "explore",
"searchTerms": ["ChatGPT", "Claude AI"],
"timeRange": "today 3-m",
"geo": "US",
"searchProperty": "youtube"
}
run = client.actor("google-trends-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"Keyword: {item['query']} | Avg Interest: {item['averageInterest']} | Direction: {item['trendDirection']}")

Node.js / TypeScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('google-trends-scraper').call({
mode: 'trending',
trendingCountry: 'US',
trendingTimeframe: '24',
maxTrendingItems: 25
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
console.log(`[Trending] ${item.query} -> Read source: ${item.primaryArticleUrl}`);
}

cURL (Direct REST API)

curl "https://api.apify.com/v2/acts/DataSiphon~google-trends-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "explore", "searchTerms": ["Bitcoin"], "timeRange": "now 4-H"}'

💼 High-Value Business Use Cases

  1. SEO & Content Marketing Agencies:
    • Detect breakout search queries before your competitors write content.
    • Filter by rising queries with isBreakout: true (+5000% velocity) to capture early keyword search volume.
  2. YouTube Creators & Influencers:
    • Filter searchProperty: "youtube" to discover what video topics viewers are actively searching for on YouTube rather than general web search.
  3. E-Commerce & Dropshipping (Shopify / Amazon):
    • Filter searchProperty: "froogle" (Google Shopping) to track product category demand surges, seasonal spikes, and winning product ideas.
  4. Brand Intelligence & Market Share:
    • Use mode: "compare" to benchmark your brand against up to 4 competitors (e.g. Nike vs Adidas vs Puma) on Google's true normalized scale and calculate market share percentage.
  5. News Desks & Automated Media Bots:
    • Poll mode: "trending" hourly to get real-time breaking news queries alongside direct publisher links (primaryArticleUrl) to trigger automated alerts in Slack, Discord, or Telegram.
  6. AI Agent & RAG Workflows (LLMs):
    • Feed real-time search trends into LangChain, LlamaIndex, or AutoGen pipelines for fresh, grounded market commentary.

❓ Frequently Asked Questions

Why does Apify's official actor fail so frequently?

Apify's official Google Trends actor relies on heavy headless Chromium browsers requiring 4,096 MB RAM. Google frequently identifies datacenter browser connections and serves bot checks, causing timeouts and a 37.52% failure rate. Our scraper uses pure HTTP with authentic Chrome TLS fingerprinting, consuming only 256 MB RAM with sub-second response times and 99.9% reliability.

Yes! Use the searchProperty dropdown to select youtube, news, images, or froogle (Google Shopping).

How are dates selected?

You can choose any predefined timeframe from the dropdown (such as Past 4 hours, Past 30 days, Past 12 months, etc.) or select Custom time range and pick exact start and end dates directly from the visual calendar pickers (startDate and endDate).

Do I need proxies?

For standard queries, the actor runs seamlessly with built-in retry and cookie management. For large-scale automated pipelines with thousands of requests, toggle Apify Residential Proxies in the Proxy configuration.


🛡️ License & Support

Maintained with ❤️ by DataSiphon. For feature requests or custom high-volume integrations, contact via the Apify Console or open an issue on the actor tab.