Reddit API avatar

Reddit API

Pricing

from $1.70 / 1,000 post details

Go to Apify Store
Reddit API

Reddit API

Reddit data over a simple HTTP API: posts, comments and replies, users, subreddits and the new, hot, top and best feeds. Search by keyword, username, subreddit name or post ID. Always-on Standby Actor with JSON responses in seconds.

Pricing

from $1.70 / 1,000 post details

Rating

0.0

(0)

Developer

epctex

epctex

Maintained by Apify Partner

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

8 hours ago

Last modified

Categories

Features

Limited permissionsMulti-tenantServer interface

Share

Reddit API is an Apify actor that extracts posts, comments, comment replies, users, subreddits and the Reddit post feeds (new, hot, top, best) from Reddit.com by username, subreddit name, post ID or search keyword. It is priced per successful request, from $0.002 to $0.025 depending on the endpoint.

Reddit API exposes 16 endpoints, accepts up to 4 path/query parameters per endpoint, and bills one pay-per-event charge per successful request — the event depends on which endpoint you call — with no subscription and no monthly minimum on paid plans.

How It Works

Reddit API runs as an Apify Standby Actor: an always-on HTTP server, not a classic Actor run. There is no run to start and no dataset to poll — you send a plain GET request to an endpoint and the JSON comes back in the response itself.

Classic dataset ActorReddit API (Standby)
How you call itStart a run, wait, then read the datasetOne GET request
ResultItems accumulate in a datasetJSON in the HTTP response, synchronously
BillingPer run or per dataset itemPer successful request, by endpoint

Authenticate with your Apify API token as an Authorization: Bearer <token> header (the published OpenAPI spec declares bearer authentication). The token is only used to identify and bill the caller — it is never forwarded to the upstream Reddit data service.

Who Uses Reddit API?

  • Brand, social listening and market research teams search posts by keyword (/search/post) and filter by sort and time range to see what people say about a product or topic.
  • Community and growth teams look up a subreddit (/subreddit/{name}) for fields such as subscribers and activeUserCount, find related communities with /search/subreddit, and read its posts (/subreddit/{name}/posts).
  • Trend and content tools read the new, hot, top and best post feeds (/posts/new, /posts/hot, /posts/top, /posts/best) to surface what is trending.
  • Creator and user-research tools pull a user's profile (/user/{username}) with karma figures, their posts, their comments, or both interleaved (/user/{username}/overview).
  • Moderation and sentiment tools fetch a post's comments (/post/{id}/comments) and drill into a specific comment's replies (/post/{id}/comments/{commentId}/replies).
  • AI agents and chatbots call it directly as a tool: plain JSON over HTTP with a published OpenAPI spec, so no Reddit developer account or OAuth setup is required.

Endpoints & Parameters

All endpoints are GET. Base URL: https://epctex--reddit-api.apify.actor — see the note under Request Example.

Listing endpoints (feeds, subreddit posts, user posts, user comments and search) return up to 100 items per page and paginate with an opaque cursor taken from the previous response.

Users

EndpointFieldTypeDescriptionDefault
/search/userkeywordstringKeyword to search, e.g. jakerequired
cursorstringCursor for the pagination—
/user/{username}usernamestring (path)Username of the user, e.g. Emitsuurequired
/user/{username}/postsusernamestring (path)Username of the userrequired
sortnew, hot, topSorting for the user's posts—
cursorstringCursor for the pagination—
/user/{username}/commentsusernamestring (path)Username of the userrequired
sortnew, hot, topSorting for the user's comments—
cursorstringCursor for the pagination—
/user/{username}/overviewusernamestring (path)Username of the userrequired
sortnew, hot, topSorting for the overview (posts and comments interleaved)—
cursorstringCursor for the pagination—

Subreddits

EndpointFieldTypeDescriptionDefault
/search/subredditkeywordstringKeyword to search, e.g. gamerequired
cursorstringCursor for the pagination—
/subreddit/{name}namestring (path)Name of the subreddit, e.g. gamerequired
/subreddit/{name}/postsnamestring (path)Name of the subredditrequired
sortnew, hot, topSorting for the list—
cursorstringCursor for the pagination—

Posts

EndpointFieldTypeDescriptionDefault
/search/postkeywordstringKeyword to search, e.g. gamerequired
sortrelevance, hot, new, top, commentsSorting on the list—
timeall, year, month, week, day, hourTime range for the results—
cursorstringCursor for the pagination—
/post/{id}idstring (path)ID of the post, without the t3_ prefix, e.g. 1c7tqrdrequired
includeCommentstrue, falseReturn the post's comments alongside it, saving a second request—
/post/{id}/commentsidstring (path)ID of the post, without the t3_ prefixrequired
sortbest, top, new, controversial, old, qaSorting for the list—
/post/{id}/comments/{commentId}/repliesidstring (path)ID of the post, without the t3_ prefixrequired
commentIdstring (path)Comment ID, e.g. t1_1c7tqrdrequired
sortbest, top, new, controversial, old, qaSorting for the list—

