Skip to Content

Reddit

Reddit icon
Arcade Optimized

Arcade.dev LLM tools Reddit

Author:Arcade
Version:1.1.1
Auth:User authorization via the Reddit auth provider
11tools
PyPI VersionPython VersionsWheel StatusDownloadsLicense

Arcade.dev provides a powerful toolkit for integrating with Reddit, enabling developers to interact with Reddit's vast content and community features seamlessly. This toolkit allows for efficient data retrieval and engagement on the platform.

Capabilities

  • Access subreddit data, including rules and content.
  • Retrieve and manipulate posts and comments.
  • Verify subreddit accessibility for authenticated users.
  • Simplify fetching multiple posts in one request.

OAuth

  • Provider: Reddit
  • Scopes: history, identity, read, submit

Secrets

  • None required for usage.

Available tools(11)

11 of 11
Tool nameDescriptionSecrets
Checks whether the specified subreddit exists and also if it is accessible to the authenticated user. Returns: {"exists": True, "accessible": True} if the subreddit exists and is accessible. {"exists": True, "accessible": False} if the subreddit exists but is private or restricted. {"exists": False, "accessible": False} if the subreddit does not exist.
Comment on a Reddit post
Get the content (body) of multiple Reddit posts by their identifiers. Efficiently retrieve the content of multiple posts in a single request. Always use this tool to retrieve more than one post's content.
Get the content (body) of a Reddit post by its identifier.
Get posts that were created by the authenticated user sorted by newest first
Get the Reddit username of the authenticated user
Gets posts titles, links, and other metadata in the specified subreddit The time_range is required if the listing type is 'top' or 'controversial'.
Gets the rules of the specified subreddit
Get the first page of top-level comments of a Reddit post.
Reply to a Reddit comment
Submit a text-based post to a subreddit

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

Reddit.CheckSubredditAccess

Checks whether the specified subreddit exists and also if it is accessible to the authenticated user. Returns: {"exists": True, "accessible": True} if the subreddit exists and is accessible. {"exists": True, "accessible": False} if the subreddit exists but is private or restricted. {"exists": False, "accessible": False} if the subreddit does not exist.

Parameters

ParameterTypeReq.Description
subredditstringRequiredThe name of the subreddit to check access for

Requirements

No secrets required

Output

Type:jsonA dict indicating whether the subreddit exists and is accessible to the authenticated user
#

Reddit.CommentOnPost

Comment on a Reddit post

Parameters

ParameterTypeReq.Description
post_identifierstringRequiredThe identifier of the Reddit post. The identifier may be a reddit URL, a permalink, a fullname, or a post id.
textstringRequiredThe body of the comment in markdown format

Requirements

No secrets required

Output

Type:jsonResponse from Reddit after submission
#

Reddit.GetContentOfMultiplePosts

Get the content (body) of multiple Reddit posts by their identifiers. Efficiently retrieve the content of multiple posts in a single request. Always use this tool to retrieve more than one post's content.

Parameters

ParameterTypeReq.Description
post_identifiersarray<string>RequiredA list of Reddit post identifiers. The identifiers may be reddit URLs to the posts, permalinks to the posts, fullnames for the posts, or post ids. Must be less than or equal to 100 identifiers.

Requirements

No secrets required

Output

Type:jsonA dictionary containing the content of multiple Reddit posts
#

Reddit.GetContentOfPost

Get the content (body) of a Reddit post by its identifier.

Parameters

ParameterTypeReq.Description
post_identifierstringRequiredThe identifier of the Reddit post. The identifier may be a reddit URL to the post, a permalink to the post, a fullname for the post, or a post id.

Requirements

No secrets required

Output

Type:jsonThe content (body) of the Reddit post
#

Reddit.GetMyPosts

Get posts that were created by the authenticated user sorted by newest first

Parameters

ParameterTypeReq.Description
limitintegerOptionalThe maximum number of posts to fetch. Default is 10. Maximum is 100
include_bodybooleanOptionalWhether to include the body (content) of the posts. Defaults to True.
cursorstringOptionalThe pagination token from a previous call

Requirements

No secrets required

Output

Type:jsonA dictionary with a cursor for the next page and a list of posts created by the authenticated user
#

Reddit.GetMyUsername

Get the Reddit username of the authenticated user

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:stringNo description provided.
#

Reddit.GetPostsInSubreddit

Gets posts titles, links, and other metadata in the specified subreddit The time_range is required if the listing type is 'top' or 'controversial'.

Parameters

ParameterTypeReq.Description
subredditstringRequiredThe name of the subreddit to fetch posts from
listingstringOptionalThe type of listing to fetch. For simple listings such as 'hot', 'new', or 'rising', the 'time_range' parameter is ignored. For time-based listings such as 'top' or 'controversial', the 'time_range' parameter is required.
hotnewrisingtopcontroversial
limitintegerOptionalThe maximum number of posts to fetch. Default is 10, max is 100.
cursorstringOptionalThe pagination token from a previous call
time_rangestringOptionalThe time range for filtering posts. Must be provided if the listing type is top or controversial. Otherwise, it is ignored. Defaults to TODAY.
NOWTODAYTHIS_WEEKTHIS_MONTHTHIS_YEARALL_TIME

Requirements

No secrets required

Output

Type:jsonA dictionary with a cursor for the next page and a list of posts
#

Reddit.GetSubredditRules

Gets the rules of the specified subreddit

Parameters

ParameterTypeReq.Description
subredditstringRequiredThe name of the subreddit for which to fetch rules

Requirements

No secrets required

Output

Type:jsonA dictionary containing the subreddit rules
#

Reddit.GetTopLevelComments

Get the first page of top-level comments of a Reddit post.

Parameters

ParameterTypeReq.Description
post_identifierstringRequiredThe identifier of the Reddit post to fetch comments from. The identifier may be a reddit URL, a permalink, a fullname, or a post id.

Requirements

No secrets required

Output

Type:jsonA dictionary with a list of top level comments
#

Reddit.ReplyToComment

Reply to a Reddit comment

Parameters

ParameterTypeReq.Description
comment_identifierstringRequiredThe identifier of the Reddit comment to reply to. The identifier may be a comment ID, a reddit URL to the comment, a permalink to the comment, or the fullname of the comment.
textstringRequiredThe body of the reply in markdown format

Requirements

No secrets required

Output

Type:jsonResponse from Reddit after submission
#

Reddit.SubmitTextPost

Submit a text-based post to a subreddit

Parameters

ParameterTypeReq.Description
subredditstringRequiredThe name of the subreddit to which the post will be submitted
titlestringRequiredThe title of the submission
bodystringOptionalThe body of the post in markdown format. Should never be the same as the title
nsfwbooleanOptionalIndicates if the submission has content that is 'Not Safe For Work' (NSFW). Default is False
spoilerbooleanOptionalIndicates if the post is marked as a spoiler. Default is False
send_repliesbooleanOptionalIf true, sends replies to the user's inbox. Default is True

Requirements

No secrets required

Output

Type:jsonResponse from Reddit after submission
Last updated on