Get post comments — Reddit API
Returns top-level comments on a Reddit post, paginated with a cursor. new and old are exact across every page. For best, top and controversial, the first page follows the requested order and later pages continue oldest first, sorted by order within each page, so a comment on page 3 can outrank one on page 2. Deleted or removed comments can make a page shorter than count.
/v1/reddit/posts/{postId}/comments1 credit per requestMake 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/suvhyq/comments", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
- postIdrequiredIn · PathType · stringReddit post ID (e.g. suvhyq or t3_suvhyq)
- 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, old, or qa (Reddit's Q&A sort, used in AMAs)best | top | new | controversial | old | qadefault 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.