Home / A pytrends alternative for bulk Google Trends data
Google Trends
A pytrends alternative for bulk Google Trends data
pytrends, the unofficial Python library most people used to pull Google Trends, was archived in 2024. It still works some of the time, but it is unmaintained, and Google rate-limits anonymous clients aggressively. Google's own Trends API has been in alpha and is not a general-access product.
If you only need a handful of keywords, the Trends website is enough. If you need hundreds of keywords, a weekly refresh, or a comparison of more than five terms on one scale, you need something that can hold a session, back off on HTTP 429, and retry.
What broke for most pytrends scripts
A typical pytrends script opens an explore request, then calls the four widgets (interest over time, interest by region, related queries, related topics). Google now often:
- asks for a valid
NIDcookie from the Trends homepage before the explore call; - returns 429 with a
Retry-Afterheader after a short burst; - sends an empty list for related topics when it thinks the client is a scraper.
Related topics are the fragile one. Treat them as best-effort. Related queries (top, rising, and Breakout) are more reliable.
A hosted option
Google Trends API – Bulk Keywords, Compare & Trending Now is the Cleanrows Actor built for this job. It is a pytrends alternative you run on Apify:
- interest over time, interest by region, and top and rising related queries for up to 500 keywords in one run;
- compare mode that chains batches so more than 5 keywords share one scale (Google's UI stops at 5);
- Trending Now by country, from Google's public RSS feed;
- pay $0.25 per 1,000 keyword-rows, with no start fee.
A ready-made task is here: pytrends alternative: bulk Google Trends interest over time.
The official path is still worth watching. If Google opens a generally available Trends API, use that. Until then, a paced, session-aware client is the practical option, whether you write it yourself or run this Actor.
See also the Google Trends API guide and the tutorial Google Trends API without pytrends.