Definition
Google Trends structured data API refers to programmatic access to Google Trends data (interest over time, related queries, regional interest) as structured JSON, since Google does not provide an official public API for Trends data.
In Depth
Google has never released an official Trends API. The three approaches to get structured Trends data: (1) Unofficial libraries like pytrends (Python) that reverse-engineer Trends' internal endpoints. These break every few months when Google changes their internal API structure -- pytrends has had multiple breaking changes in 2025-2026. (2) SERP-based proxies: search Google for '[keyword] trend' or use Google's trending searches SERP feature, then parse the structured data from search results. This does not give you the full Trends timeline but captures currently trending topics and related queries. Cost: $0.005/query via Scavio. (3) Dedicated scraping services like SerpAPI ($25-$150/mo) that maintain their own Trends scraper and expose it as an API endpoint. SerpAPI's Google Trends endpoint returns interest over time, interest by region, and related queries. The tradeoff: pytrends is free but fragile, SerpAPI is reliable but costs $25+/mo, and SERP-based proxies are cheap but only capture current trends, not historical timelines. For most use cases (content planning, trending topic alerts), current trends via SERP search are sufficient. For historical analysis, SerpAPI or pytrends are necessary.
Example Usage
A content team monitors trending topics in their niche. Daily Scavio search for 'trending [niche keyword]' captures Google's trending searches SERP feature. When a topic spikes, they get an alert and publish a timely article within 24 hours. For quarterly trend reports requiring historical data, they use pytrends with a retry wrapper to handle the periodic breakages.
Platforms
Google Trends Structured Data API is relevant across the following platforms, all accessible through Scavio's unified API: