A powerful CLI tool to analyze Google Trends interest across different search categories
Analyze search trends across Web, YouTube, Images, News, and Shopping categories. Built for validating market demand, tracking trends, and discovering opportunities. Uses the unofficial pytrends client for fast trend analysis.
Generated with: trends-checker --cookie-file cookie.txt --timeframe "today 12-m"
(Create your own cookie.txt file following the instructions below)
- Python 3.11+
make installpython -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e .trends-checkerAnalyzes default translation/dubbing terms worldwide over the last 12 months
# Global + key markets
trends-checker --geo WW,US,BR,ES,IN,ID,RU
# English-speaking countries only
trends-checker --geo US,GB,AU,CA# Last 5 years for long-term trends
trends-checker --timeframe "today 5-y"
# Last week for quick pulse check
trends-checker --timeframe "now 7-d"
# Last 3 months for recent trends
trends-checker --timeframe "today 3-m"# Web search trends (default)
trends-checker --group web --keywords "artificial intelligence,machine learning"
# YouTube search trends
trends-checker --group youtube --keywords "AI voice cloning,real time dubbing"
# Image search trends
trends-checker --group images --keywords "AI generated art,deepfake"
# News search trends
trends-checker --group news --keywords "cryptocurrency,blockchain"
# Shopping trends
trends-checker --group shopping --keywords "smart home,fitness tracker"# Your own terms (max 5 per request)
trends-checker --keywords "AI voice cloning,real time dubbing,YouTube translation"
# Load from file (one per line, # for comments)
trends-checker --keywords-file keywords.txt# Vertical layout with ASCII progress bars
trends-checker --display vertical --geo WW,US
# Wide table format
trends-checker --display wide# Save results to CSV
trends-checker --output trends_analysis.csv
# Include related rising queries
trends-checker --related --output comprehensive_report.csvGoogle Trends aggressively rate-limits requests. When you get 429 errors:
- Reduce regions per run and add delays
- Use browser cookies to warm up the session
- Space out your requests over time
Chrome/Edge Steps:
- Open https://trends.google.com/trends/?geo=US
- DevTools β Network β reload the page
- Find request like
explore?geo=US(any Trends API call) - Request Headers β copy the full
Cookievalue - Save to
cookie.txt(single line)
# From file (recommended)
trends-checker --cookie-file cookie.txt --geo US
# Environment variable
TRENDS_COOKIE="NID=...; other=..." trends-checker --geo US
# Inline (not recommended - stays in shell history)
trends-checker --cookie "NID=...; other=..." --geo US
β οΈ Security Note: Browser cookies are sensitive. Don't commit them, avoid shell history, rotate after use.
# Global + US markets, vertical view, past year
trends-checker --display vertical --geo WW,US --timeframe "today 12-m"# Custom terms + CSV export + related queries
trends-checker \
--keywords-file my_research_terms.txt \
--geo US,ES,BR,DE,FR \
--related \
--output market_analysis.csv# Minimal run for trend signal
trends-checker --geo US --timeframe "now 7-d"# AI dubbing in English-speaking markets
trends-checker \
--keywords "AI voice cloning,deepfake voice,synthetic speech,voice synthesis" \
--geo US,GB,AU,CA \
--timeframe "today 2-y" \
--display vertical# Compare translation demand across major markets
trends-checker \
--keywords "real time translation,live translation,auto translate" \
--geo WW,US,CN,JP,DE,BR \
--output international_comparison.csv| Parameter | Description | Default |
|---|---|---|
--keywords |
Comma-separated terms (max 5) | English translation/dubbing terms |
--keywords-file |
File with keywords (one per line) | - |
--group |
Search category: web, youtube, images, news, shopping |
web |
--geo |
Comma-separated regions (ISO codes or WW) | WW,US,BR,ES,IN,ID,RU |
--timeframe |
Time period (e.g., "today 12-m", "today 5-y") | "today 12-m" |
--display |
Layout: vertical | wide |
vertical |
--output |
CSV export path | - |
--related |
Show rising related queries | false |
--sleep |
Seconds between geo requests | 1.2 |
--retries |
Retry attempts on errors | 3 |
--backoff |
Exponential backoff base (seconds) | 1.5 |
--jitter |
Random jitter added to delays | 0.6 |
--cookie-file |
File containing browser cookie | - |
--cookie |
Raw cookie header value | - |
--proxy |
HTTP/HTTPS proxy URLs (comma-separated) | - |
--hl |
UI language (e.g., en-US, es-ES) | en-US |
make install # Create venv and install dependencies
make run # Run with default parameters
make run-related # Run with related queries enabled
make clean # Remove caches and build artifacts
make reset # Remove venv and clean everything
make help # Show all available targets- Search categories: Web (default), YouTube, Images, News, Shopping
- Up to 5 keywords per request (Google's limit)
- Mean interest per keyword per region over timeframe
- Related rising queries (optional, slower)
- Vertical - Per-region blocks with ASCII progress bars and sorted results (default)
- Wide - Compact table with all regions as columns
- Interest scores are relative (0-100 scale)
- Values represent average interest over the time period
- 100 = peak popularity for that term in that region/timeframe
β 429 Too Many Requests
# Reduce load
trends-checker --geo US --sleep 2.0 --retries 1
# Use authenticated session
trends-checker --cookie-file cookie.txt --geo US,CAβ No Data Returned
# Check region codes (use ISO country codes)
trends-checker --geo US # β
correct
trends-checker --geo USA # β incorrect
# Try different timeframe
trends-checker --timeframe "today 3-m" # instead of longer periodsβ Slow Performance
# Skip related queries (they're slow)
trends-checker # without --related flag
# Fewer regions per run
trends-checker --geo US,CA # instead of many regionsβ Keywords Not Found
# Check spelling and try broader terms
trends-checker --keywords "YouTube translation" # broader
# instead of very specific terms
# Try different timeframes
trends-checker --timeframe "today 5-y" # longer history- Batch smartly - Run fewer regions per call, more calls total
- Use delays - Increase
--sleepand use--jitterfor randomization - Rotate cookies - Fresh browser sessions help avoid limits
- Monitor 429s - Back off immediately when you hit rate limits
- Start narrow - Use
--timeframe "now 7-d"first, then expand - Compare timeframes - Run same keywords with different periods
- Save everything - Always use
--outputto build historical datasets - Check related - Use
--relatedto discover new keyword opportunities
- Automate runs - Set up cron jobs with different regions/timeframes
- Track changes - Compare CSV exports over time to spot trends
- Alert on spikes - Build monitoring around sudden interest increases
- Regional insights - Use vertical display to spot geographic patterns
- Mix broad/specific terms to get complete picture
- Include variations - "AI dubbing" vs "artificial intelligence dubbing"
- Test seasonality - Compare current period to same period last year
- Language variants - Test English terms in non-English markets
The tool comes with curated default keywords focused on YouTube translation/dubbing:
real time translation YouTubelive translation YouTubeAI dubbing YouTubeYouTube voiceoverautomatic translation YouTube
These terms are specifically chosen to validate demand for real-time YouTube translation technologies and AI-powered dubbing solutions.
- 0-100 scale where 100 = peak popularity
- Relative to timeframe and region - not absolute numbers
- Weekly/monthly averages depending on timeframe selected
- 50+ = Strong interest in that region/timeframe
- 20-50 = Moderate interest worth investigating
- <20 = Low interest may indicate niche market
- 0 = Insufficient data (very rare terms or regions)
- Unofficial API - Google has no public Trends API; pytrends can break
- Rate Limiting - Google aggressively throttles automated requests
- Relative Data - All scores are relative, not absolute search volumes
- Category-Specific - Each search category has different user behaviors and data patterns
- Regional Variations - Some terms may not translate well across regions
Create keywords.txt with your research terms:
# YouTube Translation Research Terms
real time translation YouTube
live translation YouTube
AI dubbing YouTube
YouTube voiceover
automatic translation YouTube
# Voice Technology Terms
AI voice cloning
synthetic speech
voice synthesis
deepfake voice
# Market Segments
multilingual content
international YouTube
global content creation
If this tool has helped with your YouTube trends research or market analysis:
- Star the repository β
- Share your use cases - what markets are you researching?
- Report issues - help improve the tool for everyone
- Suggest features - what other trend analysis would be helpful?
Happy trend hunting! β¨
Built for creators, researchers, and entrepreneurs validating the future of multilingual YouTube content.
