Is there a Google Trends API?

What Google does and does not offer, why Trends numbers break when you compare them wrong, and the working routes.

The short answer

Google does not offer an open, self-service Trends API that you can sign up for and start calling. Access has been limited, which is why every practical route ends up being either the public endpoints behind the Trends website or a provider who calls them for you.

The mistake almost everyone makes

Trends numbers are not absolute search volumes. They are relative values from 0 to 100, scaled inside the request you made. That has a consequence people discover too late: if you fetch "electric car" in one request and "hybrid car" in another, the two numbers cannot be compared. Each was scaled against its own peak. Put both terms in the same request and you get one shared scale, and only then does a comparison mean anything.

This is the single most common reason a Trends dataset turns out to be wrong after someone has already built a dashboard on it. If your question is "which term is bigger", the terms must travel together.

Route 1: an open-source wrapper

There are Python wrappers around the same endpoints the website uses. Free, popular, and they work until they do not. Two recurring problems: the endpoints change without notice, which breaks the wrapper until someone patches it, and sustained calling from one address gets rate limited quickly. For a one-off analysis that is fine. For anything that has to run tomorrow as well, you are now maintaining someone else's reverse engineering.

Route 2: a provider

Several providers sell Trends data through an API. You trade money for not maintaining the plumbing. What to compare: whether they let you put several terms in one request (see above), whether you get the regional breakdown, and how they price a request that returns nothing.

Three different questions, three different shapes

Worth separating, because they are not the same job:

What to watch for in your own numbers

The datasets behind this

Google Trends Scraper (reliable, batch)

Batch Google Trends data with a transparent success rate: interest-over-time and related queries per search term, with geo, timeframe and language control. Strict output schema for AI agents and pipelines; only successfully delivered terms are charged.

Google Trends Compare Scraper

Compare up to 5 keywords in Google Trends, the way the Compare view does: relative interest over time for all terms on one scale, the average per term, the leader, and optionally which term wins in each country or region. Up to 200 comparisons per run. Pay per comparison.

Google Trends Interest by Region Scraper

Where in the world, or where in a country, a keyword is searched: Google Trends interest by region for up to 200 keywords per run. Worldwide gives up to 250 countries per keyword; a country code gives its regions or cities. One row per keyword, regions ranked 0 to 100.