Sim

Reddit

Access Reddit data and content

Reddit is a social platform where users share and discuss content in topic-based communities called subreddits.

In Sim, you can use the Reddit integration to:

  • Get Posts: Retrieve posts from any subreddit, with options to sort (Hot, New, Top, Rising) and filter Top posts by time (Day, Week, Month, Year, All Time).
  • Get Comments: Fetch comments from a specific post, with options to sort and set the number of comments.

These operations let your agents access and analyze Reddit content as part of your automated workflows.

Usage Instructions

Integrate Reddit into workflows. Read posts, comments, and search content. Submit posts, vote, reply, edit, and manage your Reddit account.

Tools

reddit_get_posts

Fetch posts from a subreddit with different sorting options

Input

ParameterTypeRequiredDescription
subredditstringYesThe name of the subreddit to fetch posts from (without the r/ prefix)
sortstringNoSort method for posts: "hot", "new", "top", or "rising" (default: "hot")
limitnumberNoMaximum number of posts to return (default: 10, max: 100)
timestringNoTime filter for "top" sorted posts: "day", "week", "month", "year", or "all" (default: "day")
afterstringNoFullname of a thing to fetch items after (for pagination)
beforestringNoFullname of a thing to fetch items before (for pagination)
countnumberNoA count of items already seen in the listing (used for numbering)
showstringNoShow items that would normally be filtered (e.g., "all")
sr_detailbooleanNoExpand subreddit details in the response

Output

ParameterTypeDescription
subredditstringName of the subreddit where posts were fetched from
postsarrayArray of posts with title, author, URL, score, comments count, and metadata

reddit_get_comments

Fetch comments from a specific Reddit post

Input

ParameterTypeRequiredDescription
postIdstringYesThe ID of the Reddit post to fetch comments from
subredditstringYesThe subreddit where the post is located (without the r/ prefix)
sortstringNoSort method for comments: "confidence", "top", "new", "controversial", "old", "random", "qa" (default: "confidence")
limitnumberNoMaximum number of comments to return (default: 50, max: 100)
depthnumberNoMaximum depth of subtrees in the thread (controls nested comment levels)
contextnumberNoNumber of parent comments to include
showeditsbooleanNoShow edit information for comments
showmorebooleanNoInclude "load more comments" elements in the response
showtitlebooleanNoInclude submission title in the response
threadedbooleanNoReturn comments in threaded/nested format
truncatenumberNoInteger to truncate comment depth
afterstringNoFullname of a thing to fetch items after (for pagination)
beforestringNoFullname of a thing to fetch items before (for pagination)
countnumberNoA count of items already seen in the listing (used for numbering)

Output

ParameterTypeDescription
postobjectPost information including ID, title, author, content, and metadata

reddit_get_controversial

Fetch controversial posts from a subreddit

Input

ParameterTypeRequiredDescription
subredditstringYesThe name of the subreddit to fetch posts from (without the r/ prefix)
timestringNoTime filter for controversial posts: "hour", "day", "week", "month", "year", or "all" (default: "all")
limitnumberNoMaximum number of posts to return (default: 10, max: 100)
afterstringNoFullname of a thing to fetch items after (for pagination)
beforestringNoFullname of a thing to fetch items before (for pagination)
countnumberNoA count of items already seen in the listing (used for numbering)
showstringNoShow items that would normally be filtered (e.g., "all")
sr_detailbooleanNoExpand subreddit details in the response

Output

ParameterTypeDescription
subredditstringName of the subreddit where posts were fetched from
postsarrayArray of controversial posts with title, author, URL, score, comments count, and metadata

Search for posts within a subreddit

Input

