Get subreddit comments from Reddit with KonbiniAPI
Returns a paginated stream of recent comments from a Reddit subreddit.
This API endpoint returns a paginated stream of recent comments from a Reddit subreddit.
Perfect for
- Sentiment analysis across a community
- Identify trending discussions and opinions
- Research community tone and engagement patterns
1. Make the request
const response = await fetch("https://api.konbiniapi.com/v1/reddit/subreddits/programming/comments", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
2. Get clean JSON
Response (200 OK)
{
"data": {
"type": "OrderedCollectionPage",
"itemCount": 25,
"orderedItems": [
{
"type": "Note",
"content": "First!",
"voteCount": 9,
"published": "2026-02-27T21:00:00.000Z"
}
]
}
}