Feeds

EndpointFieldTypeDescriptionDefault
/posts/newcursorstringCursor for the pagination—
/posts/hotcursorstringCursor for the pagination—
/posts/topcursorstringCursor for the pagination—
/posts/bestcursorstringCursor for the pagination—

All cursor parameters are optional; omit them to get the first page, and pass the cursor from a response back in to get the next one. A value outside a parameter's allowed list is rejected with 400 before it reaches the upstream service.

Request Example

Standby base URL: Apify Standby actors are reachable at https://{apify-username}--{actor-name}.apify.actor. This actor is published under the epctex account, so its Standby base URL is https://epctex--reddit-api.apify.actor, used in the examples below.

Get a user's profile:

curl "https://epctex--reddit-api.apify.actor/user/Emitsuu" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN"

Charges user-profile on success.

Search posts by keyword, newest first:

curl -G "https://epctex--reddit-api.apify.actor/search/post" \
--data-urlencode "keyword=game" \
--data-urlencode "sort=new" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN"

Charges search-posts on success.

Get a post's full detail:

curl "https://epctex--reddit-api.apify.actor/post/1c7tqrd" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN"

Charges post-detail on success.

Pricing Model

Reddit API bills one pay-per-event charge per successful request, based on the endpoint called — regardless of how many posts, comments or users the response contains. A request charges only the called endpoint's event, once. The four post feeds (/posts/new, /posts/hot, /posts/top, /posts/best) share the feed-posts event. Prices range from $0.002 to $0.025.

EndpointEventPrice
/search/usersearch-users$0.025
/user/{username}user-profile$0.002
/user/{username}/postsuser-posts$0.025
/user/{username}/commentsuser-comments$0.025
/user/{username}/overviewuser-overview$0.025
/search/subredditsearch-subreddits$0.025
/subreddit/{name}subreddit-detail$0.002
/subreddit/{name}/postssubreddit-posts$0.025
/search/postsearch-posts$0.025
/post/{id}post-detail$0.002
/post/{id}/commentspost-comments$0.025
/post/{id}/comments/{commentId}/repliescomment-replies$0.025
/posts/newfeed-posts$0.025
/posts/hotfeed-posts$0.025
/posts/topfeed-posts$0.025
/posts/bestfeed-posts$0.025
StatusMeaningCharged?
200Successful response, contains dataYes — the called endpoint's event
400Bad request — a path or query param failed validationNo
403Standby access disabled, or your access was restricted by the developerNo
404Endpoint not matched, or nothing found upstreamNo
429Monthly free-request limit reachedNo
502Upstream (INFRA) request failedNo
503Plan/quota could not be checked right nowNo

Cost examples

ScenarioRequestsCost
Look up 1 user profile1$0.002
Search a keyword, 1 page of posts1$0.025
Look up 1 post, then 1 page of its comments2$0.002 + $0.025 = $0.027
Look up a subreddit, then read 3 pages of its posts4$0.002 + 3 x $0.025 = $0.077
Pull 10 pages of a user's comments1010 x $0.025 = $0.25
1,000 post detail lookups1,0001,000 x $0.002 = $2.00
1,000 keyword-search pages1,0001,000 x $0.025 = $25.00

Cost optimization tips: don't retry on 400/403/404/429 — they're not charged but they also won't succeed on retry without changing the request; cache profile and subreddit lookups you don't expect to change between calls; every list endpoint is billed per page, not per item, so request only the pages you need; use /post/{id}?includeComments=true rather than a second request when you want a post's comments alongside it.

Demo Mode

Apify Free-plan users can try Reddit API without a subscription, capped at 10 requests per calendar month. Once that limit is used up, every call answers 429 ("You have used all free requests for this month. Upgrade your Apify plan to keep going.") until the next month. A paid Apify plan removes the monthly cap entirely.

Output Example

Every successful response wraps its payload as { "status": 200, "message": "OK", "data": ... }.

A single user (GET /user/{username}):

{
"status": 200,
"message": "OK",
"data": {
"type": "user",
"id": "t2_iyrzi9oh",
"name": "Popular-Recover8880",
"createdAt": 1643007193,
"awarderKarma": 94,
"postKarma": 94,
"commentKarma": 94,
"totalKarma": 94,
"iconImage": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"snoovatarImage": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"bannerImage": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"title": "Title",
"description": "Description",
"hasVerifiedEmail": true,
"isGold": false,
"isMod": true,
"isVerified": true,
"isEmployee": false,
"acceptsFollowers": true,
"over18": true
}
}

A single post (GET /post/{id}, shortened):

