reddit
Subreddit Search
Search within a subreddit for posts, comments, or media matching a query
get/v1/scrape/reddit/subreddit/search
Request
- Base URL: https://api.sociavault.com
- URL: https://api.sociavault.com/v1/scrape/reddit/subreddit/search
- Auth: API key in header X-API-Key
Query parameters
subredditstring required
Example:Fitness
Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
querystring
Example:push ups
Search query to find matching content
filter'posts' | 'comments' | 'media'
Example:posts
Type of content to search for (default: posts). Response will only include the matching key
sort'relevance' | 'hot' | 'top' | 'new' | 'comments'
Example:relevance
Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new
timeframe'all' | 'year' | 'month' | 'week' | 'day' | 'hour'
Example:all
Timeframe to filter results
cursorstring
Cursor for pagination. Get 'cursor' from previous response
Response
Successful response with search results
Changes
No recorded changes to this operation across all 1 revision of this API.