API · Google Trends
GET /googletrends/trending
Google Trends Trending Now for a country: volume, growth, related terms.
| Request | GET /v1/googletrends/trending |
| Operation id | googletrends.trending.get |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Google Trends Trending Now for a country: volume, growth, related terms.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
location | string | yes | Example: US. |
hours | "4" | "24" | "48" | "168" | no | One of 4, 24, 48, 168. |
category | "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" | no | 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. |
status | "all" | "active" | no | One of all, active. |
sort | "relevance" | "search_volume" | "recency" | "title" | no | One of relevance, search_volume, recency, title. |
limit | integer | no |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Trending searches. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | Google Trends has no data for that query. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Google Trends is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.