Google Trends Scraper avatar

Google Trends Scraper

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Google Trends Scraper

Google Trends Scraper

Get instant access to ๐Ÿ”ฅ daily trending searches by country and analyze Google Trends keyword search trends. This ultimate API alternative gives developers and data scientists programmatic access to Google Trends data without limitations.

Pricing

from $0.50 / 1,000 results

Rating

4.9

(4)

Developer

Data Xplorer

Data Xplorer

Maintained by Community

Actor stats

71

Bookmarked

1.1K

Total users

317

Monthly active users

17 days ago

Last modified

Share

Google Trends Scraper - Trending Searches & Keyword Trends, Fast & Reliable

Scrape Google Trends at scale without getting blocked. This Google Trends Scraper turns Google Trends into a clean, structured API: pull real-time trending searches for 125 countries, or analyze keyword interest over time and interest by region for any search term. Export ready-to-use JSON, CSV, or Excel for SEO research, market research, and content ideation, with no proxies to manage, no CAPTCHAs, and no headaches.

๐Ÿ’ก Want a new Google Trends data feature? Open an issue and we ship fast.

Google Trends Scraper

  • ๐Ÿ”ฅ Real-time trending searches: discover what's trending right now across 125 countries
  • ๐Ÿ“Š Keyword trend analysis: interest-over-time data for any keyword, from the past hour to 2004
  • ๐ŸŒ Regional / geo insights: see how a keyword performs region-by-region inside a country
  • ๐ŸŽฏ Category filtering: narrow trending searches to 19 categories (Sports, Technology, Entertainment, Health, Business, and more)
  • โฑ๏ธ Flexible timeframes: 4h, 24h, 48h, or 7 days for trending; minute, day, week, and month granularity for keywords
  • ๐Ÿ“ˆ Search volume & related queries: each trend comes with an estimated volume and related search terms
  • ๐Ÿ›ก๏ธ Anti-blocking built in: smart proxy rotation, IP diversity, and browser fingerprinting for reliable, uninterrupted scraping
  • SEO & content marketing: find rising keywords and trending topics before your competitors
  • Market & competitive research: track demand for brands, products, and industries over time
  • Social media & newsrooms: surface breaking trends for timely posts and articles
  • E-commerce & retail: spot seasonal spikes and regional demand for products
  • Finance & trading: monitor attention around tickers, tokens, and macro topics
  • AI agents & automation: feed live trend data into LLM workflows and dashboards

๐Ÿ’Ž Why Choose This Scraper?

  • โœ… Two modes in one Actor: trending searches and keyword analysis
  • โœ… 125-country coverage for trending searches (one of the widest available)
  • โœ… Fast & lightweight: optimized requests with fail-fast retries and IP rotation
  • โœ… Clean, structured output: predictable JSON, exportable to CSV / Excel / API
  • โœ… API-first & backward compatible: stable inputs your existing integrations can rely on

๐Ÿ”— Integrations

Connect this scraper to your favorite tools and automate your Google Trends monitoring:

๐Ÿ“‹ Quick Start

Choosing a Mode

This scraper runs in one of two modes, selected with the mode parameter:

  • keyword : ๐Ÿ” Keyword Analysis, interest over time (and optional regional breakdown) for a search term.
  • trending : ๐Ÿ“ˆ Trending Searches, top trending searches for a country over a time window.

โ™ป๏ธ Backward compatibility: the legacy enableTrendingSearches boolean is still fully supported for existing API integrations. If sent, it takes priority over mode (true for trending, false for keyword). New integrations should use mode.

Input Parameters

ParameterTypeDefaultDescription
modestringtrendingWhich mode to run: keyword (Keyword Analysis) or trending (Trending Searches)
keywordstringbitcoinThe search term to analyze (used in keyword mode)
predefinedTimeframestringtoday 12-mTime period for keyword analysis
geostring""Country code (e.g., US, FR, GB). Leave empty for worldwide data
fetchRegionalDatabooleanfalseEnable to retrieve regional interest data alongside timeline data
trendingSearchesCountrystringUSCountry for trending searches (used in trending mode)
trendingSearchesTimeframestring24Trending time period: 4 (Past 4 hours), 24 (Past 24 hours), 48 (Past 48 hours), or 168 (Past 7 days)
trendingSearchesCategoriesarray[]Filter trending searches by categories (optional)
trendingSearchesMaxItemsinteger50Maximum number of trending search results to return (1 to 1000). Leave empty for default (50)
proxyConfigurationobject{ "useApifyProxy": true }Proxy settings for the scraper
enableTrendingSearchesbooleanโ€“โš ๏ธ Legacy (API only). Kept for backward compatibility. If provided, overrides mode (true for trending, false for keyword)
Time Period
Last 4 hours
Last 24 hours
Last 48 hours
Last 7 days

Time Periods Available for Keywords

