Google Trends API (beta)
Read public Google Trends data in one call: interest over time, related and rising queries, and Trending Now per country. Responses come in the Trends web app’s own timelineData and rankedList JSON, over REST or MCP.
- Endpoints
- 3
- From
- 3 credits · $0.03
- Failed calls
- Refunded
- Access
- REST · MCP · SDK
Google Trends interest over time API
Endpoint details →import os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/googletrends/explore?keywords=coffee,tea&location=US",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json(){ "keywords": [ "coffee", "tea" ], "geo": "US", "time": "2025-11-25 2026-11-25", "timelineData": [ { "time": "1763856000", "formattedTime": "Nov 23 – 29, 2025", "value": [ 74, 33 ], "hasData": [ true, true ], "formattedAxisTime": "Nov 23, 2025", "formattedValue": [ "74", "33" ] }, { "time": "1764460800", "formattedTime": "Nov 30 – Dec 6, 2025", "value": [ 70, 38 ], "hasData": [ true, true ], "formattedAxisTime": "Nov 30, 2025", "formattedValue": [ "70", "38" ] }, "… 51 more" ], "averages": [ 77, 36 ]}All Google Trends endpoints
Credits per call · refunded on failure · Code tutorialsWhat people build with it
Local intelligence
Places, ratings and reviews from Google Maps.
News monitoring
Fresh headlines for a topic, with sources.
Web pages for AI
Any public page as clean Markdown for agents and RAG.
Pricing
Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.
All packs →| Provider | Per 1,000 | Unit |
|---|---|---|
| Groundsocial | $1.00 → $0.40 | standard calls; $0.03 per call keyless |
Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.
Google Trends API questions
Do I need a Google Trends account or API key?
No. Every call reads what Google Trends shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.
How much does the Google Trends API cost?
From 3 credits per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.03 per call keyless. Failed calls are refunded. You start with 100 free credits.
What format is the data in?
Responses come in the Trends web app’s own timelineData and rankedList JSON, not a lossy cross-platform schema, so field names match what Google Trends itself uses.
Can an AI agent use it?
Yes. Every Google Trends endpoint is an MCP tool (googletrends_explore_get, …), and agents can sign themselves up with POST /v1/agent/signup.
Is it official?
No. Groundsocial is an independent API for public data. Google Trends is a trademark of Google LLC. We are not affiliated with or endorsed by Google.
More search & web APIs
All platforms →15 endpoints
Google News API1 endpoints
Web API5 endpoints
Wikipedia API2 endpoints
Bing API7 endpoints
DuckDuckGo API6 endpoints
Google Trends is a trademark of Google LLC. We are not affiliated with or endorsed by Google.