ActorStack.dev

Is there a Google Trends API? The official alpha, pytrends, and what works today

Google has announced an official Trends API, but only as a limited alpha. What it offers, how it differs from the website's 0–100 data, why pytrends is no longer an answer, and what you can use without an invitation.

By Oswaldo Carabano9 min read

Short answer

Google has an official Google Trends API, but it is an alpha: announced on 24 July 2025 for a very limited number of approved testers, and its page was still taking applications on 21 November 2026, with no price stated. The alpha returns consistently scaled search interest for a rolling window of about five years, up to two days ago, by day, week, month or year and by region and sub-region. Without an invitation, Trends data comes from what the Trends website itself loads: interest scaled from 0 to 100 within each request, built from a sample of searches, which moved by up to 3 points between two sessions in tests on 13 October 2026. pytrends, the best-known unofficial Python library for that data, was archived on 17 April 2025. A maintained alternative is a scraper of the same requests, such as ActorStack's Google Trends Scraper at $0.0028 per keyword with data.

Key points

  • Google announced the Google Trends API on 24 July 2025 as an alpha available only to a very limited number of testers who apply through a form.
  • The Google Trends API alpha returns consistently scaled search interest over a rolling window of 1,800 days, about five years, ending two days before the request.
  • The Google Trends website rescales every request from 0 to 100, so values from two separate requests cannot be joined without a shared reference term.
  • The pytrends GitHub repository was archived by its owner on 17 April 2025, and its latest release on PyPI, version 4.9.2, dates from 13 April 2023.
  • Google's API page says the Trends website compares up to eight terms and its announcement says five, while the website's explore request rejected six terms with HTTP 400 on 13 October 2026.
  • Neither Google's announcement nor its Google Trends API page, as read on 21 November 2026, states a price for the API.
On this page7 sections

“Google Trends API” is one of the most searched developer questions about Google data, and for most of Google Trends' life the answer was a flat no. Since July 2025 it has been a qualified yes, which is the more confusing answer of the two.

The short answer

There is an official Google Trends API, and you probably cannot use it yet. Google announced it on 24 July 2025 as an alpha “available only to a very limited number of testers”, and on 21 November 2026 its page was still inviting developers to apply. Neither the announcement nor the page mentions a price.

Everyone without an invitation reads the data the Trends website itself loads, either by hand, with an unofficial library, or with a scraper. That data is shaped differently from what the alpha returns, and the difference matters more than the access question.

The official Google Trends API (alpha)

According to Google's announcement and API page, the alpha offers:

  • A rolling five years. 1,800 days of data, ending two days before the request.
  • Four aggregations. Daily, weekly, monthly and yearly.
  • Regions and sub-regions, as defined in ISO 3166-2.
  • Consistently scaled data — the part that is genuinely new, explained below.

Access is by application. Google says it is opening the alpha “on a rolling basis to a limited number of developers”, prioritising people who know what they want to build, can start soon and will give feedback. There is no self-service key, which is why “how to get a Google Trends API key” has no better answer than the form.

What consistent scaling changes

On the Trends website every request is rescaled so its own highest point is 100. That is what search interest means: a share of searches relative to the peak inside one request, not a count. Two consequences follow, and both are why people want an API:

  • You cannot append. Monitoring a term weekly means re-requesting the whole period every time, because last month's 100 and this month's 100 are different numbers. Google gives this exact example for why the API scales differently.
  • You cannot join requests. Two separate requests share no scale unless they share a term. Google's announcement says the API's scaling is “consistent across requests”, so dozens of terms can be compared.

What consistent scaling does not do is turn interest into volume. Google is explicit that the API's numbers “don't reflect absolute numbers, they reflect search interest”.

On the comparison limit, Google's two documents disagree with each other: the API page says the website compares eight terms, the announcement says five. The website's own explore request answered a sixth term with HTTP 400 when the Google Trends Scraper was built on 13 October 2026, so five is the working limit for anything reading the website.

What the Trends website loads instead

A Trends page is assembled from JSON requests any visitor's browser makes: an explore call that returns a token per widget, then one call each for the interest series, the map by region and the related queries. Trending Now and autocomplete are separate pages and endpoints. None of it needs a login.

Two properties of that data are worth knowing before building on it. It is sampled: Google's own FAQ says Trends uses a sample of searches, and in the Actor's tests on 13 October 2026 two consecutive sessions returned the same series while a third differed by up to 3 points out of 100. And it is rescaled per request, as above, so stable comparisons belong inside one request.

What a scraper can do about the second is borrow the trick the API removes the need for: compare every batch against the same anchor term and rescale each batch onto it. That is how the Actor compares up to 25 terms on one scale. It works for a comparison made at one moment; it does not give you the API's ability to append next month's data to this month's. The step by step version is in how to scrape Google Trends.

