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 / callFull 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
| Parameter | Type | Required | Description |
|---|---|---|---|
permalink | string | Yes | Post 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": []
}by ID
Fetch a single Reddit post plus its full raw comment tree by post id — all content, metadata, author info, and nested replies in one HTTP GET call.
User Profile
Fetch a Reddit user's full profile by username — link karma, comment karma, account creation date, verification status, and subreddit metadata.
