Social Media
Reddit Trending Searches
Get the queries currently trending in Reddit search — each with a display query and its raw query string — as JSON. Takes no parameters. Costs 1 credit per request.
POST/api/v1/reddit/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/jsonRequest
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.reddit.trending()
print(results)Response
"total_count": 2
},
"response_time": 604,
"credits_used": 1,
"credits_remaining": 4742
}