Google Trends Trending Now API
What is trending in a country now: each trend with search volume, % increase, start and end time, categories and related queries, over 4 to 168 hours.
GET /v1/googletrends/trendingBeta3 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/googletrends/trending?location=US&hours=24",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 3 credits{ "geo": "US", "hours": 24, "trends": [ { "title": "cowboys vs eagles", "search_volume": 1000000, "increase_percentage": 1000, "started_at": "2026-11-26T02:40:00.000Z", "ended_at": null, "active": true, "categories": [ 17 ], "trend_breakdown": [ "cowboys vs eagles", "cowboys", "… 144 more" ], "explore_link": "https://trends.google.com/trends/explore?q=cowboys%20vs%20eagles&date=now%201-d&geo=US" }, { "title": "fast food open on thanksgiving", "search_volume": 500000, "increase_percentage": 1000, "started_at": "2026-11-26T07:20:00.000Z", "ended_at": null, "active": true, "categories": [ 5, 8 ], "trend_breakdown": [ "fast food open on thanksgiving", "mcdonald's", "… 56 more" ], "explore_link": "https://trends.google.com/trends/explore?q=fast%20food%20open%20on%20thanksgiving&date=now%201-d&geo=US" }, "… 98 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
locationquery · required | string | Example: US. |
hoursquery | "4" | "24" | "48" | "168" | One of 4, 24, 48, 168. |
categoryquery | "autos_and_vehicles" | "beauty_and_fashion" | "business_and_finance" | "entertainment" | "food_and_drink" | "games" | "health" | "hobbies_and_leisure" | "jobs_and_education" | "law_and_government" | "other" | "pets_and_animals" | "politics" | "science" | "shopping" | "sports" | "technology" | "travel_and_transportation" | "climate" | One of autos_and_vehicles, beauty_and_fashion, business_and_finance, entertainment, food_and_drink, games, health, hobbies_and_leisure, jobs_and_education, law_and_government, other, pets_and_animals, politics, science, shopping, sports, technology, travel_and_transportation, climate. |
statusquery | "all" | "active" | One of all, active. |
sortquery | "relevance" | "search_volume" | "recency" | "title" | One of relevance, search_volume, recency, title. |
limitquery | integer |
Status codes
| Status | Meaning |
|---|---|
200 | Trending searches. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Google Trends has no data for that query. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Google Trends is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Which countries?
Every country Google Trends covers, by two-letter code.
Google Trends is a trademark of Google LLC. We are not affiliated with or endorsed by Google.