OXYGENOXYGEN
← All integrations
Reddit logo

Reddit

Read subreddits, posts, and comments.

SocialOAuth23 endpoints

Endpoints

OperationMethod & pathEffectLatencyRateCost
REDDIT_CREATE_REDDIT_POST
Creates a new text or link post on a specified, existing Reddit subreddit, optionally applying a flair. Immediately publishes publicly visible content — confirm subreddit, title, and body with the user before executing. Posts may be silently removed post-submission by automoderator or subreddit rules (errors: SUBMIT_VALIDATION_BODY_BLACKLISTED_STRING, POST_GUIDANCE_VALIDATION_FAILED); verify visibility via the returned permalink. Rapid consecutive calls trigger RATELIMIT errors with cooldown hints.
POST /composio/reddit/reddit_create_reddit_postexternal_sendmanaged
REDDIT_DELETE_REDDIT_COMMENT
Deletes a Reddit comment, identified by its fullname ID, if it was authored by the authenticated user. Deletion is permanent and irreversible.
POST /composio/reddit/reddit_delete_reddit_commentexternal_sendmanaged
REDDIT_DELETE_REDDIT_POST
Permanently and irreversibly deletes a Reddit post by its ID. Confirm with the user before calling. Only works on posts authored by the authenticated account; attempting to delete another user's post will fail.
POST /composio/reddit/reddit_delete_reddit_postexternal_sendmanaged
REDDIT_EDIT_REDDIT_COMMENT_OR_POST
Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.
POST /composio/reddit/reddit_edit_reddit_comment_or_postexternal_sendmanaged
REDDIT_GET
Tool to retrieve a listing of Reddit posts sorted by the specified criteria (hot, new, top, rising, controversial, best). Use when you need to get posts from the Reddit front page or all of Reddit with a specific sort order. Supports pagination and time filtering for top and controversial sorts. For new controversial-post workflows, prefer GET_CONTROVERSIAL; this action retains controversial support for backward compatibility. Use GET_RANDOM for random posts.
POST /composio/reddit/reddit_getexternal_sendmanaged
REDDIT_GET_CONTROVERSIAL_POSTS
Tool to retrieve controversial posts from all subreddits with time filters. Use when you need to find the most controversial posts across Reddit from a specific time period (hour, day, week, month, year, or all-time). Returns a paginated listing of posts ranked by controversy within the specified time frame.
GET /composio/reddit/reddit_get_controversial_postsnonemanaged
REDDIT_GET_ME_PREFS
Tool to retrieve preference settings of the logged in user. Use when you need to check user preferences or settings.
GET /composio/reddit/reddit_get_me_prefsnonemanaged
REDDIT_GET_NEW
DEPRECATED: Use RetrieveRedditPost instead. Tool to retrieve newest posts from a subreddit sorted by creation time. Use when you need to find the most recently submitted posts to discover fresh content. Returns a paginated listing of posts ranked by newest first.
GET /composio/reddit/reddit_get_newnonemanaged
REDDIT_GET_RANDOM
Tool to retrieve a random public Reddit post from any subreddit. Use when you want to discover serendipitous content or need a random post for testing or entertainment purposes.
GET /composio/reddit/reddit_get_randomnonemanaged
REDDIT_GET_REDDIT_USER_ABOUT
Retrieves information about a specified Reddit user account, including karma scores and gold status. Use when you need to get profile information for any public Reddit user.
GET /composio/reddit/reddit_get_reddit_user_aboutnonemanaged
REDDIT_GET_R_TOP
DEPRECATED: Use RetrieveRedditPost with sort='top' and time_filter set instead - it now supports the same hour/day/week/month/year/all time filtering. Tool to retrieve top-rated posts from a subreddit with time filters. Use when you need to find the most popular posts from a specific time period (hour, day, week, month, year, or all-time). Returns a paginated listing of posts ranked by score within the specified time frame.
GET /composio/reddit/reddit_get_r_topnonemanaged
REDDIT_GET_SCOPES
Tool to retrieve all available OAuth scopes supported by the Reddit API. Use when you need to understand what permissions are available or check scope definitions.
GET /composio/reddit/reddit_get_scopesnonemanaged
REDDIT_GET_SUBREDDIT_RULES
Fetch the explicit posting rules for a subreddit to ensure compliance before posting or commenting. Use when you need to verify content meets community guidelines or explain subreddit requirements to users.
GET /composio/reddit/reddit_get_subreddit_rulesnonemanaged
REDDIT_GET_SUBREDDITS_SEARCH
Tool to search subreddits by title and description. Use when you need to find subreddits matching a specific topic or keyword. Returns a paginated listing of subreddits with their details including subscribers, descriptions, and other metadata.
GET /composio/reddit/reddit_get_subreddits_searchnonemanaged
REDDIT_GET_USER_FLAIR
Fetches the list of user flair assignments for a given subreddit. Returns paginated results with user flair details. Returned flair_id values are scoped to the specific subreddit and must not be reused across different subreddits.
GET /composio/reddit/reddit_get_user_flairnonemanaged
REDDIT_GET_USERNAME_AVAILABLE
Tool to check whether a username is available for registration on Reddit. Use when you need to verify if a username can be used to create a new account.
GET /composio/reddit/reddit_get_username_availablenonemanaged
REDDIT_LIST_SUBREDDIT_POST_FLAIRS
List available link/post flairs for a subreddit (including flair_template_id) so posts can satisfy flair-required validation. Use when you need to discover valid flair IDs before creating a post in a subreddit that requires flair. Note: Reddit may return empty or deny access if the authenticated user cannot set link flair and is not a moderator.
GET /composio/reddit/reddit_list_subreddit_post_flairsnonemanaged
REDDIT_POST_REDDIT_COMMENT
Posts a comment on Reddit, replying to an existing submission (post) or another comment. Fails if the target thread is locked, archived, or restricted — verify thread state beforehand. Rapid successive calls trigger Reddit RATELIMIT errors with explicit cooldown hints (e.g., 'take a break for 9 minutes'); honor the specified wait before retrying. A successful API response does not guarantee public visibility — automod or spam filters may silently remove the comment. Publishes immediately and publicly; confirm target and text before executing.
POST /composio/reddit/reddit_post_reddit_commentexternal_sendmanaged
REDDIT_RETRIEVE_POST_COMMENTS
Retrieves all comments for a Reddit post given its base-36 article ID. Response is a two-element listings array: post metadata in `listings[0]`; comments in `listings[1].data.children` with text at each `[].data.body` and nested replies under each comment's `replies` field. Replies require recursive traversal to capture full discussion. Optionally control ordering (`sort`), how many comments are returned (`limit`), and how deep the reply tree is expanded (`depth`) before Reddit collapses remaining replies into `more` placeholders. Large, locked, or archived threads may still return truncated trees regardless of `depth`. Filter out comments where `body` is `[deleted]` or `[removed]`; use `parent_id` to reconstruct conversation flow. No date/time-range filter — compare `created_utc` against a UTC cutoff to filter by date.
POST /composio/reddit/reddit_retrieve_post_commentsexternal_sendmanaged
REDDIT_RETRIEVE_REDDIT_POST
Retrieves posts from a specified, publicly accessible subreddit. Responses nest post data under `data.children[].data`; inspect the structure before parsing. Pagination uses a `data.after` cursor; deduplicate across pages by post `id`. No built-in date filtering; compare `created_utc` (Unix seconds, UTC) client-side. Rate limit: ~1–2 requests/second; back off on HTTP 429.
POST /composio/reddit/reddit_retrieve_reddit_postexternal_sendmanaged
REDDIT_RETRIEVE_SPECIFIC_COMMENT
Retrieves detailed information for a single Reddit comment or post using its fullname. Returns only the specified item, not surrounding thread context; use REDDIT_RETRIEVE_POST_COMMENTS for full discussion retrieval. Deleted, removed, or quarantined items may return empty or partial payloads.
POST /composio/reddit/reddit_retrieve_specific_commentexternal_sendmanaged
REDDIT_SEARCH_ACROSS_SUBREDDITS
Searches Reddit for posts using a query. Results are nested under `data.children[i].data` (kind `t3` for posts); a `posts` array may also appear, so inspect the actual response path. Optional `time_filter` restricts results to a time period (hour/day/week/month/year/all). Optional `result_type` must include `link`; non-post types in a mixed search do not appear in the streamlined `posts` field. Empty `children` is a valid no-results outcome. Key post fields: `score`, `num_comments`, `created_utc`, `permalink`. Rate limit: ~1-2 requests/sec; HTTP 429 indicates throttling.
GET /composio/reddit/reddit_search_across_subredditsnonemanaged
REDDIT_TOGGLE_INBOX_REPLIES
Enable or disable inbox replies for a submission or comment. Use when you want to control whether you receive inbox notifications for replies to your own posts or comments.
POST /composio/reddit/reddit_toggle_inbox_repliesexternal_sendmanaged