Social Media
Reddit Search Suggestions
Get autocomplete suggestions for a Reddit search query — the typeahead completions Reddit shows as you type — as a plain list of strings, as JSON. Costs 1 credit per request.
POST/api/v1/reddit/search/suggestions
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/jsonquerystringrequiredSearch query to expand (1-500 characters).
Example: python
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.reddit.search_suggestions(query="python")
print(results)Response
"total_count": 5
},
"response_time": 612,
"credits_used": 1,
"credits_remaining": 4752
}