Search posts — Reddit API
Searches public Reddit posts across the platform. Supports relevance, hot, top, new, and comments sorting with optional time windows, and can be limited to formats such as images or videos.
GET
/v1/reddit/search/posts1 credit per requestExample response200OK
Make the request.
One authenticated GET to /v1/reddit/search/posts. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.
Built for
- Find posts mentioning a brand or product across Reddit
- Research discussions about any topic site-wide
- Lead generation and community prospecting
const response = await fetch("https://api.konbiniapi.com/v1/reddit/search/posts?query=reddit+community+values", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
Parameters6
- queryrequiredIn · QueryType · stringSearch query. Supports author:name, subreddit:name, "phrase" and -word to exclude
- countIn · QueryType · integerNumber of posts to fetch (maximum: 100)1–100default 25
- cursorIn · QueryType · stringPagination cursor
- orderIn · QueryType · stringSort order: relevance (default), hot, top, new, or commentsrelevance | hot | top | new | commentsdefault relevance
- publishedIn · QueryType · stringOptional time window for search results: hour, day, week, month, year, or allhour | day | week | month | year | all
- formatsIn · QueryType · stringComma-separated content formats to include: image, video, gallery, gif, text, link
What you will probably call next.
The Reddit endpoints around this one — the same object at a different depth, or the same kind of read.
Try it on your own data.
Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.