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_allretry- 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:
- Apply for Reddit API access at support.reddithelp.com (may take days/weeks)
- Once approved, create a Reddit "script" app at reddit.com/prefs/apps
- Add a Reddit connection in Settings > Connections with your app credentials
- 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
inputRequiredconfigOptionalsubredditsOptional
Outputs
posts
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
connection | connection(reddit) | Yes | Reddit API connection (requires approved Reddit app credentials) |
subreddits | array<string> | No | Subreddits to monitor (without r/ prefix) |
max_posts | number | No | Maximum posts per subreddit |
sort | enum(hot, new, rising, top_hour, top_day, top_week, top_month, top_year, top_all) | No | Sort order for posts |
retry | tagged_union | No | Sends a request again after a failure that passes: a rate limit, a busy server, a dropped connection. Off sends once. |
base_config | record | No | Shared 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). |