Access Reddit data and content
Reddit is a social platform where users share and discuss content in topic-based communities called subreddits.
In Gen6, 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
| Parameter | Type | Required | Description |
|---|---|---|---|
accessToken | string | Yes | Access token for Reddit API |
subreddit | string | Yes | The name of the subreddit to fetch posts from (without the r/ prefix) |
sort | string | No | Sort method for posts: |
limit | number | No | Maximum number of posts to return (default: 10, max: 100) |
time | string | No | Time filter for |
Output
| Parameter | Type | Description |
|---|---|---|
subreddit | string | Subreddit name |
posts | json | Posts data |
post | json | Single post data |
comments | json | Comments data |
Screenshot

reddit_get_comments
Fetch comments from a specific Reddit post
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
accessToken | string | Yes | Access token for Reddit API |
postId | string | Yes | The ID of the Reddit post to fetch comments from |
subreddit | string | Yes | The subreddit where the post is located (without the r/ prefix) |
sort | string | No | Sort method for comments: |
limit | number | No | Maximum number of comments to return (default: 50, max: 100) |
Output
| Parameter | Type | Description |
|---|---|---|
subreddit | string | Subreddit name |
posts | json | Posts data |
post | json | Single post data |
comments | json | Comments data |
Screenshot

Notes
- Category:
tools - Type:
reddit