← Back to marketplace

Reddit

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.

media
by Mark823 endpoints100% uptime91ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Endpoints

GET/v1/comment/details
$0.0010/req

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_idstringrequired

Comment id, with or without "t1_" (e.g. "19swx0uq943r4"), or a comment link.

Response schema

idstring
fullnamestring
authorobject
author_flairstring
textstring
htmlnull
scoreinteger
created_atstring
edited_atnull
permalinkstring
is_submitterboolean
is_stickiedboolean
is_lockedboolean
is_removedboolean
is_score_hiddenboolean
distinguishedstring
languagestring
parent_idnull
postobject
GET/v1/comment/replies
$0.0010/req

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_idstringrequired

Comment id, with or without "t1_" (e.g. "19swx0uq943r4"), or a comment link.

sortstring

Optional order: "best", "top", "new", "old", "controversial" or "qa" (defaults to "best").

Response schema

comment_idstring
postobject
repliesarray
cursornull

Quick start

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)

Pricing calculator

Estimate your monthly cost for Reddit.

GET /v1/comment/details$0.0010/req
-
GET /v1/comment/replies$0.0010/req
-
GET /v1/feed/popular$0.0010/req
-
GET /v1/post/comments$0.0010/req
-
GET /v1/post/crossposts$0.0010/req
-
GET /v1/post/details$0.0010/req
-
GET /v1/search/autocomplete$0.0010/req
-
GET /v1/search/comments$0.0010/req
-
GET /v1/search/posts$0.0010/req
-
GET /v1/search/subreddits$0.0010/req
-
GET /v1/search/users$0.0010/req
-
GET /v1/subreddit/details$0.0010/req
-
GET /v1/subreddit/new$0.0010/req
-
GET /v1/subreddit/popular$0.0010/req
-
GET /v1/subreddit/post-flairs$0.0010/req
-
GET /v1/subreddit/posts$0.0010/req
-
GET /v1/subreddit/rules$0.0010/req
-
GET /v1/subreddit/wiki/page$0.0010/req
-
GET /v1/subreddit/wiki/pages$0.0010/req
-
GET /v1/user/comments$0.0010/req
-
GET /v1/user/details$0.0010/req
-
GET /v1/user/posts$0.0010/req
-
GET /v1/user/trophies$0.0010/req
-