Fast JSON API for Reddit - subreddit details, posts in every sort order, rules, flairs and wiki pages, post details with media, comment trees, search of posts, comments, users and subreddits, and user profiles with posts, comments and trophies.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns a comment: its id, author, flair, text as Markdown and HTML, score, creation and edit dates, link and flags, the id of the comment it answers, and the post it was made on.
Request schema
Comment id, with or without "t1_" (e.g. "19swx0uq943r4"), or a comment link.
Response schema
Returns the replies to a comment as a tree, up to 50, with the post it was made on: each reply with its id, author, text, score, dates, depth, number of replies and its own replies. Where the tree stops, "more_replies" holds a cursor for the /post/comments endpoint that loads the rest.
Request schema
Comment id, with or without "t1_" (e.g. "19swx0uq943r4"), or a comment link.
Optional order: "best", "top", "new", "old", "controversial" or "qa" (defaults to "best").
Response schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/reddit/v1/comment/details" \
-d '{"comment_id":"19swx0uq943r4"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/reddit/v1/comment/details \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Reddit.