Advanced Google Trends Scraper
Pricing
$20.00/month + usage
Advanced Google Trends Scraper
Powerful Google Trends Scraper. Extract Interest Over Time, Regional Data, Daily & Real-Time Trends. Supports keyword comparison, custom date ranges, and 100+ countries.
Pricing
$20.00/month + usage
Rating
0.0
(0)
Developer

Abbas Meb
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 hours ago
Last modified
Categories
Share
A comprehensive Apify Actor for extracting trend data from Google Trends. This actor provides access to all major Google Trends features including interest over time, regional data, related queries/topics, and trending searches.
π Features
4 Scraping Modes
- β Interest Over Time - Track keyword popularity over time
- β Interest By Region - Geographic distribution of search interest
- β Daily Trends - Current top trending searches by country
- β Real-Time Trends - Live trending searches
Comprehensive Coverage
- π 118 Countries - Full global coverage with user-friendly dropdown
- β° 10 Time Range Presets - From past hour to all-time (2004-present)
- π 20 Categories - Filter by topic (Finance, Health, Technology, etc.)
- π 5 Google Properties - Search across Web, Images, News, YouTube, Shopping
- πΊοΈ 4 Resolution Levels - Country, Region/State, City, DMA (metro areas)
Advanced Features
- π Keyword Comparison - Compare up to 5 keywords simultaneously
- π Custom Date Ranges - Specify exact start and end dates
- π Multi-Language Support - Search in any language
- π Timezone Control - Adjust for local timezones
- π Proxy Support - Built-in Apify Proxy integration
π Input Parameters
Scraping Modes
Enable one of the following sections to determine the scraping mode. Note: If multiple sections are enabled, the actor prioritizes in this order:
Interest Over TimeInterest By RegionDaily TrendsReal-Time Trends
1. Interest Over Time (Toggle enableInterestOverTime)
Track keyword popularity over a specific time range.
| Field | Description | Type | Default |
|---|---|---|---|
iotKeyword | Search term(s) (Max 5) | Array | ["Bitcoin"] |
iotTimeRange | Time period | String | "now 1-d" |
iotGeo | Location code | String | "US" |
iotCategory | Filter by category ID | String | "0" |
iotProperty | Google property (web, image, etc.) | String | "web" |
2. Interest By Region (Toggle enableInterestByRegion)
See where your keywords are most popular.
| Field | Description | Type | Default |
|---|---|---|---|
ibrKeyword | Search term(s) (Max 5) | Array | ["Bitcoin"] |
ibrResolution | Granularity (COUNTRY, REGION, CITY, DMA) | String | "COUNTRY" |
ibrTimeRange | Time period | String | "now 1-d" |
ibrGeo | Location code | String | "US" |
3. Daily Trends (Toggle enableDailyTrends)
Get today's top trending searches.
| Field | Description | Type | Default |
|---|---|---|---|
dtGeo | Location code (e.g., "US", "JP") | String | "US" |
dtTrendDate | Specific date (YYYY-MM-DD) | String | Today |
4. Real-Time Trends (Toggle enableRealTimeTrends)
Get live, minute-by-minute trending stories.
| Field | Description | Type | Default |
|---|---|---|---|
rtGeo | Location code | String | "US" |
rtCategory | Filter by category ID | String | "0" |
System Settings
| Field | Description | Type | Default |
|---|---|---|---|
proxyConfiguration | Proxies to key (Apify Proxy advised) | Object | Default |
π Output Format
The actor outputs structured JSON data to the Apify dataset. The exact format depends on the mode:
Interest Over Time
{"default": {"timelineData": [{"time": "1609459200","formattedTime": "Jan 1, 2021","formattedAxisTime": "Jan 1","value": [75],"formattedValue": ["75"]}]}}
Interest By Region
{"default": {"geoMapData": [{"geoCode": "US-CA","geoName": "California","value": [100],"formattedValue": ["100"],"maxValueIndex": 0}]}}
Daily Trends
{"default": {"trendingSearchesDays": [{"date": "20240201","formattedDate": "Thursday, February 1, 2024","trendingSearches": [{"title": { "query": "Super Bowl 2024" },"formattedTraffic": "2M+ searches","articles": [...]}]}]}}
π‘ Use Cases
Market Research
- Track brand awareness over time
- Compare competitor mentions
- Identify seasonal trends
- Find emerging markets by region
Content Strategy
- Discover trending topics before they peak
- Find related keywords for SEO
- Analyze search intent by property (web vs images)
- Monitor regional content preferences
Investment Analysis
- Track interest in stocks, crypto, or sectors
- Correlate search trends with market movements
- Identify early signals of attention shifts
- Monitor competitor interest
Academic Research
- Study public interest in scientific topics
- Analyze political discourse trends
- Track social movements geographically
- Historical trend analysis (2004-present)
π― Example Inputs
Example 1: Compare Cryptocurrencies (Interest Over Time)
{"enableInterestOverTime": true,"iotKeyword": ["Bitcoin", "Ethereum", "Solana"],"iotTimeRange": "today 12-m","iotGeo": "US","iotCategory": "7","proxyConfiguration": { "useApifyProxy": true }}
Example 2: Regional Interest in AI
{"enableInterestByRegion": true,"ibrKeyword": ["Artificial Intelligence"],"ibrTimeRange": "today 3-m","ibrGeo": "","ibrResolution": "COUNTRY","proxyConfiguration": { "useApifyProxy": true }}
Example 3: Today's Trending Searches in Japan
{"enableDailyTrends": true,"dtGeo": "JP","proxyConfiguration": { "useApifyProxy": true }}
Example 4: Real-Time Trends in UK
{"enableRealTimeTrends": true,"rtGeo": "GB","rtCategory": "0","proxyConfiguration": { "useApifyProxy": true }}
π§ Development
Local Setup
# Clone the repositorygit clone <repo-url>cd google-trends-scraper# Install dependenciesnpm install# Run locallynpm start
Test Inputs
The actor includes 15+ pre-configured test inputs in .actor/test-inputs/:
- Basic interest over time
- Multiple keyword comparisons
- All 6 scraping modes
- Different time ranges and properties
- Various countries and categories
See .actor/test-inputs/README.md for complete testing guide.
π Technical Details
Built With
- Apify SDK - Actor runtime and data storage
- @alkalisummer/google-trends-js - Google Trends API wrapper
- TypeScript - Type-safe development
Rate Limiting
- Google Trends has internal rate limiting
- Use Apify Proxy (residential) for best results
- Avoid rapid successive requests for same queries
Data Accuracy
- Data is normalized (0-100 scale)
- 100 = peak popularity in selected timeframe
- Real-time and daily trends show absolute search volumes
- See Google Trends Help for methodology
β οΈ Limitations & Notes
-
Keyword Requirements
dailyTrendsandrealTimeTrendsdon't require keywords- Other modes require at least one keyword
-
Time Windows
- Very short windows (e.g., past hour) may have insufficient data
- Maximum lookback: 2004 (
alloption)
-
Resolution Restrictions
COUNTRYresolution requiresgeo: ""(worldwide)DMAresolution only available for United States
-
Comparison Limits
- Maximum 5 keywords for comparison
- Results are relative to each other in the selected timeframe
π Troubleshooting
| Issue | Solution |
|---|---|
| "Keyword is required" | Check you're not using keywords with dailyTrends/realTimeTrends |
| "Custom Start Time required" | Set customStartTime when timeRange is "custom" |
| No data returned | Try broader keywords or longer time range |
| Rate limit errors | Enable Apify Proxy (residential recommended) |
| Empty results | Verify country code and category are valid |