ValueDescriptionGranularity
now 1-hPast hourMinute
now 4-hPast 4 hoursMinute
now 1-dPast dayDay
now 7-dPast 7 daysDay
today 1-mPast 30 daysDay
today 3-mPast 90 daysDay
today 12-mPast 12 months (default)Week
today 5-yPast 5 yearsWeek
all2004 - presentMonth

Input Example (Keyword Analysis)

{
"mode": "keyword",
"keyword": "bitcoin",
"predefinedTimeframe": "today 12-m",
"geo": "US",
"fetchRegionalData": false,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}
{
"mode": "trending",
"trendingSearchesTimeframe": "24",
"trendingSearchesCountry": "US",
"trendingSearchesCategories": ["17", "18"],
"trendingSearchesMaxItems": 100,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Input Example (Legacy, still supported via API)

{
"enableTrendingSearches": true,
"trendingSearchesCountry": "US",
"trendingSearchesTimeframe": "24",
"proxyConfiguration": {
"useApifyProxy": true
}
}

Output Example (Keyword Analysis)

{
"keyword": "bitcoin",
"timeframe": "today 12-m",
"geo": "Worldwide",
"trends_url": "https://trends.google.com/trends/explore?q=bitcoin&hl=en-US",
"timeline_data": {
"2023-W01": 75,
"2023-W02": 82,
"2023-W03": 90,
"2023-W04": 85,
"2023-W05": 88
},
"region_data": [],
"data_granularity": "week"
}
{
"geo": "US",
"language": "en-US",
"timeframe_hours": "24",
"max_items": 100,
"trending_searches": [
{
"rank": 1,
"term": "NFL playoffs",
"trend_volume": "500K+",
"related_terms": [
"NFL playoff schedule",
"NFL scores",
"NFL standings"
],
"trend_volume_formatted": 500000
},
{
"rank": 2,
"term": "Golden Globes 2024",
"trend_volume": "200K+",
"related_terms": [
"Golden Globes winners",
"Golden Globes red carpet",
"Golden Globes live stream"
],
"trend_volume_formatted": 200000
}
],
"trends_url": "https://trends.google.com/trending?geo=US&hl=en-US",
"timestamp": "2024-01-11 14:30:00"
}

๐Ÿ’ก Pro Tips

  • Set mode to keyword for interest-over-time analysis, or trending for a country's trending searches
  • Leave geo empty for worldwide keyword analysis
  • Regional data is only available when a specific country is selected
  • Match your timeframe to the granularity you need:
    • Minute-by-minute: hourly periods (now 1-h, now 4-h)
    • Daily: periods up to 3 months (now 1-d to today 3-m)
    • Weekly: 12-month or 5-year periods (today 12-m, today 5-y)
    • Monthly: all-time period (all)
  • Use the RESIDENTIAL proxy group for the best reliability with Google Trends
  • Trending searches now cover 125 countries
  • In trending mode, keyword options are ignored (and vice-versa)
  • Trending searches return 50 results by default, raise trendingSearchesMaxItems up to 1000 for more

โ“ Frequently Asked Questions

A Google Trends Scraper is a tool that automatically extracts data from Google Trends, such as trending searches and keyword interest over time, and returns it as structured JSON, CSV, or Excel, ready for analysis or integration.

This Actor collects publicly available data from Google Trends. As with any scraping, you are responsible for how you use the data. Review Google's Terms of Service and your local regulations before running large-scale jobs.

How many countries are supported?

Trending searches are available for 125 countries, and keyword analysis supports 70+ countries plus worldwide data.

Yes. Every run stores results in an Apify dataset that you can export to JSON, CSV, Excel, or access programmatically via the Apify API.

Set mode to trending, choose a trendingSearchesCountry, and pick a trendingSearchesTimeframe (4h, 24h, 48h, or 7 days). Optionally filter by category with trendingSearchesCategories.

How do I analyze a keyword's popularity over time?

Set mode to keyword, provide a keyword, choose a predefinedTimeframe, and optionally set a geo and enable fetchRegionalData for a regional breakdown.

Do I need my own proxies?

No. The scraper uses Apify Proxy with automatic rotation out of the box. The RESIDENTIAL group is recommended for maximum reliability.

Will my existing API integration keep working?

Yes. The legacy enableTrendingSearches parameter is still fully supported and takes priority over mode, so existing integrations run unchanged.

๐Ÿ”’ Reliability & Performance

  • Flexible proxy configuration
  • Smart error handling with fail-fast retries
  • Rate-limiting compliance
  • Data validation
  • Efficient resource management
  • Adaptive data granularity based on timeframe

๐Ÿค Support

Need help or have questions? We're here for you:

  • Request new Google Trends features by opening an issue
  • Get technical support by opening an issue
  • Check the documentation for detailed usage instructions

Keywords: google trends scraper, google trends api, trending searches, google trends data, keyword trends, search trends, seo keyword research, market research tool, trends by country, real-time trends.