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

Access Reddit data to retrieve posts and comments from any subreddit. Get post titles, content, authors, scores, comments and more.

Tools

reddit_get_posts

Fetch posts from a subreddit with different sorting options

Input

ParameterTypeRequiredDescription
accessTokenstringYesAccess token for Reddit API
subredditstringYesThe name of the subreddit to fetch posts from (without the r/ prefix)
sortstringNoSort method for posts:
limitnumberNoMaximum number of posts to return (default: 10, max: 100)
timestringNoTime filter for

Output

ParameterType
subredditstring
postsstring

reddit_get_comments

Fetch comments from a specific Reddit post

Input

ParameterTypeRequiredDescription
accessTokenstringYesAccess token for Reddit API
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:
limitnumberNoMaximum number of comments to return (default: 50, max: 100)

Output

ParameterType
poststring
titlestring
authorstring
selftextstring
created_utcstring
scorestring
permalinkstring

Block Configuration

Input

ParameterTypeRequiredDescription
operationstringYesOperation

Outputs

OutputTypeDescription
subredditstringsubreddit output from the block
postsjsonposts output from the block
postjsonpost output from the block
commentsjsoncomments output from the block

Notes

  • Category: tools
  • Type: reddit
Reddit