Search
Searches across all of Reddit for posts or comments matching a query. Set filter to posts (the default) or comments. Post results include title, author, selftext, subreddit, score, ups, upvote_ratio, num_comments, created_utc, url, permalink, and is_video. Comment results include the matching body, author, votes, timestamps, comment URL, parent relationship, and post/subreddit context. Comment searches support relevance, new, and top sorting. Timeframe filtering applies to post searches. Pagination uses the after token, and trim returns a lighter response.
Query parameters
Search query
Search posts or comments
Sort by. Comment search supports relevance, new, and top; comment_count is for post search only.
Post search timeframe
Used to paginate to next page
Set to true for a trimmed down version of the response
Response
Successful response
Changes
No recorded changes to this endpoint across all 1 revision of this API.