Google Trending
Get real-time trending searches for a region — the terms trending now, with volume and recency — as JSON.
POST/api/v2/google/trending
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsongeostringrequiredCountry code (required), e.g. US, GB, US-CA.
Example: US
hlstringUI language.
Example: en
hoursnumberLook-back window: 4, 24, 48, or 168.
catnumberCategory id (0 = all).
sortenum<string>relevance, search_volume, recency, title.
statusenum<string>all, active.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.google.trending("US")
print(results)Response
"geo": "US",
"hl": "en",
"hours": 24,
"cat": 0,
"sort": "relevance",
"status": "all"
},
],
"credits_used": 1,
"credits_remaining": 49
}