# Reddit API

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.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "reddit", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/reddit-api](https://everyinfra.com/en/reddit-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
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.
- Sync delivery · Price: $0.79 per 1,000 requests (every 10 rows count as one call)
- 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.
- Parameters:
  - `keyword` (required): 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`.
  - `include_post_text` (optional): Optional for `search`, `subreddit_posts` and `user_posts`, true or false (default false). With true, image, video and link posts also carry the text attached to them in `text`. Each post page is read for this, so the call is slower; a post whose text could not be read has `text` null. The price is the same.
  - `sort` (optional): Orders Reddit post listings by `newest`, `popular`, `relevance`, `rising`, or `top`. The `post_detail` and `comments` actions do not accept `sort`. One of: controversial, newest, popular, relevance, rising, top.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/search](https://everyinfra.com/en/reddit-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/search.md)

### subreddit_posts — Subreddit 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.
- Sync delivery · Price: $0.56 per 1,000 requests (every 10 rows count as one call)
- 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.
- Parameters:
  - `subreddit` (required): Specifies the target subreddit for `subreddit_posts`, such as `python` or a full subreddit URL. For subreddit names that start with `r`, pass the full `/r/subreddit/` URL and check the result.
  - `date_range` (optional): Filters posts by time range for subreddit and user listings. Allowed values are `all_time`, `past_hour`, `past_day`, `past_week`, `past_month`, and `past_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. One of: all_time, past_day, past_hour, past_month, past_week, past_year.
  - `include_post_text` (optional): Optional for `search`, `subreddit_posts` and `user_posts`, true or false (default false). With true, image, video and link posts also carry the text attached to them in `text`. Each post page is read for this, so the call is slower; a post whose text could not be read has `text` null. The price is the same.
  - `sort` (optional): Orders Reddit post listings by `newest`, `popular`, `relevance`, `rising`, or `top`. The `post_detail` and `comments` actions do not accept `sort`. One of: newest, popular, relevance, rising, top.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/subreddit_posts](https://everyinfra.com/en/reddit-api/subreddit_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/subreddit_posts.md)

### post_detail — Post 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 `comments` and the same `url`.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `url` (required): Specifies the target post URL for `post_detail` and `comments`, typically containing `/r/subreddit/comments/post_id/`. For `comments`, this retrieves comments and up to five levels of nested replies for that specific post; it is not a global comment search.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/post_detail](https://everyinfra.com/en/reddit-api/post_detail?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/post_detail.md)

### comments — Comments
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.
- Sync delivery · Price: $0.79 per 1,000 requests (every 10 rows count as one call)
- 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.
- Parameters:
  - `url` (required): Specifies the target post URL for `post_detail` and `comments`, typically containing `/r/subreddit/comments/post_id/`. For `comments`, this retrieves comments and up to five levels of nested replies for that specific post; it is not a global comment search.
  - `page_token` (optional): Page token. To paginate, pass an empty string (`page_token=""`) for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page holds at least `limit` comments (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 no `next_page_token`. A request without `page_token` works as before, returning at most 100 comments; it sometimes includes a `next_page_token` that can be followed the same way. To paginate, start from `page_token=""`.
- Returns fields: id, text, author_username, like_count, community, url, posted_at, platform
- Capability page: [https://everyinfra.com/en/reddit-api/comments](https://everyinfra.com/en/reddit-api/comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/comments.md)

### user_posts — Posts 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.
- Sync delivery · Price: $0.56 per 1,000 requests (every 10 rows count as one call)
- 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.
- Parameters:
  - `username` (required): Specifies the username or full `/user/username/` URL for `user_posts`. For usernames that start with `u`, pass the full URL and check the result. `user_comments` also takes the username, `u/username` or a profile URL.
  - `date_range` (optional): Filters posts by time range for subreddit and user listings. Allowed values are `all_time`, `past_hour`, `past_day`, `past_week`, `past_month`, and `past_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. One of: all_time, past_day, past_hour, past_month, past_week, past_year.
  - `include_post_text` (optional): Optional for `search`, `subreddit_posts` and `user_posts`, true or false (default false). With true, image, video and link posts also carry the text attached to them in `text`. Each post page is read for this, so the call is slower; a post whose text could not be read has `text` null. The price is the same.
  - `sort` (optional): Orders Reddit post listings by `newest`, `popular`, `relevance`, `rising`, or `top`. The `post_detail` and `comments` actions do not accept `sort`. One of: newest, popular, relevance, rising, top.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/user_posts](https://everyinfra.com/en/reddit-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/user_posts.md)

### user_comments — Comments 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.
- Sync delivery · Price: $32.4 per 1,000 requests (every 20 rows count as one call)
- 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.
- Parameters:
  - `username` (required): One Reddit username whose comment history you want: `spez`, `u/spez` or `https://www.reddit.com/u/spez` all work. One user per call.
  - `sort` (optional): Comment order for `user_comments`: `newest` (default), `top`, `popular` or `controversial`. One of: controversial, newest, popular, top.
- Returns fields: id, text, author_username, like_count, post_id, post_title, url, posted_at, platform
- Capability page: [https://everyinfra.com/en/reddit-api/user_comments](https://everyinfra.com/en/reddit-api/user_comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/user_comments.md)

### painpoint — Pain point research
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).
- Sync delivery · Price: $72 per 1,000 requests (every 5 rows count as one call)
- 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.
- Parameters:
  - `keyword` (required): 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.
  - `sort` (optional): How the discussions to analyze are picked: `relevance` (default), `popular`, `top`, `newest` or `most_commented`. Try `top` when a narrow keyword returns nothing. One of: most_commented, newest, popular, relevance, top.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/reddit-api/painpoint](https://everyinfra.com/en/reddit-api/painpoint?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/painpoint.md)

### trending_posts — Trending 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 `next_page_token`.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `page_token` (optional): Page token for `trending_posts`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received.
- Returns fields: next_page_token, id, url, title, text, author_username, community, like_count, comment_count, posted_at, domain, external_link, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/trending_posts](https://everyinfra.com/en/reddit-api/trending_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/trending_posts.md)

### popular_posts — Popular posts
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- 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.
- Parameters:
  - `country` (optional): Country whose popular posts to read: a two-letter code such as `US`, `GB`, `DE` or `JP`, or `global`. Leave it out and Reddit decides. An unrecognized value returns 422 and is not charged.
  - `date_range` (optional): Time range for `popular_posts`: `past_hour`, `past_day`, `past_week`, `past_month`, `past_year` or `all_time`. It takes effect only when `sort` is `top` or `controversial`; with any other sort it does nothing. An unrecognized value returns 422 and is not charged. One of: all_time, past_day, past_hour, past_month, past_week, past_year.
  - `sort` (optional): Order of the posts: `popular` (default, Reddit's Hot), `newest`, `top`, `rising` or `controversial`. An unrecognized value returns 422 and is not charged. One of: controversial, newest, popular, rising, top.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/popular_posts](https://everyinfra.com/en/reddit-api/popular_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/popular_posts.md)

### news_posts — News posts
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- 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.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/news_posts](https://everyinfra.com/en/reddit-api/news_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/news_posts.md)

### games_posts — Games 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 `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`.
- Sync delivery · Price: $0.79 per 1,000 requests
- 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.
- Parameters:
  - `date_range` (optional): Time window, used only with `sort=top` or `controversial`: `past_hour`, `past_day`, `past_week`, `past_month`, `past_year` or `all_time`. One of: all_time, past_day, past_hour, past_month, past_week, past_year.
  - `page_token` (optional): Page token. Leave it out for the first page (about 5 rows), then pass back the previous response's `next_page_token` exactly as received; later pages have about 25 rows. Each page is one call.
  - `sort` (optional): Sort order: `popular` (default), `newest`, `top`, `rising` or `controversial`. One of: controversial, newest, popular, rising, top.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform
- Capability page: [https://everyinfra.com/en/reddit-api/games_posts](https://everyinfra.com/en/reddit-api/games_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/games_posts.md)

### subreddit_highlights — Subreddit highlights
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`.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `subreddit` (required): The community whose pinned posts you want: a name (`python` or `r/python`) or a community link. One community per call.
  - `limit` (optional): 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.
- Returns fields: id, url, title, author_username, community, like_count, comment_count, thumbnail_url, platform
- Capability page: [https://everyinfra.com/en/reddit-api/subreddit_highlights](https://everyinfra.com/en/reddit-api/subreddit_highlights?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/subreddit_highlights.md)

### search_suggest — Search suggestions
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `keyword` (required): The text already typed in the search box; the first few letters are enough.
  - `limit` (optional): 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.
- Returns fields: row_type, keyword, rank, community, community_id, url, icon_url, weekly_visitor_count, is_nsfw, platform
- Capability page: [https://everyinfra.com/en/reddit-api/search_suggest](https://everyinfra.com/en/reddit-api/search_suggest?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/search_suggest.md)

### trending_searches — Trending 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 `keyword`, `rank` and `url`, the Reddit search link for that term.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `limit` (optional): 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.
- Returns fields: keyword, rank, url, platform
- Capability page: [https://everyinfra.com/en/reddit-api/trending_searches](https://everyinfra.com/en/reddit-api/trending_searches?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/trending_searches.md)

### user_subreddits — Active communities
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `username` (required): One Reddit user: `spez`, `u/spez` or a profile link. One user per call.
  - `limit` (optional): 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.
- Returns fields: community, community_id, url, description, member_count, icon_url, platform
- Capability page: [https://everyinfra.com/en/reddit-api/user_subreddits](https://everyinfra.com/en/reddit-api/user_subreddits?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/user_subreddits.md)

### user_trophies — User 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` 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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `username` (required): One Reddit user: `spez`, `u/spez` or a profile link. One user per call.
  - `limit` (optional): 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.
- Returns fields: id, name, description, icon_url, unlocked_at, unlock_count, rarity, platform
- Capability page: [https://everyinfra.com/en/reddit-api/user_trophies](https://everyinfra.com/en/reddit-api/user_trophies?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/user_trophies.md)

### explore — Explore
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `limit` (optional): 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.
- Returns fields: row_type, rank, topic_id, name, url, community, community_id, description, icon_url, weekly_visitor_count, section, platform
- Capability page: [https://everyinfra.com/en/reddit-api/explore](https://everyinfra.com/en/reddit-api/explore?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/explore.md)

### topic_subreddits — Topic communities
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `topic` (required): The topic to read: 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`). Only the top-row topics of the explore page are recognized.
  - `limit` (optional): 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.
- Returns fields: community, community_id, url, description, weekly_visitor_count, icon_url, section, rank, platform
- Capability page: [https://everyinfra.com/en/reddit-api/topic_subreddits](https://everyinfra.com/en/reddit-api/topic_subreddits?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/topic_subreddits.md)

### subreddit_info — Subreddit info
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`.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `subreddit` (required): The community to look up: a name (`python` or `r/python`) or a community link. One community per call.
- Returns fields: community, community_id, url, title, description, member_count, weekly_visitor_count, weekly_contribution_count, created_at, community_type, icon_url, banner_url, platform
- Capability page: [https://everyinfra.com/en/reddit-api/subreddit_info](https://everyinfra.com/en/reddit-api/subreddit_info?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/subreddit_info.md)

### subreddit_rules — Subreddit rules
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `subreddit` (required): The community whose rules you want: a name (`python` or `r/python`) or a community link. One community per call.
- Returns fields: community, community_id, url, rules, menu_links, apps, icon_url, banner_url, platform
- Capability page: [https://everyinfra.com/en/reddit-api/subreddit_rules](https://everyinfra.com/en/reddit-api/subreddit_rules?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/subreddit_rules.md)

### profile — Profiles
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `username` (required): One Reddit user: `spez`, `u/spez` or a profile link. One user per call.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/reddit-api/profile](https://everyinfra.com/en/reddit-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/profile.md)

### posts_batch — Posts in bulk
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.
- Sync delivery · Price: $0.56 per 1,000 requests (each element in urls counts as one call)
- Parameters:
  - `urls` (required): 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 a `redd.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 a `limit` smaller than the number of entries, so leave `limit` out. Billed per post; posts not found (deleted, removed, in a private community, wrong ID) are not charged and are listed in `missed`.
- Returns fields: id, url, title, text, author_username, community, like_count, comment_count, posted_at, flair, domain, external_link, thumbnail_url, image_urls, platform, input
- Capability page: [https://everyinfra.com/en/reddit-api/posts_batch](https://everyinfra.com/en/reddit-api/posts_batch?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/posts_batch.md)

### comments_lookup — Comments by link
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `comment_urls` (required): 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 the `url` of a comment returned by `comments`: `https://www.reddit.com/r/<subreddit>/comments/<post_id>/comment/<comment_id>/`. The older `/comments/<post_id>/<title>/<comment_id>/` form, `old.reddit.com` links and links with a query string such as `?context=3` also 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. The `url` that `user_comments` returns 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 a `limit` smaller 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 with `input`. A request that reads none is not charged.
  - `limit` (optional): 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.
- Returns fields: id, text, author_username, like_count, community, url, posted_at, platform, post_title, post_url, input
- Capability page: [https://everyinfra.com/en/reddit-api/comments_lookup](https://everyinfra.com/en/reddit-api/comments_lookup?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/comments_lookup.md)

### comment_replies — Comment replies
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `url` (required): One Reddit comment link, such as the `url` of a row from `comments` or `comments_lookup` (…/comments/<post ID>/comment/<comment ID>/). A bare comment ID is not enough.
  - `limit` (optional): 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.
- Returns fields: id, text, author_username, like_count, community, url, posted_at, platform, reply_to_id, depth, has_more_replies
- Capability page: [https://everyinfra.com/en/reddit-api/comment_replies](https://everyinfra.com/en/reddit-api/comment_replies?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/comment_replies.md)

### post_transcript — Video post transcripts
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- Parameters:
  - `url` (required): 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.
- Returns fields: post_id, url, title, media_type, has_transcript, reason, source, language, text, segment_count, segments, caption_url, duration_sec, duration_seconds, platform
- Capability page: [https://everyinfra.com/en/reddit-api/post_transcript](https://everyinfra.com/en/reddit-api/post_transcript?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/reddit-api/post_transcript.md)

## Reddit 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.

### Does Reddit have an official API?

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.

Official sources (checked 2026-10-16): [Reddit: Responsible Builder Policy](https://support.reddithelp.com/hc/en-us/articles/42728983564564) · [Reddit Data API Terms](https://redditinc.com/policies/data-api-terms)

### Do I need a Reddit developer account or API key?

No. Requests go through EveryInfra with an EveryInfra API key: sign up, create a key in the console and send it as `Authorization: Bearer <API_KEY>`. You do not register a Reddit developer app, apply for Reddit API access or sign in with a Reddit account, and the actions return public Reddit data only.

### How much does the Reddit API cost per 1,000 requests?

each action's price is listed in the table on this page and in the public catalog. There is no subscription: you top up a USD balance and pay per call, and failed calls and empty results are not charged.

### 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.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=reddit
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