{
"status": 200,
"message": "OK",
"data": {
"type": "post",
"url": "https://www.reddit.com/r/memes/comments/t19inj/ukraine_got_chad_volodymyr_zelensky/",
"id": "t3_t19inj",
"title": "This is amazing",
"text": "Sample text content of the post.",
"numComments": 2804,
"created": 1645810297000,
"score": 229883,
"upvoteRatio": 0.92,
"isLocked": false,
"isStickied": false,
"isNSFW": false,
"author": { "username": "I_AM_BATMAN_69", "id": "t2_4e3ddvkn", "isBlocked": false, "isDeleted": false, "authorFlair": "RIF Dev" },
"subreddit": { "id": "t5_2qjpg", "name": "subreddit" },
"...": "..."
}
}

A paginated listing, e.g. GET /search/user (cursor/results wrapper used by the search, user, subreddit and comment listings):

{
"status": 200,
"message": "OK",
"data": {
"cursor": "t2_1c7wuo5",
"results": [
{ "type": "user", "id": "t2_iyrzi9oh", "name": "Popular-Recover8880", "totalKarma": 94, "...": "..." }
]
}
}

The feed endpoints (/posts/new, /posts/hot, /posts/top, /posts/best) return data as a plain array of posts:

{
"status": 200,
"message": "OK",
"data": [
{ "type": "post", "id": "t3_t19inj", "title": "This is amazing", "score": 229883, "...": "..." }
]
}

A comment (GET /post/{id}/comments, one item of data.results, shortened):

{
"type": "comment",
"id": "t1_kusnomt",
"postId": "t3_1bdgjgf",
"postTitle": "What does a k-hole mean?",
"body": "Sample comment body text.",
"score": 0,
"parentId": "t1_kuo3qvh",
"depth": 1,
"hasReplies": true,
"author": { "username": "GoldenChrysus", "id": "t2_hsofa", "isOP": false },
"replies": [ { "...": "..." } ]
}

A subreddit (GET /subreddit/{name}, shortened):

{
"type": "subreddit",
"id": "t5_2qhl2",
"name": "cars",
"prefixedName": "r/cars",
"title": "r/Cars - For Car Enthusiasts",
"subscribers": 94,
"activeUserCount": 94,
"url": "https://www.reddit.com/r/cars",
"...": "..."
}

A resource that cannot be found is documented as a 404 with no data (not charged):

{ "status": 404, "message": "Not found" }

Limitations

  • Post IDs are passed without the t3_ prefix (e.g. 1c7tqrd), while comment IDs keep theirs (e.g. t1_1c7tqrd) and cursors are opaque values such as t3_1c7wuo5 taken from the previous response.
  • Cursor-based pagination only — there is no page-number or offset parameter on any list endpoint; follow the cursor returned by the previous page.
  • The feed endpoints accept a cursor parameter, but their documented response is a plain array of posts rather than the cursor/results wrapper, so the response does not document a cursor for the next page.
  • /post/{id}/comments can report truncatedCount in its response, a number documented alongside the returned comments.
  • Sort values are limited to the lists above. User posts, user comments, the user overview and subreddit posts accept new, hot, top; post comments and comment replies accept best, top, new, controversial, old, qa; anything else returns 400.
  • Per-endpoint pricing, not per-field pricing. Every endpoint charges a fixed event regardless of how many posts, comments or users a page contains, and each endpoint is billed as its own named event (the four feeds share one), with no volume discount within an endpoint.
  • No endpoint searches comments by keyword. Search covers users, subreddits and posts.

Which Reddit API Questions Come Up Most Often?

Does Reddit API need a Reddit account or API key?

No. You only need an Apify API token. Reddit API proxies a backend Reddit data service itself; it never asks you to log in to Reddit.

How much does it cost?

It costs from $0.002 to $0.025 per successful request, depending on the endpoint: $0.002 for post detail, user profile and subreddit detail, and $0.025 for searches, listings, the user overview, comments, replies and feeds. See the Pricing Model table. Failed, invalid, rejected or not-found responses are never charged, and a request never charges more than one event.

Am I charged per post/comment/user, or per request?

Per request. A page with many results costs the same as a page with one for the same endpoint.

How do I get more than one page of results?

Pass the cursor from the previous response's data.cursor field as the cursor query parameter on the next call. Each page is a separate, separately-charged request.

Can I get a post and its comments in one request?

Yes: /post/{id}?includeComments=true returns the post's comments alongside it, saving a second request. It is still a single post-detail request.

What happens when I hit the free-plan limit?

Every call returns 429 with "You have used all free requests for this month. Upgrade your Apify plan to keep going." until the next calendar month, or until you move to a paid Apify plan.

Why did my request return 403?

Either Standby access isn't available on your current Apify plan, or your access to this Actor has been specifically restricted by its developer.

Can I retry a 502 or 503?

Yes. 502 means the request to the upstream data service failed; 503 means your plan/quota couldn't be checked. Neither is charged, and both are safe to retry after a short delay.

Can I use this from an AI agent or bot?

Yes. It's a plain HTTP JSON API with a published OpenAPI spec, so it fits LLM tool calls, bots, backends, and any no-code tool that can make HTTP requests.

Contact

Reddit API is published by epctex. Visit epctex.com to see all available products. For custom integrations, reach out through the chat box on epctex.com. For support, contact business@epctex.com.