Get subreddit comments
curl --request GET \
--url https://api.konbiniapi.com/v1/reddit/subreddits/{subreddit}/comments \
--header 'Authorization: Bearer <token>'{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "OrderedCollectionPage",
"partOf": "https://api.konbiniapi.com/v1/reddit/subreddits/programming/comments",
"totalItems": 1309,
"cursor": "0",
"nextCursor": "1772217402000",
"next": "https://api.konbiniapi.com/v1/reddit/subreddits/programming/comments?cursor=t1_comment_2&count=25&order=top&time=week",
"itemCount": 30,
"orderedItems": [
{
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/comment_1/",
"content": "First!",
"likeCount": 93210,
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/comment_1/",
"entityId": "comment_1",
"published": "2026-02-27T20:37:38.000Z",
"isPinned": false,
"isSponsored": false,
"hasReplies": true,
"voteCount": 9,
"attributedTo": {
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"inReplyTo": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
]
}
]
}
}Subreddits
Get subreddit comments
Returns public comments from a subreddit. Supports hot, new, top, and controversial ordering, with optional time windows for top and controversial.
GET
/
v1
/
reddit
/
subreddits
/
{subreddit}
/
comments
Get subreddit comments
curl --request GET \
--url https://api.konbiniapi.com/v1/reddit/subreddits/{subreddit}/comments \
--header 'Authorization: Bearer <token>'{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "OrderedCollectionPage",
"partOf": "https://api.konbiniapi.com/v1/reddit/subreddits/programming/comments",
"totalItems": 1309,
"cursor": "0",
"nextCursor": "1772217402000",
"next": "https://api.konbiniapi.com/v1/reddit/subreddits/programming/comments?cursor=t1_comment_2&count=25&order=top&time=week",
"itemCount": 30,
"orderedItems": [
{
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/comment_1/",
"content": "First!",
"likeCount": 93210,
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/comment_1/",
"entityId": "comment_1",
"published": "2026-02-27T20:37:38.000Z",
"isPinned": false,
"isSponsored": false,
"hasReplies": true,
"voteCount": 9,
"attributedTo": {
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"inReplyTo": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
]
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Send your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer <your-api-key>
Path Parameters
Subreddit name (with or without r/ prefix)
Example:
"programming"
Query Parameters
Number of comments to fetch (maximum: 100)
Required range:
1 <= x <= 100Example:
25
Pagination cursor
Example:
"0"
Sort order: hot (default), new, top, or controversial
Available options:
hot, new, top, controversial Example:
"hot"
Time window for top or controversial ordering: hour, day, week, month, year, or all (default)
Available options:
hour, day, week, month, year, all Example:
"week"
Response
Returns the subreddit comments
Show child attributes
Show child attributes
⌘I