API · Google Trends
GET /googletrends/rising
A keyword’s top and rising related queries and topics on Google Trends.
| Request | GET /v1/googletrends/rising |
| Operation id | googletrends.rising.get |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A keyword’s top and rising related queries and topics on Google Trends.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | yes | |
location | string | no | Country (US) or region (US-CA); empty for worldwide (default). |
timeframe | "past_hour" | "past_4_hours" | "past_day" | "past_7_days" | "past_30_days" | "past_90_days" | "past_12_months" | "past_5_years" | no | Default past_12_months. One of past_hour, past_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, past_5_years. |
category | integer | null | no | Google Trends category id (0 = all, 71 = Food & Drink, …). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Related queries and topics. | |
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.