Skip to content
For LLMsView as Markdown·

Reddit

Access subreddits, posts, comments, and user data via the Reddit API.

DetailValue
CategorySocial Media
Base URLhttps://oauth.reddit.com
AuthenticationOAuth2
Endpoints6
Connector keyreddit

Using Reddit in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Reddit from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /api/v1/meGet authenticated user
GET /r/{subreddit}/hotGet hot posts
POST /api/submitSubmit a post
POST /api/commentPost a comment
GET /searchSearch Reddit
GET /r/{subreddit}/aboutGet subreddit info

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /api/v1/me

Get authenticated user

DetailValue
Operation IDsocial.getMe
MethodGET
Path/api/v1/me

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getMe.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.

GET /r/{subreddit}/hot

Get hot posts

DetailValue
Operation IDsocial.getHotPosts
MethodGET
Path/r/{subreddit}/hot

Parameters

NameLocationTypeRequired
subredditpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getHotPosts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.

POST /api/submit

Submit a post

DetailValue
Operation IDsocial.submitPost
MethodPOST
Path/api/submit

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.submitPost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.

POST /api/comment

Post a comment

DetailValue
Operation IDsocial.createComment
MethodPOST
Path/api/comment

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.createComment.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.

Search Reddit

DetailValue
Operation IDsocial.search
MethodGET
Path/search

Parameters

NameLocationTypeRequired
qquerystringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.search.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.

GET /r/{subreddit}/about

Get subreddit info

DetailValue
Operation IDsocial.getSubredditInfo
MethodGET
Path/r/{subreddit}/about

Parameters

NameLocationTypeRequired
subredditpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Reddit connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getSubredditInfo.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Reddit API reference.