Reddit integration

Reddit API: posts, comments, subreddits, user data, voting

Help CentreConnectors

Overview

Reddit API covers posts, comments, subreddits, user data, voting. The Automize Reddit connector covers these endpoints.

  • Regions: Global.
  • Plans: Free for noncommercial. Commercial use requires Enterprise tier (paid, since 2023).

Setting up the connection

Auth type: OAuth 2.0 (Authorization Code).

  1. Reddit → My Apps → create script/web app.
  2. OAuth client ID + secret.
  3. In Automize → Settings → Connectors → Reddit. Paste credentials. User agent string required.

Find your credentials at https://www.reddit.com/prefs/apps.


Rate limits

60 req/min OAuth. Commercial tier higher.


Data model

Reddit primitives:

    User ─── Subreddits (subscribed)
    Subreddit ─── Posts ─── Comments
              ├─ Mod queue
              └─ Wiki

Available operations

8 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Add CommentGeneralAdd a comment to a post or reply
Get Current UserGeneralGet the authenticated user profile
Get PostGeneralGet a post and its comments
Get SubredditGeneralGet subreddit information
List PostsGeneralList posts in a subreddit by sort order
SearchGeneralSearch Reddit posts
Submit PostGeneralSubmit a new post to a subreddit
VoteGeneralUpvote, downvote or unvote a post

Operations

Add Comment

Add a comment to a post or reply

ParameterRequiredTypeDescription
Parent parentYestext
Text textYestext

Get Current User

Get the authenticated user profile

No input parameters.


Get Post

Get a post and its comments

ParameterRequiredTypeDescription
Post Id post_idYestext

Get Subreddit

Get subreddit information

ParameterRequiredTypeDescription
Subreddit subredditYestext

List Posts

List posts in a subreddit by sort order

ParameterRequiredTypeDescription
Subreddit subredditYestext
Sort sortNoselectListing order. `new` is the one to use for unanswered threads; `hot` is Reddit's own default.
Time window tNoselectOnly applies to the `top` and `controversial` sorts. Reddit ignores it otherwise.

Tips

  • Per subreddit. Sort: hot (default), new, top, rising, controversial.
  • Use `new` to find threads nobody has answered yet; `hot` is Reddit's own default ordering.
  • Time window only applies to `top` and `controversial` – Reddit ignores it on the other sorts.

Search Reddit posts

No input parameters.


Submit Post

Submit a new post to a subreddit

ParameterRequiredTypeDescription
Sr srYestext
Kind kindYestext
Title titleYestext
Text textYestext
Url urlYestext

Vote

Upvote, downvote or unvote a post

ParameterRequiredTypeDescription
Id idYestext
Dir dirYestext

Tips

  • dir: 1 upvote, -1 downvote, 0 remove.

FAQ

Bots policy?
Reddit allows bots with disclosure. Read each subreddit's rules – many ban bots.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.