Catalog action Social

Fetch posts from a subreddit by sort order (hot, new, top, rising, controversial, best). Returns each post's title, author, score, comment count, URLs, flags, and timestamps, plus a cursor for pagination. Ideal for: monitoring subreddits for new posts, tracking trending discussions, sentiment feeds, and content curation.

At a Glance

FieldValue
Action IDreddit-get-subreddit-posts
CategorySocial
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagssocial, reddit, posts, subreddit, monitor, read

Payload Schema

FieldTypeRequiredDescription
subredditstringYesSubreddit name without the r/ prefix (e.g. 'technology', 'CryptoCurrency')
sortstringNoSort order for the listing. Default: 'hot'
timestringNoTimeframe filter — only applies to 'top' and 'controversial' sorts. Default: 'day'
limitnumberNoMaximum number of posts to return. Range: 1-100. Default: 25
afterstringNoPagination cursor (the 'after' value from a previous response) to fetch the next page

Result Schema

FieldTypeRequiredDescription
postsarrayYesList of posts
afterstring | nullNoPagination cursor for the next page, or null when there are no more results

Examples

json
{ "type": "reddit-get-subreddit-posts", "payload": { "subreddit": "example-subreddit" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.