How trends-checker works
masterThe tool queries the unofficial Google Trends API via pytrends and applies several reliability layers:
- Request: Sends keyword batches to Google Trends (
/explore,/multiline). - Cookie auth: Optionally injects browser cookies to avoid cold-start 429 errors.
- Rate limiting: Uses configurable sleep and jitter between geo requests.
- Retry logic: Implements exponential backoff on 429/503 errors.
- DataForSEO fallback: Allows swapping the backend entirely for zero rate limits and real search volumes.
Results are returned as a normalized interest score (0–100) per keyword per region.