If you have used pytrends , you know the moment: the script worked yesterday, today it only returns TooManyRequestsError: 429 . You add sleeps, rotate user agents, try a proxy, and it works for a while. The library is no longer maintained, and Google keeps tightening the limits.
Google announced an official Trends API in 2025, but it is in alpha with access on request. So for most of us the options are the website, an unofficial library, or a hosted scraper that deals with the rate limits for you.
This post shows the third option in Python, with real output. I built the tool it uses, a Google Trends Scraper on Apify, so take this as a field report from the author.
Setup
pip install apify-client export APIFY_TOKEN = "your_apify_token" # free account, Settings > API & Integrations
Enter fullscreen mode
Exit fullscreen mode
Interest over time, by region, and related queries
One call per keyword:
import os from apify_client import ApifyClient
client = ApifyClient ( os .…