GroundsocialDocs

API · Google Trends

GET /googletrends/explore

Google Trends interest over time (0-100) for up to five keywords.

RequestGET /v1/googletrends/explore
Operation idgoogletrends.explore.get
Cost3 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Google Trends interest over time (0-100) for up to five keywords.

Query parameters

NameTypeRequiredDescription
keywordsstringyesExample: coffee,tea.
locationstringnoCountry (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"noDefault 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.
categoryinteger | nullnoGoogle Trends category id (0 = all, 71 = Food & Drink, …).

Responses

StatusMeaningSchema
200The timeline.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Google Trends has no data for that query.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google Trends is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.