Get post comments — Reddit API
Returns top-level comments on a Reddit post. Supports Reddit comment ordering and cursor-based pagination.
GET
/v1/reddit/posts/{postId}/comments1 credit per requestExample response200OK
Make the request.
One authenticated GET to /v1/reddit/posts/{postId}/comments. 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
- Sentiment analysis on community reactions to a post
- Extract discussion threads for NLP training data
- Monitor comment activity on brand-relevant posts
const response = await fetch("https://api.konbiniapi.com/v1/reddit/posts/abc123/comments", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
Parameters4
- postIdrequiredIn · PathType · stringReddit post ID (e.g. `1tlh5aj` or `t3_1tlh5aj`)
- countIn · QueryType · integerNumber of comments to fetch (maximum: 100)1–100default 25
- cursorIn · QueryType · stringPagination cursor
- orderIn · QueryType · stringSort order: best (default), top, new, controversial, or oldbest | top | new | controversial | olddefault best
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.