Skip to content
Trends Telemetry · Replace Broken pytrends8 min read·Updated 2026-11-14

Google Trends API Guide (2026): Query Realtime Breakouts & 54-Week Curves Without HTTP 429s

Quick Answer (BLUF)

Google does not offer a public self-serve Google Trends REST API, and open-source scrapers like pytrends break with HTTP 429 blocks on AWS/GCP/Vercel IPs. SearchData API provides two production endpoints: GET /v1/trends/realtime (2 credits = $0.20/1K) for live surging topics across 100+ countries, and GET /v1/trends/interest (10 credits = $1.00/1K base, $0.40/1K Scale) for normalized 54-week 0–100 timelines and rising breakout queries.

Gateway p50 Latency28ms warm cache · <80ms suggest · ~1.1s live
Concurrency & Rate Limit30 – 600 RPM (Dedicated 1,200+ RPM Pool)
Deterministic Unit Price$0.08–$0.20 / 1,000 queries

Instant API key in 5s (12,000 Free Credits + 20,000 Sandbox Streak Credits) · $1 = 10,000 Credits · $9 Indie Starter Pack · Top up anytime via 0%-fee Multi-Chain Crypto (+5% bonus credits)

Instant Quickstart · Copy & Run in 30 Seconds

GET /v1/trends/interest — 54-Week Normalized Curve + Rising Breakouts

import requests

resp = requests.get(
    "https://api.searchdataapi.com/v1/trends/interest",
    params={"keyword": "ai agents", "country": "US"},
    headers={"Authorization": "Bearer sr_live_your_api_key"},
    timeout=20,
)
trend = resp.json()["data"]
print("Current:", trend["current_interest"], "Peak:", trend["peak_interest"])
for pt in trend["interest_over_time"][-5:]:
    print(pt["date"], pt["value"])

Key Engineering Takeaways (TL;DR)

  • ✓pytrends was archived in 2025 and triggers immediate HTTP 429 / cookie token challenges from datacenter subnets.
  • ✓GET /v1/trends/realtime streams daily & realtime trending topics, traffic volume tiers (e.g., 200K+, +450%), and linked news articles for 2 Credits ($0.20/1K).
  • ✓GET /v1/trends/interest returns 52–54 weekly 0–100 data points, peak index, velocity delta, and rising/top related queries for 10 Credits ($1.00/1K base, $0.40/1K on Scale).
  • ✓Built-in PostgreSQL + Redis sr: caching serves repeated trend lookups in <35ms.

1. Why Unofficial pytrends Scripts Break in Production

Google Trends requires dynamic session cookies, rotating tokens, and residential TLS fingerprints on its internal /trends/api/widgetdata endpoints.

Comparison of Google Trends data collection methods in 2026
ApproachRealtime Breakouts54-Week 0–100 CurveCloud IP ReliabilityCost / 1,000
SearchData API (/v1/trends/*)Yes (100+ countries)Yes + Rising Queries99.95% Multi-Rail SLA$0.08–$0.20 (Realtime) / $0.40–$1.00 (54w)
pytrends (Archived)Broken / DeprecatedFrequent HTTP 429Fails on AWS/GCP/FlyProxy + DevOps maintenance
SerpApi Google TrendsYesYesHigh$15.00 / 1K ($75/mo min)

Interactive Telemetry Workbench · GET /v1/trends/interest

Verify real-time latency, credit math & JSON schema

5,000 SERPs/day
2,500 news/day
500 curves/day
HTTP Calls / Day
8,000
Up to 600 RPM
Credit Unit
$1 = 10,000
Unified across 6 routes
Empty Result Fee
0 Credits
$0.00 for 0 matches
Estimated Monthly Pipeline Cost (30 Days)
$24.00/ mo on Scale ($30.60 on Growth)
Monthly consumption: 600,000 Credits (20,000 Credits/day)
SearchData API (Scale $0.08/1K):$24.00 / mo
SerpApi Developer Rate ($15/1K):$3600.00 / mo
Empty search / error fee:$0.00 (0 Credits)

Frequently Asked Questions

What is the difference between /v1/trends/realtime and /v1/trends/interest?
/v1/trends/realtime returns what is surging across an entire country right now (2 credits = $0.20/1K). /v1/trends/interest takes any specific keyword and returns its 54-week 0–100 historical search interest curve plus rising related queries (10 credits = $1.00/1K base).
Which country codes are supported?
Pass any ISO 3166-1 alpha-2 code such as US, GB, DE, JP, BR, IN, CA, AU, FR, or SG.

Zero 429 Rate Limits · Instant Production Key

Test live in the Playground or mint your sr_live_ key with 1-Click Google OAuth

Every new account receives 12,000 free Credits ($1.20) at 0ms plus up to +20,000 Sandbox Streak Credits — no credit card required, 0 Credits charged on empty or failed requests.