Google Trends has no official API, and most wrapper libraries rot within months. But the Trends site itself runs on a keyless JSON API that anyone can call, and it serves the exact numbers you see in the UI. Here is the full recipe, including one gotcha where Google quietly labels your session a scraper.
The two step flow
Trends works in two steps. First you call explore, which returns a list of widgets, one per chart on the page, each with a signed token:
GET https://trends.google.com/trends/api/explore
?hl=en-US&tz=0






