/reddit/search/posts

POST /api/reddit/search/posts

Price: 9 credits

Reddit Search Posts

How to use it

Search Reddit posts by query. Supports sort (relevance, hot, top, new, comments) and time filters. By default the query terms are not all required: Reddit's own ranking can return a post missing one of the words, so a non-empty response is not proof every word matched. To require every word, either join them with AND, prefix each with +, or quote the phrase (e.g. 'bitcoin AND halving', '+bitcoin +halving', '"bitcoin halving"') — Reddit itself then returns only posts containing all of them, empty if none do. Alternatively set match_all_words=true to keep only results whose title or text contains every query word, at the cost of dropping posts that use a synonym, abbreviation or a different word form (plural/stem) for one of the terms. Relevant results for a broad query can rank beyond a small count — raise count to reach them.

Parameters

Request body

Response

Errors

Response headers