Contents

Reddit API Ingest

reddit_ingest · Nodes · Data Sources

Fetches Reddit posts through the Reddit API.

Fetches posts from subreddits using authenticated Reddit API.

Note: Reddit requires API approval before you can create apps. If you don't have API access, use the Reddit RSS Ingest node instead - it works without credentials.

Config:

  • connection - Reddit connection ID (required)
  • subreddits - array of names (without r/)
  • max_posts - per subreddit (default: 25)
  • sort - hot, new, rising, top_hour, top_day, top_week, top_month, top_year, top_all
  • retry - Retries up to 4 attempts by default, a minute apart after a rate limit; set Retry to Off to send once. Every request is a read (GET), sent again freely; see Retries

Output: Array of posts with id, title, author, subreddit, body, score, permalink, posted_at

Setup:

  1. Apply for Reddit API access at support.reddithelp.com (may take days/weeks)
  2. Once approved, create a Reddit "script" app at reddit.com/prefs/apps
  3. Add a Reddit connection in Settings > Connections with your app credentials
  4. Select the connection in this node's config

When to use this vs RSS:

  • Use API node if you have approved credentials and need score/upvote data
  • Use RSS node for immediate access without credentials (score not available)

Inputs

  • inputRequired
  • configOptional
  • subredditsOptional

Outputs

  • posts

Configuration

FieldTypeRequiredDescription
connectionconnection(reddit)YesReddit API connection (requires approved Reddit app credentials)
subredditsarray<string>NoSubreddits to monitor (without r/ prefix)
max_postsnumberNoMaximum posts per subreddit
sortenum(hot, new, rising, top_hour, top_day, top_week, top_month, top_year, top_all)NoSort order for posts
retrytagged_unionNoSends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once.
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).