Support needed? Reach out! 📧

Reddit Comments API

Extract Reddit comment threads including top-level replies, nested discussions, upvote scores, and author data for sentiment analysis and community research.

python-logo Python
Reddit Post Comments
1 import requests
2  
3 root = "https://ensembledata.com/apis"
4 endpoint = "/reddit/post/comments"
5 params = {
6   "permalink""/r/SkincareAddiction/comments/8pv3gg/ba_finished_my_5_month_course_of_accutane_just_in/",
7   "token""YOUR-TOKEN-HERE"
8 }
9  
10 res = requests.get(root+endpoint, params=params)
11 print(res.json())
12  

Why Developer Teams Use Our API

Full Comment Threads

Retrieve nested replies alongside top-level comments to reconstruct a full Reddit discussion.

Sentiment Analysis Ready

Comment text arrives clean and structured, ready to feed into NLP or sentiment tools.

Community Feedback at Scale

Understand what a subreddit really thinks about a topic beyond just the upvote score.

Bulk Comment Export

Paginate through thousands of comments on a popular thread without hitting a hard cap.

No App Registration Needed

Skip Reddit's OAuth registration process and pull comment data directly.

Brand Mention Monitoring

Filter comment text for keywords to catch mentions of your brand across threads.

Scrape Reddit Data Effortlessly

Fetch full comment trees in bulk with our Reddit comments API, useful for sentiment analysis, brand research, or studying how communities discuss any topic.

deco-icon

Deep Thread Coverage

Pull nested Reddit reply chains several levels deep to see the full arc.

deco-icon

Vote-Weighted Insights

Rank Reddit comments by upvote score to surface the most agreed-with takes.

deco-icon

Discussion Heavy Posts

Handle Reddit threads with thousands of comments without hitting a cap.

Reddit Scraping Features

Get a clear read on how Reddit users feel about any topic by scraping comment data at scale and feeding it into your analysis workflow.

  • Retrieve a post's full comment tree, preserving deeply nested reply chains several levels down.
  • Pair upvote scores with comment text to gauge how a subreddit really feels about a topic.
  • Handle deleted and removed comments as placeholder entries instead of silently dropping them.
  • Pull award counts alongside upvote scores for every comment in the thread.
  • Paginate through thousands of comments on a busy thread without hitting a hard results cap.

Starting crawling Reddit now!

deco-icon

Get Your API Key in Minutes

Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.

Get started free
deco-icon

Developer Support

Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.

Contact us

Frequently Asked Questions

It returns full comment trees for a Reddit post, including top-level replies, nested threads, upvote scores, and author data.

Yes, the endpoint paginates through all public comments, so you can collect the full comment tree even on posts with heavy discussion.

Yes, comment text and upvote scores are commonly used together to gauge how a community feels about a topic.

Yes, nested replies are included, letting you reconstruct the full discussion thread under a post.

The full nesting depth available on Reddit's public comment tree is preserved, including deeply nested reply chains several levels down.

Deleted and removed comments appear as placeholder entries, marked '[deleted]' or '[removed]', the same way they show on the Reddit site, rather than being silently omitted.

Yes, where awards were given, the count is included alongside the upvote score for each comment.

You provide the post's ID or full permalink URL, and the endpoint resolves it to retrieve the associated comment tree.

Yes, comment text and upvote scores are commonly used together to gauge how a Reddit community feels about a specific topic.