Subreddit Comments API
Stream the latest comments posted anywhere in a subreddit, with post context. $0.01 per call.
Get the newest comments across every thread in a subreddit. Each comment includes author, body, score, permalink, parent and post ids, the post title and URL, timestamps, and edited, stickied, and is_submitter flags, with cursor pagination.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"comments": [
{
"author": "Amazing_Learn",
"body": "Maybe, that can happen, if you look into the current [source](https://github.com/notypecheck/passlib/blob/73370df5fd9d1b864d3a1f7a6cd0b1c800ef8523/passlib/handlers/argon2.py#L106-L113) it is a bit tri…",
"created_at": "2026-10-30T23:12:36+00:00",
"created_utc": 1793401956,
"edited": false,
"id": "19rwhoa1trgqt",
"is_submitter": true,
"name": "t1_19rwhoa1trgqt",
"parent_id": "t1_19rwhb2qcl1fn",
"permalink": "https://www.reddit.com/r/Python/comments/1xj74pw/im_now_maintaining_passlib/19rwhoa1trgqt/",
"post_id": "t3_1xj74pw",
"post_title": "I'm now maintaining passlib",
"post_url": "https://www.reddit.com/r/Python/comments/1xj74pw/im_now_maintaining_passlib/",
"score": 1,
"stickied": false,
"subreddit": "Python"
}
],
"cursor": "t1_19rvzzpcbll7l"
}
}Features
One call returns the newest comments from every thread in the community, not just one post.
Each comment carries post_id, post_title, and post_url, so you know what it was replying to without another request.
author, body, score, permalink, parent_id, created_at, edited, stickied, and is_submitter on every item.
Page back through recent comments with the returned cursor.
Use cases
Social Listening
Catch brand or keyword mentions in comments, where most Reddit discussion happens.
Moderation Tools
Feed a community's newest comments into a classifier for spam or abuse.
Sentiment Tracking
Measure how a community feels about a topic over time.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/reddit/subreddit-comments', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"subreddit": "python"
}),
});
const data = await res.json();
console.log(data);The Subreddit Comments API for real-time comment streams
The YepAPI Subreddit Comments API returns the newest comments from across a whole subreddit. Send a subreddit to /v1/reddit/subreddit-comments and get back comments with author, body, score, permalink, and the title and URL of the post each one belongs to, at $0.01 per call.
Most Reddit conversation happens in comments, not post titles. This endpoint lets you listen to all of it in one community without crawling every thread.
What does the Subreddit Comments API return?
A comments array plus a cursor. Each comment has id, name, author, body, score, subreddit, permalink, parent_id, post_id, post_title, post_url, created_utc, created_at, edited, stickied, and is_submitter. The post fields let you group comments by thread or link straight back to the conversation.
Build a comment-level listening tool
Poll /v1/reddit/subreddit-comments for the communities you care about, match the body against your keywords, and alert on hits with a link to the permalink. Send the text to an AI endpoint on the same key to score sentiment or classify intent.
Subreddit Comments API pricing: $0.01 per call
Every call costs a flat $0.01 and failed calls are free. There is no monthly minimum, no seat fee, and no Reddit app to register: you only need a YepAPI key. Comment feeds are cached for 15 minutes.
Comments in a community vs. comments on a post
This endpoint gives you recent comments across a whole subreddit. To read the full nested discussion under one post, use the Reddit Comments API (/v1/reddit/post-comments), which returns the comment tree with replies.
Try the Subreddit Comments API free
Sign up and get $5 in free credit with no card required. That is 500 calls at $0.01 each to test the Subreddit Comments API against live Reddit data before you spend anything. Pair it with the Reddit Comments API for full threads.
Start making API calls in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Get the newest comments across every thread in a subreddit. Each comment includes author, body, score, permalink, parent and post ids, the post title and URL, timestamps, and edited, stickied, and is_submitter flags, with cursor pagination.
Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/reddit/subreddit-comments. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.
More Reddit API endpoints
Subreddit Rules API
$0.01Get a subreddit's posting rules with descriptions and removal reasons. $0.01 per call.
Similar Subreddits API
$0.01Find subreddits related to any community, with subscriber counts and descriptions. $0.01 per call.
Subreddit API
$0.01Get any subreddit's subscribers, description, sidebar, settings, and branding as JSON. $0.01 per call.
Subreddit Posts API
$0.01Pull hot, new, top, or controversial posts from any subreddit as JSON. A subreddit scraper at $0.01 per call.
Reddit Post API
$0.01Get any Reddit post by URL: title, body, score, comment count, flair, and media. $0.01 per call.
Reddit Comments API
$0.01Get the full comment tree of any Reddit post with nested replies. A Reddit comment scraper at $0.01 per call.