ParameterTypeRequiredDescription
subredditstringYesThe name of the subreddit to search in (without the r/ prefix)
querystringYesSearch query text
sortstringNoSort method for search results: "relevance", "hot", "top", "new", or "comments" (default: "relevance")
timestringNoTime filter for search results: "hour", "day", "week", "month", "year", or "all" (default: "all")
limitnumberNoMaximum number of posts to return (default: 10, max: 100)
restrict_srbooleanNoRestrict search to the specified subreddit only (default: true)
afterstringNoFullname of a thing to fetch items after (for pagination)
beforestringNoFullname of a thing to fetch items before (for pagination)
countnumberNoA count of items already seen in the listing (used for numbering)
showstringNoShow items that would normally be filtered (e.g., "all")

Output

ParameterTypeDescription
subredditstringName of the subreddit where search was performed
postsarrayArray of search result posts with title, author, URL, score, comments count, and metadata

reddit_submit_post

Submit a new post to a subreddit (text or link)

Input

ParameterTypeRequiredDescription
subredditstringYesThe name of the subreddit to post to (without the r/ prefix)
titlestringYesTitle of the submission (max 300 characters)
textstringNoText content for a self post (markdown supported)
urlstringNoURL for a link post (cannot be used with text)
nsfwbooleanNoMark post as NSFW
spoilerbooleanNoMark post as spoiler
send_repliesbooleanNoSend reply notifications to inbox (default: true)

Output

ParameterTypeDescription
successbooleanWhether the post was submitted successfully
messagestringSuccess or error message
dataobjectPost data including ID, name, URL, and permalink

reddit_vote

Upvote, downvote, or unvote a Reddit post or comment

Input

ParameterTypeRequiredDescription
idstringYesThing fullname to vote on (e.g., t3_xxxxx for post, t1_xxxxx for comment)
dirnumberYesVote direction: 1 (upvote), 0 (unvote), or -1 (downvote)

Output

ParameterTypeDescription
successbooleanWhether the vote was successful
messagestringSuccess or error message

reddit_save

Save a Reddit post or comment to your saved items

Input

ParameterTypeRequiredDescription
idstringYesThing fullname to save (e.g., t3_xxxxx for post, t1_xxxxx for comment)
categorystringNoCategory to save under (Reddit Gold feature)

Output

ParameterTypeDescription
successbooleanWhether the save was successful
messagestringSuccess or error message

reddit_unsave

Input

ParameterTypeRequiredDescription

Output

ParameterTypeDescription
subredditstringSubreddit name
postsjsonPosts data
postjsonSingle post data
commentsjsonComments data

reddit_reply

Add a comment reply to a Reddit post or comment

Input

ParameterTypeRequiredDescription
parent_idstringYesThing fullname to reply to (e.g., t3_xxxxx for post, t1_xxxxx for comment)
textstringYesComment text in markdown format

Output

ParameterTypeDescription
successbooleanWhether the reply was posted successfully
messagestringSuccess or error message
dataobjectComment data including ID, name, permalink, and body

reddit_edit

Edit the text of your own Reddit post or comment

Input

ParameterTypeRequiredDescription
thing_idstringYesThing fullname to edit (e.g., t3_xxxxx for post, t1_xxxxx for comment)
textstringYesNew text content in markdown format

Output

ParameterTypeDescription
successbooleanWhether the edit was successful
messagestringSuccess or error message
dataobjectUpdated content data

reddit_delete

Delete your own Reddit post or comment

Input

ParameterTypeRequiredDescription
idstringYesThing fullname to delete (e.g., t3_xxxxx for post, t1_xxxxx for comment)

Output

ParameterTypeDescription
successbooleanWhether the deletion was successful
messagestringSuccess or error message

reddit_subscribe

Subscribe or unsubscribe from a subreddit

Input

ParameterTypeRequiredDescription
subredditstringYesThe name of the subreddit (without the r/ prefix)
actionstringYesAction to perform: "sub" to subscribe or "unsub" to unsubscribe

Output

ParameterTypeDescription
successbooleanWhether the subscription action was successful
messagestringSuccess or error message

Notes

  • Category: tools
  • Type: reddit
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started