Reddit
Get Post 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.
GET
/api/reddit/post/:idSingle post + full raw comment tree.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Reddit post id (e.g. 1sgjld3) |
Example
curl -H "Authorization: Bearer $TOKEN" \
"https://api.redditapis.com/api/reddit/post/1sgjld3"const response = await fetch(
"https://api.redditapis.com/api/reddit/post/1sgjld3",
{ headers: { Authorization: "Bearer TOKEN" } }
);import requests
response = requests.get(
"https://api.redditapis.com/api/reddit/post/1sgjld3",
headers={"Authorization": "Bearer TOKEN"},
)Search Communities
Search subreddits by name or topic — the Communities tab on reddit.com. Verified to match Reddit's UI rank order for SFW and NSFW queries, with pagination.
Post Comments
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.