Reddit API
Read Reddit posts, comments, users and communities with one EveryInfra API key. The API returns JSON, from $0.56 per 1,000 calls.
All you need is one API key, no Reddit account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 25 endpoints, one key
- Failed calls and empty results are not charged.
- No Reddit login needed
Real sample values for one post
POST /api/v1/social params {"url":"https://www.reddit.com/r/AskUS/comments/1uzedcq/is_coffee_really_a_daily_ritual_for_most_americans/"}
Platform availability
- 24h health
- 97%
Last 30 days
Available capabilities
Search Reddit posts, organize content by subreddit or user, and read individual post details and comments.
Use a subreddit name without a prefix, or the complete community URL. Keep post and parent-comment identifiers to organize discussions.
Search and trending words
- SearchAvailable · health 79%
Search Reddit posts from the past month by
keyword, with subreddit, author, text and like and comment counts, sorted by relevance unlesssortsays otherwise.search$0.79 per 1,000 callsEvery 10 rows count as one call - Search suggestionsNormal
Get what Reddit's search box suggests for the text typed so far.
search_suggest$0.79 per 1,000 calls - Trending searchesNormal
Read the Trending terms Reddit shows when the search box is empty, about 6 of them, in page order.
trending_searches$0.79 per 1,000 calls - Pain point researchNormal
Research what people complain about on Reddit for a product or topic
keyword.painpoint$72 per 1,000 callsEvery 5 rows count as one call
Posts
- Subreddit postsHealthy · health 100%
Browse the posts of a Reddit community by subreddit name, such as python, or URL.
subreddit_posts$0.56 per 1,000 callsEvery 10 rows count as one call - Post detailsHealthy · health 100%
Open a single Reddit post from its link.
post_detail$0.56 per 1,000 calls - Posts in bulkNormal
Look up as many as 20 Reddit posts at once from
urls, each a post link: a link containing/comments/<post_id>/, or aredd.it/<post_id>short link.posts_batch$0.56 per 1,000 callsEach element in urls counts as one call - Subreddit highlightsNormal
List the posts a subreddit's moderators pinned under Community highlights at the top of the community page.
subreddit_highlights$0.79 per 1,000 calls - Video post transcriptsNormal
Read the captions Reddit provides for a video post hosted on Reddit, from the post link in
url:textfor the full text andsegmentssentence by sentence with start and end seconds.post_transcript$0.79 per 1,000 calls
Charts and hot posts
- Trending postsNormal
Read the posts trending across Reddit right now, with no input needed.
trending_posts$0.56 per 1,000 calls - Popular postsNormal
Read the posts in Reddit's popular feed (r/popular).
popular_posts$0.79 per 1,000 calls - News postsNormal
Read the posts on Reddit's News page.
news_posts$0.79 per 1,000 calls - Games postsNormal
Read Reddit's Games page, one page per call: posts from Reddit's own games, such as daily crosswords and puzzles, with the same fields as
popular_posts.games_posts$0.79 per 1,000 calls
Comments
- CommentsHealthy · health 100%
Read the comments under one Reddit post, with up to five levels of nested replies.
comments$0.79 per 1,000 callsEvery 10 rows count as one call - Comments by linkNormal
Look up as many as 20 Reddit comments at once from
comment_urls, each the link to one comment, such as theurlof a comment returned bycomments.comments_lookup$0.79 per 1,000 calls - Comment repliesNormal
Read the replies under one Reddit comment from its link in
url(theurlof acommentsorcomments_lookuprow).comment_replies$0.79 per 1,000 calls
Users
- Posts by userNormal
Pull the posts a Reddit user has submitted, by username or /user/ URL.
user_posts$0.56 per 1,000 callsEvery 10 rows count as one call - Comments by userNormal
Read the comment history of one Reddit user, by username, u/name or profile URL.
user_comments$32.4 per 1,000 callsEvery 20 rows count as one call - ProfilesNormal
Get the profile of one Reddit user as a single object.
profile$0.79 per 1,000 calls - Active communitiesNormal
List the communities Reddit shows under active communities on a user's profile.
user_subreddits$0.79 per 1,000 calls - User achievementsNormal
List the achievements a user has unlocked, as shown under Achievements on their profile (for example 200-Day Streak or Top 1% Poster).
user_trophies$0.79 per 1,000 calls
Communities and discovery
- Subreddit infoHealthy · health 98%
Get the profile of one subreddit as a single object.
subreddit_info$0.79 per 1,000 calls - Subreddit rulesHealthy · health 96%
Get the rules of one subreddit as a single object.
subreddit_rules$0.79 per 1,000 calls - Topic communitiesNormal
List the communities under one topic of the explore page.
topic_subreddits$0.79 per 1,000 calls - ExploreNormal
Read Reddit's explore page (reddit.com/explore).
explore$0.79 per 1,000 calls
6 questions to ask before choosing a data API for Reddit
Does Reddit have an official API, and how is it different from this one?
Yes. Reddit offers the Data API, but access needs Reddit's explicit approval under its Responsible Builder Policy; free use is non-commercial and rate-limited to 100 queries per minute per OAuth client, and commercial use requires a separate written agreement with Reddit. With one EveryInfra API key, you can read public Reddit data in the same request format as other platforms, without applying for Reddit developer access.
Official sources: Reddit: Responsible Builder Policy · Reddit Data API Terms · Checked
Do I need to log in to Reddit or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, from $0.56 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged; when urls has several links, each link counts as one request. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this Reddit API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server. An agent can search Reddit content, read comments and look up accounts on its own.
What compliance points apply when using Reddit data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What Reddit data can I get?
Available Reddit capabilities (25): Search, Subreddit posts, Post details, Comments, Posts by user, Comments by user, Pain point research, Trending posts, Popular posts, News posts, Games posts, Subreddit highlights, Search suggestions, Trending searches, Active communities, User achievements, Explore, Topic communities, Subreddit info, Subreddit rules, Profiles, Posts in bulk, Comments by link, Comment replies, Video post transcripts. The parameters and response fields of each capability are in the API reference on this page.
Use cases
Find topics and pain points
Search posts by keyword, add search words from trending searches and search suggestions, then read the pain-point summary for a word.
Watch one community
Read the community profile and rules, then read the posts and the pinned posts of the community.
Usessubreddit_infosubreddit_rulessubreddit_postssubreddit_highlights
Read one discussion
Read the details and the comments of a post, open the replies below a comment, or read comments back in bulk by link.
Look up one account
Read the profile of a user, then the posts, comments, active communities and achievements of that user.
Usesprofileuser_postsuser_commentsuser_subredditsuser_trophies
Discover communities and hot posts
Find communities from the explore page and the topics, then read the site-wide hot and popular posts.
Reddit Data API vs EveryInfra
This compares how you get access to the Reddit Data API and to EveryInfra.
| Compared | Reddit Data API | EveryInfra |
|---|---|---|
| How you call it | "Clients must authenticate with a registered OAuth token." | Call it with an EveryInfra API key. You do not use a Reddit access token. |
The quote comes from the Reddit Data API Wiki page in the Reddit Help Center. The page shows no update date. Official sources: Reddit Data API Wiki
What does each Reddit action accept?
Parameter table for all 25 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000Blank rows: $0.79 | Response fields |
|---|---|---|---|---|---|
searchSearch Search Reddit posts from the past month by | keyword | include_post_text, sort | Catalog values: defaultLimit=10, maxLimit=25. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. A larger limit is accepted and capped at 25. | $0.79 per 1,000 requestsEvery 10 rows count as one call | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform |
subreddit_postsSubreddit posts Browse the posts of a Reddit community by subreddit name, such as python, or URL. Get author, text and like and comment counts, filtered by time window and sort order. For names that start with r, pass a full /r/ URL. Private and removed posts are not included. | subreddit | date_range, include_post_text, sort | Catalog values: defaultLimit=10, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 10 rows count as one call | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform |
post_detailPost details Open a single Reddit post from its link. Read the title, body, author, subreddit and like and comment counts. Comments are not included. Fetch them with | url | — | — | $0.56 per 1,000 requests | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform |
commentsComments Read the comments under one Reddit post, with up to five levels of nested replies. Each comment has text, author, score and time. It covers that post only, not a site-wide comment search. It may not capture every branch of the thread. | url | page_token | Catalog values: defaultLimit=10, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is billed by its row count, one call per 10 rows. | $0.79 per 1,000 requestsEvery 10 rows count as one call | id · text · author_username · like_count · community · url · posted_at · platform |
user_postsPosts by user Pull the posts a Reddit user has submitted, by username or /user/ URL. Get subreddit, text and like and comment counts, filtered by time window and sort order. Messages and private votes are excluded, and not every post is guaranteed. For usernames that start with u, pass a full URL. | username | date_range, include_post_text, sort | Catalog values: defaultLimit=10, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 10 rows count as one call | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform |
user_commentsComments by user Read the comment history of one Reddit user, by username, u/name or profile URL. Each comment has text, score, time and the title, ID and link of the post it was left on. Sort by newest (the default), top, popular or controversial, up to 200 comments per call. | username | sort | Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $32.4 per 1,000 requestsEvery 20 rows count as one call | id · text · author_username · like_count · post_id · post_title · url · posted_at · platform |
painpointPain point research Research what people complain about on Reddit for a product or topic | keyword | sort | Catalog values: defaultLimit=5, maxLimit=15. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $72 per 1,000 requestsEvery 5 rows count as one call | row_type · posts_scanned · posts_analyzed · comments_collected · negative_comment_count · positive_comment_count · pain_keywords · praise_keywords · communities · platform · id · title · url · community · like_count · comment_count · text · author_username · post_title |
trending_postsTrending posts Read the posts trending across Reddit right now, with no input needed. Each post has title, text, subreddit, author, score, comment count, post time, and the external link or image when there is one. Promoted posts are left out. 25 per page; page on with | page_token | Each call returns one page of up to 25 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | next_page_token · id · url · title · text · author_username · community · like_count · comment_count · posted_at · domain · external_link · image_urls · platform | |
popular_postsPopular posts Read the posts in Reddit's popular feed (r/popular). All inputs are optional. | country, date_range, sort | Catalog values: defaultLimit=25, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | id · url · title · text · author_username · community · like_count · comment_count · posted_at · domain · external_link · thumbnail_url · image_urls · platform | ||
news_postsNews posts Read the posts on Reddit's News page. The only input is an optional | — | Catalog values: defaultLimit=25, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | id · url · title · text · author_username · community · like_count · comment_count · posted_at · domain · external_link · thumbnail_url · image_urls · platform | ||
games_postsGames posts Read Reddit's Games page, one page per call: posts from Reddit's own games, such as daily crosswords and puzzles, with the same fields as | date_range, page_token, sort | Each call returns one page of up to 25 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform | ||
subreddit_highlightsSubreddit highlights List the posts a subreddit's moderators pinned under Community highlights at the top of the community page. | subreddit | limit | — | id · url · title · author_username · community · like_count · comment_count · thumbnail_url · platform | |
search_suggestSearch suggestions Get what Reddit's search box suggests for the text typed so far. | keyword | limit | — | row_type · keyword · rank · community · community_id · url · icon_url · weekly_visitor_count · is_nsfw · platform | |
trending_searchesTrending searches Read the Trending terms Reddit shows when the search box is empty, about 6 of them, in page order. This action takes no input. Each row has | limit | — | keyword · rank · url · platform | ||
user_subredditsActive communities List the communities Reddit shows under active communities on a user's profile. | username | limit | — | community · community_id · url · description · member_count · icon_url · platform | |
user_trophiesUser achievements List the achievements a user has unlocked, as shown under Achievements on their profile (for example 200-Day Streak or Top 1% Poster). | username | limit | — | id · name · description · icon_url · unlocked_at · unlock_count · rarity · platform | |
exploreExplore Read Reddit's explore page (reddit.com/explore). This action takes no input and returns the whole page in one call: first the top row of topics (about 26), then the sections of recommended communities. | limit | — | row_type · rank · topic_id · name · url · community · community_id · description · icon_url · weekly_visitor_count · section · platform | ||
topic_subredditsTopic communities List the communities under one topic of the explore page. | topic | limit | — | community · community_id · url · description · weekly_visitor_count · icon_url · section · rank · platform | |
subreddit_infoSubreddit info Get the profile of one subreddit as a single object. | subreddit | — | — | community · community_id · url · title · description · member_count · weekly_visitor_count · weekly_contribution_count · created_at · community_type · icon_url · banner_url · platform | |
subreddit_rulesSubreddit rules Get the rules of one subreddit as a single object. | subreddit | — | — | community · community_id · url · rules · menu_links · apps · icon_url · banner_url · platform | |
profileProfiles Get the profile of one Reddit user as a single object. | username | — | — | user_id · username · display_name · url · bio · avatar_url · banner_url · karma · post_karma · comment_karma · post_count · comment_count · created_at · is_premium · is_admin · is_nsfw · content_hidden · trophy_count · achievement_count · moderated_communities · platform | |
posts_batchPosts in bulk Look up as many as 20 Reddit posts at once from | urls | — | — | $0.56 per 1,000 requestsEach element in urls counts as one call | id · url · title · text · author_username · community · like_count · comment_count · posted_at · flair · domain · external_link · thumbnail_url · image_urls · platform · input |
comments_lookupComments by link Look up as many as 20 Reddit comments at once from | comment_urls | limit | — | id · text · author_username · like_count · community · url · posted_at · platform · post_title · post_url · input | |
comment_repliesComment replies Read the replies under one Reddit comment from its link in | url | limit | — | id · text · author_username · like_count · community · url · posted_at · platform · reply_to_id · depth · has_more_replies | |
post_transcriptVideo post transcripts Read the captions Reddit provides for a video post hosted on Reddit, from the post link in | url | — | — | post_id · url · title · media_type · has_transcript · reason · source · language · text · segment_count · segments · caption_url · duration_sec · duration_seconds · platform |
What each action's parameters mean (25 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the Reddit search parameters mean?
Search Reddit posts from the past month by keyword, with subreddit, author, text and like and comment counts, sorted by relevance unless sort says otherwise. Comment text is not searched, and older history is not guaranteed.
keywordRequired- Specifies the post search query for
search. Does not search full comment text. Defaults torelevancesorting; the time window is fixed to the past month. Only posts that contain every word of the query are returned (common words such as the, best or vs, and AND/OR, don't count): at least one in the title or community name and the rest anywhere in the post, or all of them close together in the title or body. Posts missing any word are dropped, so you may get fewer thanlimit; if none match, the call is refunded as an empty result. To get every post in a community, usesubreddit_posts. include_post_textOptional- Optional for
search,subreddit_postsanduser_posts, true or false (default false). With true, image, video and link posts also carry the text attached to them intext. Each post page is read for this, so the call is slower; a post whose text could not be read hastextnull. The price is the same. sortOptional- Orders Reddit post listings by
newest,popular,relevance,rising, ortop. Thepost_detailandcommentsactions do not acceptsort.Allowed values:controversialnewestpopularrelevancerisingtopReddit: Differences Among Relevance, Hot, Top, and New — Official Reddit documentation separates Hot (recent interactions) from Top (all-time high votes). On this page, popular corresponds to Hot, not Top; additional sorting and time filters on the official website do not imply that this endpoint supports those same parameters or combinations. · Checked
What do the Reddit subreddit_posts parameters mean?
Browse the posts of a Reddit community by subreddit name, such as python, or URL. Get author, text and like and comment counts, filtered by time window and sort order. For names that start with r, pass a full /r/ URL. Private and removed posts are not included.
Full API reference: parameters, code samples, response example and healthsubredditRequired- Specifies the target subreddit for
subreddit_posts, such aspythonor a full subreddit URL. For subreddit names that start withr, pass the full/r/subreddit/URL and check the result.Reddit: Community Scopes vs. Site-Wide Search — The Reddit Help Center distinguishes between searching within a specific community and site-wide search, where subreddit designates the community to which a post belongs. Referencing scope terminology here does not automatically port Boolean operators, Flair, or other filters from the official search box into this endpoint's capabilities. · Checked date_rangeOptional- Filters posts by time range for subreddit and user listings. Allowed values are
all_time,past_hour,past_day,past_week,past_month, andpast_year. Whether filtering applies depends on the result set when using fixed post URLs or unsupported sort orders. This cannot be used to filter comments by date.Allowed values:all_timepast_daypast_hourpast_monthpast_weekpast_year include_post_textOptional- Optional for
search,subreddit_postsanduser_posts, true or false (default false). With true, image, video and link posts also carry the text attached to them intext. Each post page is read for this, so the call is slower; a post whose text could not be read hastextnull. The price is the same. sortOptional- Orders Reddit post listings by
newest,popular,relevance,rising, ortop. Thepost_detailandcommentsactions do not acceptsort.Allowed values:newestpopularrelevancerisingtopReddit: Differences Among Relevance, Hot, Top, and New — Official Reddit documentation separates Hot (recent interactions) from Top (all-time high votes). On this page, popular corresponds to Hot, not Top; additional sorting and time filters on the official website do not imply that this endpoint supports those same parameters or combinations. · Checked
What do the Reddit post_detail parameters mean?
Open a single Reddit post from its link. Read the title, body, author, subreddit and like and comment counts. Comments are not included. Fetch them with comments and the same url.
urlRequired- Specifies the target post URL for
post_detailandcomments, typically containing/r/subreddit/comments/post_id/. Forcomments, this retrieves comments and up to five levels of nested replies for that specific post; it is not a global comment search.Reddit: Post Interaction Counts vs. Author Karma — Reddit describes karma as an approximate reflection of votes received on posts and comments, explicitly stating that upvotes and karma do not map one-to-one. This endpoint lacks an author karma field and does not convert like_count or single-post interaction tallies into account karma. · Checked
What do the Reddit comments parameters mean?
Read the comments under one Reddit post, with up to five levels of nested replies. Each comment has text, author, score and time. It covers that post only, not a site-wide comment search. It may not capture every branch of the thread.
Full API reference: parameters, code samples, response example and healthurlRequired- Specifies the target post URL for
post_detailandcomments, typically containing/r/subreddit/comments/post_id/. Forcomments, this retrieves comments and up to five levels of nested replies for that specific post; it is not a global comment search.Reddit: Single-Post Comment Search vs. Fetching Comments — Official Reddit documentation covers in-post comment searching within its website and apps. The comments endpoint on this page fetches comments strictly by post URL; it lacks a comment keyword parameter and does not support full-text comment search simply by referencing official feature descriptions. · Checked page_tokenOptional- Page token. To paginate, pass an empty string (
page_token="") for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged. Each page holds at leastlimitcomments (default 10, when that many remain), as whole Reddit pages of about 25, so often more. Each page counts as one call. Tokens last 24 hours, and the last page has nonext_page_token. A request withoutpage_tokenworks as before, returning at most 100 comments; it sometimes includes anext_page_tokenthat can be followed the same way. To paginate, start frompage_token="".
What do the Reddit user_posts parameters mean?
Pull the posts a Reddit user has submitted, by username or /user/ URL. Get subreddit, text and like and comment counts, filtered by time window and sort order. Messages and private votes are excluded, and not every post is guaranteed. For usernames that start with u, pass a full URL.
Full API reference: parameters, code samples, response example and healthusernameRequired- Specifies the username or full
/user/username/URL foruser_posts. For usernames that start withu, pass the full URL and check the result.user_commentsalso takes the username,u/usernameor a profile URL.Reddit: Public Content, Commercial Licensing, and User Rights Boundaries — Reddit's Public Content Policy strictly distinguishes between browsable content and licensed commercial usage, requiring commercial users to contact the platform and imposing restrictions such as sync deletion and sensitive profiling. Accessing public posts does not grant a platform license; private messages, private communities, and deleted content fall outside its public content licensing scope. · Checked date_rangeOptional- Filters posts by time range for subreddit and user listings. Allowed values are
all_time,past_hour,past_day,past_week,past_month, andpast_year. Whether filtering applies depends on the result set when using fixed post URLs or unsupported sort orders. This cannot be used to filter comments by date.Allowed values:all_timepast_daypast_hourpast_monthpast_weekpast_year include_post_textOptional- Optional for
search,subreddit_postsanduser_posts, true or false (default false). With true, image, video and link posts also carry the text attached to them intext. Each post page is read for this, so the call is slower; a post whose text could not be read hastextnull. The price is the same. sortOptional- Orders Reddit post listings by
newest,popular,relevance,rising, ortop. Thepost_detailandcommentsactions do not acceptsort.Allowed values:newestpopularrelevancerisingtop
What do the Reddit user_comments parameters mean?
Read the comment history of one Reddit user, by username, u/name or profile URL. Each comment has text, score, time and the title, ID and link of the post it was left on. Sort by newest (the default), top, popular or controversial, up to 200 comments per call.
Full API reference: parameters, code samples, response example and healthusernameRequired- One Reddit username whose comment history you want:
spez,u/spezorhttps://www.reddit.com/u/spezall work. One user per call. sortOptional- Comment order for
user_comments:newest(default),top,popularorcontroversial.Allowed values:controversialnewestpopulartop
What do the Reddit painpoint parameters mean?
Research what people complain about on Reddit for a product or topic keyword. One summary row gives the posts and comments read, negative and positive comment counts, the most repeated pain and praise words and the communities involved, followed by the top posts and the most upvoted negative comments in full. Pain and praise are decided by a word list, so treat the counts as rough signals. limit sets how many posts are analyzed (2 to 15).
keywordRequired- A product or topic to research, such as
standing desk. It is used to find Reddit discussions whose comments are then analyzed; it is not a comment search. sortOptional- How the discussions to analyze are picked:
relevance(default),popular,top,newestormost_commented. Trytopwhen a narrow keyword returns nothing.Allowed values:most_commentednewestpopularrelevancetop
What do the Reddit trending_posts parameters mean?
Read the posts trending across Reddit right now, with no input needed. Each post has title, text, subreddit, author, score, comment count, post time, and the external link or image when there is one. Promoted posts are left out. 25 per page; page on with next_page_token.
page_tokenOptional- Page token for
trending_posts. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received.
What do the Reddit popular_posts parameters mean?
Read the posts in Reddit's popular feed (r/popular). All inputs are optional. sort is popular (default, Reddit's Hot), newest, top, rising or controversial. date_range (past_hour, past_day, past_week, past_month, past_year or all_time) applies only when sort is top or controversial. country takes a two-letter code (such as US) or global. limit runs from 1 to 100 (default 25). An unrecognized sort, date_range or country returns 422 and is not charged. text leaves out the text attached to image, video and link posts; pass the post url to post_detail for that. Unlike trending_posts, which takes no input and pages 25 posts at a time with page_token, this action returns up to 100 posts per call.
countryOptional- Country whose popular posts to read: a two-letter code such as
US,GB,DEorJP, orglobal. Leave it out and Reddit decides. An unrecognized value returns 422 and is not charged. date_rangeOptional- Time range for
popular_posts:past_hour,past_day,past_week,past_month,past_yearorall_time. It takes effect only whensortistoporcontroversial; with any other sort it does nothing. An unrecognized value returns 422 and is not charged.Allowed values:all_timepast_daypast_hourpast_monthpast_weekpast_year sortOptional- Order of the posts:
popular(default, Reddit's Hot),newest,top,risingorcontroversial. An unrecognized value returns 422 and is not charged.Allowed values:controversialnewestpopularrisingtop
What do the Reddit news_posts parameters mean?
Read the posts on Reddit's News page. The only input is an optional limit (1 to 100, default 25). Nearly all rows are link posts: external_link is the address of the news article and thumbnail_url is its preview image. Fields are the same as popular_posts (id, url, title, text, author_username, community, like_count, comment_count, posted_at, domain, external_link, thumbnail_url, image_urls; no flair). There is one order only, the one Reddit uses.
This action has no business parameters. Send only the platform and action identifiers.
What do the Reddit games_posts parameters mean?
Read Reddit's Games page, one page per call: posts from Reddit's own games, such as daily crosswords and puzzles, with the same fields as popular_posts. The first page has about 5 rows, including the Featured Games and Explore by Category section cards; later pages have about 25. There is no limit; pass next_page_token back as page_token. sort and date_range work as in popular_posts.
date_rangeOptional- Time window, used only with
sort=toporcontroversial:past_hour,past_day,past_week,past_month,past_yearorall_time.Allowed values:all_timepast_daypast_hourpast_monthpast_weekpast_year page_tokenOptional- Page token. Leave it out for the first page (about 5 rows), then pass back the previous response's
next_page_tokenexactly as received; later pages have about 25 rows. Each page is one call. sortOptional- Sort order:
popular(default),newest,top,risingorcontroversial.Allowed values:controversialnewestpopularrisingtop
What do the Reddit subreddit_highlights parameters mean?
List the posts a subreddit's moderators pinned under Community highlights at the top of the community page. subreddit is required. All highlights come back in one call, so there is no limit; a community with none returns an empty result. Each row has only id, url, title, author_username, community, like_count, comment_count and thumbnail_url. For the text and posting time, pass the row's url to post_detail.
subredditRequired- The community whose pinned posts you want: a name (
pythonorr/python) or a community link. One community per call. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit search_suggest parameters mean?
Get what Reddit's search box suggests for the text typed so far. keyword is required and can be just the first few letters. One call returns the whole dropdown: about 5 completions and about 5 communities, told apart by row_type. A keyword row has keyword and rank. A community row has community, community_id, url, icon_url, weekly_visitor_count, is_nsfw and rank. Here weekly_visitor_count is the rounded figure the dropdown shows (93K is recorded as 93000) and not every row has it; use subreddit_info for the exact value. Communities with adult content (NSFW) are not included.
keywordRequired- The text already typed in the search box; the first few letters are enough.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit trending_searches parameters mean?
Read the Trending terms Reddit shows when the search box is empty, about 6 of them, in page order. This action takes no input. Each row has keyword, rank and url, the Reddit search link for that term.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit user_subreddits parameters mean?
List the communities Reddit shows under active communities on a user's profile. username is required, written as in profile. Reddit lists only a few, and they all come back in one call, so there is no limit. Each row has community, community_id, url, description, member_count and icon_url. The result is empty when the user has hidden their content or is active only in private communities; check content_hidden in profile first. A user who does not exist returns an empty result.
usernameRequired- One Reddit user:
spez,u/spezor a profile link. One user per call. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit user_trophies parameters mean?
List the achievements a user has unlocked, as shown under Achievements on their profile (for example 200-Day Streak or Top 1% Poster). username is required, written as in profile. Everything comes back in one call, so there is no limit. Each row has id (Reddit's achievement ID, such as 700-day-streak), name (in English), description (in English, how to unlock it; some achievements have none), icon_url, unlocked_at, unlock_count (how many times a repeatable achievement was earned; 1 for the rest) and rarity (common, rare, epic or legendary; a newly added achievement may not have one yet). Older trophies from the Trophy Case are not included; their number is trophy_count in profile. A user who does not exist or has been banned returns an empty result.
usernameRequired- One Reddit user:
spez,u/spezor a profile link. One user per call. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit explore parameters mean?
Read Reddit's explore page (reddit.com/explore). This action takes no input and returns the whole page in one call: first the top row of topics (about 26), then the sections of recommended communities. row_type tells the rows apart. A topic row has topic_id (starts with tx1_, or is most_visited), name, url and rank. A community row has community, community_id, url, description, icon_url, weekly_visitor_count, section (the title of its section) and rank. Pass a topic_id to topic_subreddits as topic. The sections and communities are the ones Reddit has at that moment, so they differ between calls.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit topic_subreddits parameters mean?
List the communities under one topic of the explore page. topic is required: the topic_id of a topic row from explore (such as tx1_29m4k39, or most_visited), or the topic's English name (such as technology). The communities come back grouped by subtopic, named in section (for Technology, for example, Programming and 3D Printing), about 10 per section and about 100 in all, in one call with no limit. Each row has community, community_id, url, description, icon_url, weekly_visitor_count, section and rank. Only the top-row topics of the explore page are recognized; any other topic returns an empty result.
topicRequired- The topic to read: the
topic_idof atopicrow fromexplore(such astx1_29m4k39, ormost_visited), or the topic's English name (such astechnology). Only the top-row topics of the explore page are recognized. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit subreddit_info parameters mean?
Get the profile of one subreddit as a single object. subreddit is required: a community name (python or r/python) or a community link, one per call. The object has community (the name without r/), community_id (starts with t5_), url, title, description, member_count (a few requests come back without it), weekly_visitor_count and weekly_contribution_count (the weekly visitors and contributions shown on the community page), created_at, community_type (public, restricted or private), icon_url and banner_url. A community that does not exist, is private or has been banned returns an empty result. Rules and menu links are in subreddit_rules.
subredditRequired- The community to look up: a name (
pythonorr/python) or a community link. One community per call.
What do the Reddit subreddit_rules parameters mean?
Get the rules of one subreddit as a single object. subreddit is required, written as in subreddit_info. The object has community, community_id, url, rules (an array; each item has name and description), menu_links (the links in the community's top menu; each has text and url), apps (an array of the Reddit apps the community has installed), icon_url and banner_url. A community that does not exist, is private or has been banned returns an empty result.
subredditRequired- The community whose rules you want: a name (
pythonorr/python) or a community link. One community per call.
What do the Reddit profile parameters mean?
Get the profile of one Reddit user as a single object. username is required: spez, u/spez or a profile link, one user per call. Fields: user_id (starts with t2_), username, display_name, url, bio, avatar_url, banner_url, karma (the total), post_karma, comment_karma, post_count, comment_count (Reddit updates both counts about every 24 hours, and a few requests come back without them), created_at (the sign-up date, precise only to the day), is_premium, is_admin (a Reddit staff account), is_nsfw, content_hidden, trophy_count, achievement_count and moderated_communities. When content_hidden is true, user_posts, user_comments and user_subreddits return empty results. There is no follower count, because Reddit does not show one. A user who does not exist or has been banned returns an empty result.
usernameRequired- One Reddit user:
spez,u/spezor a profile link. One user per call.
What do the Reddit posts_batch parameters mean?
Look up as many as 20 Reddit posts at once from urls, each a post link: a link containing /comments/<post_id>/, or a redd.it/<post_id> short link. Each post found is one row with the same fields as post_detail (title, text, author, community, score, comment count, post time, flair and images), plus input, the entry you passed. Comments are not included; fetch them with comments. Billed per post at the same price as a single post_detail call; posts not found (deleted, removed, private community, wrong ID) are not charged and come back in missed. List each post once; an invalid array is rejected with a 422 before any charge.
urlsRequired- Reddit post links for
posts_batch, as an array of up to 20 entries; a comma-separated string is not accepted. Each entry is the link to one post: a link containing/comments/<post_id>/, with or without the/r/<subreddit>/prefix, or aredd.it/<post_id>short link. Share links of the form/r/<subreddit>/s/<code>are not accepted. List each post once; the same post written as two different links counts as a duplicate. A request with an unrecognized entry, a duplicate or more than 20 entries is rejected with a 422 before any charge, and so is alimitsmaller than the number of entries, so leavelimitout. Billed per post; posts not found (deleted, removed, in a private community, wrong ID) are not charged and are listed inmissed.
What do the Reddit comments_lookup parameters mean?
Look up as many as 20 Reddit comments at once from comment_urls, each the link to one comment, such as the url of a comment returned by comments. Use it when you already hold comment links and want their current text and score, or want to know whether they still exist, without paging through the thread again. Each comment read is one row with the same fields as a comments row, plus the post_title and post_url of its post and input, the entry you passed. Replies to the post and nested replies both work. A comment ID alone is not enough. Billed per request, not per comment. A comment that is gone produces no row and there is no missed list, so match rows with input. A request that reads none is not charged. An invalid array is rejected with a 422 before any charge.
comment_urlsRequired- Reddit comment links for
comments_lookup, as an array of up to 20 entries; a comma-separated string is not accepted. Each entry is the link to one comment itself, such as theurlof a comment returned bycomments:https://www.reddit.com/r/<subreddit>/comments/<post_id>/comment/<comment_id>/. The older/comments/<post_id>/<title>/<comment_id>/form,old.reddit.comlinks and links with a query string such as?context=3also work. A comment ID alone is not enough, because Reddit finds a comment by post ID plus comment ID, and a post link is not a comment link. Theurlthatuser_commentsreturns points to the post, so it cannot be used here. List each comment once. A request with an unrecognized entry, a duplicate or more than 20 entries is rejected with a 422 before any charge, and so is alimitsmaller than the number of entries. Billed per request, not per comment; comments not read (deleted, or not under that post) produce no row, so match the rows to your entries withinput. A request that reads none is not charged. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit comment_replies parameters mean?
Read the replies under one Reddit comment from its link in url (the url of a comments or comments_lookup row). One call returns one batch of about 10 replies, including replies to replies, as a flat list with the same fields as comments plus reply_to_id and depth. There is no paging: when a row's has_more_replies is true, call again with that row's url. A comment with no replies returns an empty result and is not charged.
urlRequired- One Reddit comment link, such as the
urlof a row fromcommentsorcomments_lookup(…/comments/<post ID>/comment/<comment ID>/). A bare comment ID is not enough. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the Reddit post_transcript parameters mean?
Read the captions Reddit provides for a video post hosted on Reddit, from the post link in url: text for the full text and segments sentence by sentence with start and end seconds. It reads captions only and does not transcribe speech. A post with no captions, or a caption file that could not be read this time, returns 503 and is not charged.
urlRequired- The link of a video post hosted on Reddit. It returns the captions Reddit provides for the video and does not transcribe speech. A link that is not recognized returns 422 and is not charged; a post without captions returns 503 and is not charged.
How to use the Reddit API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"reddit","action":"search","params":{"keyword":"<keyword>"}}'
Reddit guides
Worked examples and methods built on these actions. Check the current actions, parameters and fields on this page first; an article's examples and limits do not replace the live catalog.
Reddit Comment Scraping: MoreComments, replace_more and 14 Threads Tested
Reddit comment scraping misses data quietly. MoreComments hides subtrees and replace_more stops at 32. We tested 14 threads three times to measure the gap.
Read the articleMultiplatform Reputation Monitoring Blueprint: Define Scope Before Evaluating Negative Shifts
Design a traceable reputation monitoring workflow starting with target lists, comment identities, and incremental cursors; use offline samples to demonstrate deduplication and ingestion gaps while preserving manual review.
Read the articleUnified Data API Getting Started: From Capability Catalog to First Available Result
Access multi-platform data using platform, action, and params: read the capability catalog, complete minimal requests, handle asynchronous tasks, partial results, and billing, and establish traceable data records.
Read the articleReddit API questions
What can I retrieve with the Reddit API?
Set platform to reddit. The current catalog lists search, subreddit posts, post details, comments, posts by user, and more. These action names identify different Reddit objects or views; they are not interchangeable search modes.
Which input starts the Reddit search request?
Specifies the post search query for search. Does not search full comment text. Defaults to relevance sorting; the time window is fixed to the past month. Only posts that contain every word of the query are returned (common words such as the, best or vs, and AND/OR, don't count): at least one in the title or community name and the rest anywhere in the post, or all of them close together in the title or body. Posts missing any word are dropped, so you may get fewer than limit; if none match, the call is refunded as an empty result. To get every post in a community, use subreddit_posts. Send it as keyword inside params.
Which fields can Reddit search return?
Its declared schema includes title, text, author_username, and community. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every Reddit action return immediately?
Actions labeled asynchronous return a job ID you poll. posts_batch runs synchronously only: it reads everything it returns (every target of a batch, or every SKU of a product) within the same call, and a request with "mode": "async" gets a 422 before anything is charged. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.