RedditAPIRedditAPI
Posts

Get Reddit Post Comments by Permalink

Fetch the full comment tree for a Reddit post by permalink — every top-level comment, nested reply, score, and author metadata in one HTTP GET call.

GET/api/reddit/comments$0.002 / call

Full comment tree for a post by permalink. Returns a clean wrapper with the post, native Reddit comment tree nodes, pagination cursor, and the full raw upstream response.

Query Parameters

ParameterTypeRequiredDescription
permalinkstringYesPost permalink (e.g. /r/X/comments/abc/title/)

Example

curl -H "Authorization: Bearer $TOKEN" \
  "https://api.redditapis.com/api/reddit/comments?permalink=/r/ClaudeCode/comments/1sgjld3/"
const response = await fetch(
  "https://api.redditapis.com/api/reddit/comments?permalink=/r/ClaudeCode/comments/1sgjld3/",
  { headers: { Authorization: "Bearer TOKEN" } }
);
import requests

response = requests.get(
    "https://api.redditapis.com/api/reddit/comments",
    params={"permalink": "/r/ClaudeCode/comments/1sgjld3/"},
    headers={"Authorization": "Bearer TOKEN"},
)

Response Shape

{
  "post": { "...": "same post shape as /api/reddit/post/:id" },
  "comments": [
    {
      "kind": "t1",
      "data": { "id": "abc", "body": "...", "author": "user123" }
    }
  ],
  "after": null,
  "raw": []
}

On this page