Google Trends Scraper avatar
Google Trends Scraper

Pricing

from $0.02 / 1,000 results

Go to Apify Store
Google Trends Scraper

Google Trends Scraper

"Scrape Google Trends data with built-in AI trend prediction. Get interest over time, related queries, topics, and regional interest — plus forecasts, momentum indicators, pattern detection, and breakout alerts. Supports multiple search terms, custom time ranges, and geographic filtering."

Pricing

from $0.02 / 1,000 results

Rating

0.0

(0)

Developer

christopher athans crow

christopher athans crow

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

3

Monthly active users

3 days ago

Last modified

Share

Scrape Google Trends data including interest over time, related queries, related topics, and regional interest. Built for the Apify platform.

Features

  • 🔍 Multiple search terms - Compare up to 5 keywords at once
  • 🌍 Geographic filtering - Filter by country/region
  • 📅 Flexible time ranges - From past hour to past 5 years
  • 📊 Comprehensive data extraction:
    • Interest over time (time series)
    • Related queries (top & rising)
    • Related topics (top & rising)
    • Interest by region/subregion
  • 🔄 Automatic retries - Handles rate limiting gracefully
  • 🛡️ Proxy support - Residential proxies for reliability

Input

FieldTypeDescriptionDefault
searchTermsarrayKeywords to search (required)-
geostringCountry code (e.g., "US", "GB")"" (worldwide)
timeRangestringTime period for data"today 12-m"
categorynumberGoogle Trends category ID0 (all)
proxyConfigurationobjectApify proxy settingsResidential
maxConcurrencynumberParallel requests (1-5)1

Time Range Options

  • now 1-H - Past hour
  • now 4-H - Past 4 hours
  • now 1-d - Past day
  • now 7-d - Past 7 days
  • today 1-m - Past 30 days
  • today 3-m - Past 90 days
  • today 12-m - Past 12 months
  • today 5-y - Past 5 years

Output

Each search term produces one dataset item:

{
"searchTerm": "artificial intelligence",
"geo": "US",
"timeRange": "today 12-m",
"scrapedAt": "2026-01-18T05:25:00.000Z",
"interestOverTime": [
{ "date": "Jan 19, 2025", "value": 75 },
{ "date": "Jan 26, 2025", "value": 82 }
],
"relatedQueries": {
"top": [{ "query": "chatgpt", "value": 100 }],
"rising": [{ "query": "claude ai", "value": "+5000%" }]
},
"relatedTopics": {
"top": [{ "topic": "Machine learning", "value": 100 }],
"rising": [{ "topic": "Large language model", "value": "+2500%" }]
},
"interestByRegion": [
{ "region": "California", "value": 100 },
{ "region": "New York", "value": 92 }
]
}

Usage

Apify Console

  1. Go to the Actor page
  2. Enter your search terms
  3. Configure location and time range
  4. Click "Start"
  5. Download results as JSON, CSV, or Excel

API

curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~google-trends-scraper/runs" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchTerms": ["typescript", "javascript"],
"geo": "US",
"timeRange": "today 12-m"
}'

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('YOUR_USERNAME/google-trends-scraper').call({
searchTerms: ['react', 'vue', 'angular'],
geo: 'US',
timeRange: 'today 12-m',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Cost Optimization

  • Use maxConcurrency: 1 to minimize proxy costs
  • Shorter time ranges return faster
  • Batch related keywords to reduce total runs

Limitations

  • Maximum 5 search terms per run
  • Google may rate-limit aggressive scraping
  • Some data may not be available for low-volume terms

Support

For issues or feature requests, please open an issue on the Actor's GitHub repository.