The Reddit Comments API
Fetch full Reddit comment threads, user comment histories, and nested replies as perfectly structured JSON. No web scraping required.
Extract conversational data flawlessly
Reddit comments are highly nested and difficult to scrape. We make it easy.
Post Comment Threads
Pass a post ID or URL to our /post endpoint and get the post's body along with a recursively nested array of all its comments and replies.
User Comment History
Want to know what a user has been saying? Use our /user-comments endpoint to pull a chronological list of their public comments.
Single Comment Context
Have a permalink to a specific comment? Our /comment-permalink endpoint fetches it along with its immediate parent context and direct replies.
Fetch a post's comments in seconds
Our REST API and SDK reconstruct the complex nested comment trees of Reddit into intuitive, recursive JSON arrays.
- Recursively typed in TypeScript
- Automatically follows "load more comments" links
- Includes upvotes, author info, and timestamps
import { SubScraperClient } from '@subscraper/sdk';
const client = new SubScraperClient({ apiKey: 'sk-your-api-key' });
// Fetch a post and its comment tree
const postData = await client.getPost({
postId: 't3_1ab2c3d',
limit: 100
});
// Access the top-level comments and their replies
console.log(postData.comments[0].body);
console.log(postData.comments[0].replies[0].body);
How it works
No complex headless browsers, just data.
Get API Key
Sign up in seconds to receive your unique authentication key.
Query an Endpoint
Target the `/post`, `/user-comments`, or `/comment-permalink` endpoints.
Receive Data
Our network handles the routing and parsing, returning raw JSON.
Who uses the Reddit Comments API?
AI Engineers
Train models on massive datasets of conversational text, Q&A pairs, and internet slang.
Market Researchers
Analyze long-form discussions in comments to track brand sentiment and find pain points.
Social Listeners
Find and reply to potential leads or customer service issues buried deep in comment threads.
Content Creators
Easily export comment threads to build reaction videos or articles summarizing internet opinions.
Pricing
Simple, transparent pricing
Prepaid credit packs that never expire, or monthly Pro for production scale.
Hobby
Free forever for experimenting and personal projects.
- 30 free requests
- All 14 endpoints
- MCP server access
- No credit card required
Starter
One-time purchase. Credits never expire.
- 1,000 prepaid requests
- Credits stack & never expire
- All 14 endpoints
- MCP server access
Growth
One-time purchase. Credits never expire.
- 10,000 prepaid requests
- Credits stack & never expire
- All 14 endpoints
- MCP server access
Pro
Best ValueFor production apps needing a fixed monthly budget.
- 100,000 requests/mo
- Resets every month
- Premium residential proxies
- Priority support
Frequently Asked Questions
How do you handle deeply nested Reddit comment trees?
Our API parses the raw Reddit response and returns a clean, recursive JSON structure where every comment has a 'replies' array containing its nested children, preserving the exact conversational hierarchy.
Can I get all comments for a specific user?
Yes, our /user-comments endpoint allows you to fetch the entire public comment history of any Reddit user.
Do I need to handle pagination manually?
For fetching comments on a single post, our API automatically traverses 'More Comments' links up to your specified limit, returning a unified JSON array.