Interest Over Time • Rising Queries • Reliable PyTrends Alternative

Google Trends Search API

Scrape Google Trends data programmatically. Extract interest over time timelines, rising breakout keywords, regional interest maps, and multi-keyword comparisons — all as clean, structured JSON. The reliable PyTrends alternative with a 99.9% uptime SLA.

"AI Agents" Search Interest +4,200% Growth
Jan 2026 Top Rising: "llm agents tutorial" (Breakout)

What Is the Google Trends API?

Google Trends Search API is a trend intelligence API that programmatically extracts Google Trends data in structured JSON format, including Interest Over Time (0-100 index), regional geographic breakdowns, side-by-side keyword comparisons, and Breakout (+5,000% growth) rising search queries.

Google Trends is the ultimate source for analyzing search behavior, measuring consumer interest, and spotting emerging cultural and market trends. However, Google does not offer an official Google Trends API for developers.

Historically, developers relied on open-source libraries like PyTrends. But PyTrends makes unproxied HTTP requests to Google's internal endpoints, triggering immediate HTTP 429 Too Many Requests rate limits and CAPTCHA blocks. Our Google Trends API provides a commercial-grade PyTrends alternative — managing proxy rotation, cookie tokens, and request signatures server-side to deliver structured JSON data with a 99.9% uptime SLA.

Our API gives you full access to all Google Trends modules: Interest Over Time (0-100 relative search volume history), Interest by Region/Subregion (state, DMA, and city breakdown), Related Queries (Top searches and Breakout rising queries growing +5,000%), Related Topics, and Keyword Comparisons (comparing up to 5 keywords side-by-side).

PyTrends vs. SerpApi Google Trends API

FeatureSerpApi Trends APIPyTrends (Open Source)
Uptime SLA99.9% GuaranteedFrequent 429 Rate Limits
Proxy ManagementBuilt-in Residential RotationManual configuration needed
Breakout Query ExtractionSupportedUnreliable parsing
Language & SDKscURL, Python, Node, PHPPython Only
Maintenance24/7 Managed InfrastructureUnmaintained / Deprecated

Trends Data Modules

interest_over_time
Timeline index values (0-100 scale)
rising_queries
Breakout queries (+5,000% growth)
top_queries
Most popular related search terms
interest_by_region
State/city geographic breakdown
compared_breakdown
Side-by-side multi-keyword compare

Integration Code Snippets

curl "https://serpapi.org/api/v1/search?type=trends&q=ai+agents&date=today+12-m&geo=US&token=YOUR_API_KEY"
import requests

resp = requests.get("https://serpapi.org/api/v1/search", params={
    "type": "trends", "q": "ai agents",
    "date": "today 12-m", "geo": "US", "token": "YOUR_API_KEY"
})
data = resp.json()
print("Rising Breakout Queries:")
for q in data.get("related_queries", {}).get("rising", []):
    print(f"  → {q['query']} ({q['value']})")
const fetch = require('node-fetch');

async function getTrends() {
  const params = new URLSearchParams({
    type: 'trends', q: 'ai agents', date: 'today 12-m', geo: 'US', token: 'YOUR_API_KEY'
  });
  const data = await (await fetch(`https://serpapi.org/api/v1/search?${params}`)).json();
  console.log('Interest Over Time timeline points:', data.interest_over_time.timeline_data.length);
}
getTrends();
<?php
$q = http_build_query(['type'=>'trends','q'=>'ai agents','date'=>'today 12-m','geo'=>'US','token'=>'YOUR_API_KEY']);
$data = json_decode(file_get_contents("https://serpapi.org/api/v1/search?{$q}"), true);
foreach ($data['related_queries']['rising'] as $rq) {
    echo "  → {$rq['query']} ({$rq['value']})\n";
}

Google Trends API Use Cases

From trend discovery tools to stock forecasting, our search interest API powers intelligence systems.

Breakout Product & Trend Discovery

Discover viral e-commerce products, emerging tech topics, and rising search queries before they go mainstream. Filter for 'Breakout' queries (+5,000% growth) to spot high-growth niche opportunities early.

Seasonal Content & Campaign Planning

Analyze multi-year search interest timelines to identify annual seasonal peaks for specific keywords. Time marketing campaigns, blog posts, and product launches to coincide with peak search demand.

Brand Share of Search & Sentiment

Compare consumer search interest between your brand and top market competitors over time. Track how brand campaigns affect relative search interest across states and subregions.

Financial & Macroeconomic Forecasting

Combine search interest metrics with quantitative financial models. Hedge funds and economists use search volume trends for consumer electronics, travel, or retail keywords to predict quarterly earnings.

Simple, Affordable Pricing

Experience the industry's lowest prices with our SERP API's top-tier model. No monthly subscriptions, simply pay for the credits you need.

Monthly
Yearly Save 16%

Free

$ 0 /mo Free
5.000 requests included
  • 5.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Basic

$ 8 /mo Save 7%
25.000 requests included
  • 25.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Pro

$ 33 /mo Save -15%
300.000 requests included
  • 300.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Pro Max

$ 67 /mo Save -36%
800.000 requests included
  • 800.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Super

$ 83 /mo Save -21%
1.500.000 requests included
  • 1.500.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Ultra

$ 167 /mo Save -40%
3.500.000 requests included
  • 3.500.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Ultra Max

$ 333 /mo Save -39%
10.000.000 requests included
  • 10.000.000 queries
  • Real-time results
  • 200+ countries
  • 100+ languages
  • Priority Support

Google Trends API — FAQ

No. Google does not provide an official public API for Google Trends. SerpApi.Org provides a reliable PyTrends alternative that scrapes Google Trends data and returns structured JSON containing interest over time, rising breakout queries, and geographic breakdowns.

PyTrends makes unproxied HTTP requests from your IP, causing Google to block requests with HTTP 429 Too Many Requests errors. Our API manages proxy rotation server-side, offering a 99.9% uptime SLA and multi-language support (cURL, Python, Node, PHP).

Rising queries are search terms with high search frequency growth compared to the prior period. Queries marked 'Breakout' grew by more than +5,000%, representing explosive viral trends.

Yes! You can pass up to 5 comma-separated keywords in the query parameter (e.g. q=bitcoin,ethereum,solana) to receive side-by-side interest comparison data.

Supported timeframes include: past hour (now 1-H), past day (now 1-d), past 7 days (now 7-d), past 30 days (today 1-m), past 12 months (today 12-m), past 5 years (today 5-y), and custom date ranges.

5,000 free requests/month across all endpoints. No credit card required. Paid plans for higher volume trend scraping with no contracts.

Explore Related APIs

Combine Google Trends with Autocomplete, Web Search, and News APIs for complete keyword intelligence pipelines.

Start Tracking Google Trends Today

Extract search interest over time, rising breakout queries, and geographic trend data with 99.9% uptime.

Top