Get subreddit posts from Reddit with KonbiniAPI
Returns a paginated list of posts from a Reddit subreddit. Supports sorting by hot, new, top, and rising.
This API endpoint returns a paginated list of posts from a Reddit subreddit. Supports sorting by hot, new, top, and rising.
Perfect for
- Monitor trending content in a community
- Content aggregation and newsletter curation
- Competitive intelligence from niche communities
1. Make the request
const response = await fetch("https://api.konbiniapi.com/v1/reddit/subreddits/programming/posts", {
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",
"name": "Launch day",
"likeCount": 93210,
"commentCount": 15,
"published": "2026-02-27T20:37:38.000Z"
}
]
}
}