pytrends: archived in April 2025

For years, “Google Trends API Python” meant pytrends, which describes itself as a “pseudo API for Google Trends”: a library that makes the same website requests from Python. Its GitHub repository was archived by the owner on 17 April 2025 and is read-only, and its latest release on PyPI, 4.9.2, is from 13 April 2023.

An archived library still installs, and some of it may still work. What it no longer gets is fixes, and the website it reads keeps changing: in early November 2026 Google stopped answering the request the Trending Now list came from, and the Actor had to move to reading the Trending Now page instead. A library nobody maintains cannot make that move.

Four ways to get Trends data, compared

RouteAccessScaleMaintained
Official API (alpha)Application; limited testersConsistent across requestsBy Google
Trends website by handAnyone0–100 per requestBy Google
pytrendsAnyone0–100 per requestArchived 17 April 2025
Google Trends Scraper (Apify)Anyone; $0.0028 per keyword with data0–100 per request; up to 25 terms merged via an anchorBuild 0.1.12, 12 November 2026

If you are accepted into the alpha and need long, appendable series, use the alpha. If you need data this week, the website's numbers are the only ones available, and the practical question is who keeps the reader working. The same trade-off — official API with conditions against reading what the page shows — is laid out for a different Google product in Google Maps API versus scraping.

robots.txt and Google's terms

The robots.txt of trends.google.com disallows two paths for all agents: /explore? and /trends/explore?, the human-facing explore pages. The JSON endpoints under /trends/api/ that the website calls are not listed in it.

Google's Terms of Service, effective 30 July 2026, list among prohibited conduct “using automated means to access content from any of our services in violation of the machine-readable instructions on our web pages (for example, robots.txt files that disallow crawling…)”. Read together, the two documents tie the terms to the robots.txt, which is why the exact paths matter. The general argument is in robots.txt as a specification.

Frequently asked questions

Is the Google Trends API free?
Google's announcement of 24 July 2025 and its API page, as read on 21 November 2026, state no price. Access is by application to a limited alpha, so for most developers the question is whether they can get in, not what it costs.
How do I get a Google Trends API key?
Apply to the alpha through the form on Google's Trends API page. Google describes access as opening on a rolling basis to a limited number of developers, prioritising those with a concrete use case who can give feedback; there is no self-service key.
Can I use Google Trends from Python?
pytrends was the usual answer, but its repository was archived on 17 April 2025 and its latest PyPI release is from April 2023. A maintained scraper called from Python through its HTTP API, or the official alpha if you are accepted, are the current options.
Does the Google Trends API give search volumes?
No. Google says the API's consistently scaled numbers reflect search interest, not absolute numbers. The website's values are 0–100 within each request, and its Trending Now list shows only volume buckets such as 200K+.

Sources

Every URL below was requested and returned a page on the date shown.

  1. Platform docschecked 21 Nov 2026
    Introducing the Google Trends API (alpha): a new way to access Search Trends data (24 July 2025)Google Search Central Blog
  2. Platform docschecked 21 Nov 2026
    Get early access to the Google Trends API alphaGoogle Search Central
  3. Platform docschecked 21 Nov 2026
    FAQ about Google Trends dataGoogle Trends Help
  4. Operator claimchecked 21 Nov 2026
    pytrends — Pseudo API for Google Trends (repository archived 17 April 2025)GeneralMills on GitHub
  5. Operator claimchecked 21 Nov 2026
    pytrends on PyPI (latest release 4.9.2, 13 April 2023)Python Package Index
  6. Site declarationchecked 21 Nov 2026
    trends.google.com/robots.txtGoogle
  7. Operator claimchecked 21 Nov 2026
    Google Terms of Service, effective 30 July 2026Google
  8. Operator claimchecked 21 Nov 2026
    Google Trends Scraper & Keyword Ideas — Actor README and input schemaActorStack / Apify Store
A laptop screen showing a plain text-mode terminal with a command prompt.
Search & adsGuide

Scrape Google Trends

The requests behind a Google Trends page, the choices that shape a run, the coverage measured by search type, and the three things that never arrive: absolute volumes, related topics and identical numbers twice.

9 min
A laptop screen showing a plain text-mode terminal with a command prompt.
Search & adsExplainer

Google Ads Transparency API

Google publishes its Ads Transparency Center data as two downloadable datasets, also in BigQuery — for the EEA and Turkey, without ad text. What they hold, what they leave out, and how to read the rest from the website.

8 min
A laptop screen showing a plain text-mode terminal with a command prompt.
Search & adsMeasured

AI Overview and ChatGPT brand tracking

What tracking a brand in Google AI Overviews and ChatGPT actually measures, how much the answers moved when the same prompt was asked twice, and how many prompts and repetitions a stable number needs.

10 min