Reddit · Guide

How to get Reddit post comments

TL;DR
To get Reddit post comments, sign up for a free Captapi key, then send one GET request to /v1/reddit/post-comments with your input. You get clean JSON back in seconds for ~20 credits (0.4/result) per call — no OAuth, scraping or platform SDKs. Pull Reddit comments with author, text, likes, and timestamps.

How to get Reddit post comments (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Reddit Post Comments API

    Send an authenticated GET request to /v1/reddit/post-comments with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/reddit/post-comments?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Ftechnology%2Fcomments%2F1a2b3c4%2Fexample_discussion_thread%2F" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "totalReturned": 5,
    "comments": [
      {
        "id": "myap7vg",
        "author": "TimesandSundayTimes",
        "text": "Scientists using the James Webb space telescope are seeing the “seeds God has sown in the universe”, the Pope has said, saying it was “an exciting time to be an astronomer”.\n\nHe said the telescope revealed wonders of which the authors of biblical scriptures could only dream, and its images of the oldest and most distant galaxies in the cosmos filled people with a sense of “mysterious joy”.\n\nThe Pope held an audience for young astronomers attending a summer school at the Vatican Observatory outside Rome this week, focusing on the telescope’s work.\n\nHe told them it was a “truly remarkable instrument” that meant that “for the first time, we are able to peer deeply into the atmosphere of exoplanets where life may be developing and study the nebulae where planetary systems themselves are forming”",
        "upvotes": 2603,
        "publishedAt": "1750180718.0",
        "url": "https://www.reddit.com/r/Astronomy/comments/1ldt0qj/pope_leo_james_webb_telescope_shows_us_what_the/myap7vg/",
        "parentId": "t3_1ldt0qj",
        "depth": 0,
        "isSubmitter": true,
        "edited": null,
        "stickied": null
      },
      {
        "id": "myay1kt",
        "author": "Andromeda321",
        "text": "Astronomer here! I had a friend who made it into this summer school back in undergrad. Only two people get in from every country and it’s very prestigious, but always sounded like an amazing experience for students out there who are interested! (Like, you go to Italy for the summer and live in a castle and learn about astronomy for free. And you meet the Pope!)\n\nLink for any students reading who might want to apply: https://www.vaticanobservatory.org/education/summer-school/",
        "upvotes": 1120,
        "publishedAt": "1750183083.0",
        "url": "https://www.reddit.com/r/Astronomy/comments/1ldt0qj/pope_leo_james_webb_telescope_shows_us_what_the/myay1kt/",
        "parentId": "t1_myap7vg",
        "depth": 1,
        "isSubmitter": false,
        "edited": true,
        "stickied": null
      },
      {
        "id": "myazz18",
        "author": "thatblkman",
        "text": "Nice that there’s a pope who likely understands God created the laws of physics (and other sciences).\n\nOne day Evangelicals will stop treating it like medievals did witchcraft.",
        "upvotes": 510,
        "publishedAt": "1750183612.0",
        "url": "https://www.reddit.com/r/Astronomy/comments/1ldt0qj/pope_leo_james_webb_telescope_shows_us_what_the/myazz18/",
        "parentId": "t1_myap7vg",
        "depth": 1,
        "isSubmitter": false,
        "edited": null,
        "stickied": null
      },
      {
        "id": "myarho6",
        "author": "ferriematthew",
        "text": "I guess if you see faith as a purely metaphorical and not a literal thing, it makes a lot more sense.",
        "upvotes": 854,
        "publishedAt": "1750181324.0",
        "url": "https://www.reddit.com/r/Astronomy/comments/1ldt0qj/pope_leo_james_webb_telescope_shows_us_what_the/myarho6/",
        "parentId": "t3_1ldt0qj",
        "depth": 0,
        "isSubmitter": false,
        "edited": null,
        "stickied": null
      },
      {
        "id": "myatl0p",
        "author": "ShamefulWatching",
        "text": "Something tells me it was an absurd chest thumping that turned religion into anything more than the metaphysical. It was supposed to be a vehicle to carry the wisdom of our elders, but it is turned into something disgusting.",
        "upvotes": 428,
        "publishedAt": "1750181885.0",
        "url": "https://www.reddit.com/r/Astronomy/comments/1ldt0qj/pope_leo_james_webb_telescope_shows_us_what_the/myatl0p/",
        "parentId": "t1_myarho6",
        "depth": 1,
        "isSubmitter": false,
        "edited": null,
        "stickied": null
      }
    ]
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesReddit post URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
limitintegerNoMax items to return (default 50, max 500). Billed per result.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

Frequently asked questions

What does the Reddit Post Comments API do?

The Reddit Post Comments API lets you pull comments with author, text, likes, and replies from a public Reddit post using one GET request to /v1/reddit/post-comments. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Reddit Post Comments API cost?

At the default limit this endpoint costs 20 credits (0.4 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.

Do I need a Reddit API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the Reddit Post Comments API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

Ready to get Reddit post comments?

Start free with 100 credits — no credit card required.

Get your free API key