Introduction to Google Trends API
Google has just unveiled an alpha version of its Trends API at Google Search Central Live, Deep Dive APAC 2025. This new offering brings explore-page data directly into applications, providing consistently scaled search interest figures that align more predictably than the current website numbers. The API will not include Trending Now.
Key Features of the Google Trends API
The API has several key features that make it useful for developers and users. These include:
Consistently Scaled Search Interest
The standout feature in this Alpha release is consistent scaling. Unlike the web interface, where search interest values shift depending on your query mix, the API returns values that remain stable across requests. These won’t be complete search volumes, but in the sample response shown, we can see an indicative search volume presented alongside the scaled number for comparison in the Google Trends website interface.
Five-Year Rolling Window
The API surfaces data across a five-year rolling window. Data is available up to 48 hours ago to preserve temporal patterns, such as annual events or weekly cycles. This longer context helps you contrast today’s search spikes with those of previous years. It’s ideal for spotting trends tied to seasonal events and recurring news cycles.
Flexible Aggregations And Geographic Breakdown
You choose how to aggregate data: weekly, monthly, or annually. This flexibility allows you to zoom in for fine-grained analysis or step back for long-term trends. Regional and sub-regional breakdowns are also exposed via the API. You can pinpoint interest in countries, states, or even cities without extra work.
Sample API Request & Response
A sample API request and response were shared by Hadas Jacobi. The request uses Python, and the response shows the time series data with search interest and scaled search interest. The response includes a list of points with time ranges and search interest values.
Getting Started with the Google Trends API
To get started with the Google Trends API, you can sign up now to get early access to the alpha version. This will allow you to test the API and provide feedback to Google. The alpha version will be available throughout 2025, and Google is looking for testers to use the API and provide feedback.
Conclusion
The Google Trends API is a powerful tool that provides consistently scaled search interest figures and flexible aggregations and geographic breakdowns. With its five-year rolling window and ability to pinpoint interest in specific regions, the API is ideal for spotting trends and analyzing search data. By signing up for early access to the alpha version, you can start testing the API and providing feedback to Google. Whether you’re a developer or a user, the Google Trends API has the potential to revolutionize the way you analyze and understand search data.