> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Reddit Post

Fetch a single Reddit post and its comment tree by permalink. Returns the full post object plus a flattened, depth-ordered list of comments (author, body, score, depth, OP flag). Built-in quality filtering removes deleted/removed comments and (via minScore) downvoted noise, so you get signal not garbage. Ideal for: reading discussion threads, summarizing high-quality comments, sentiment analysis on a post, and extracting community feedback.

Catalog action Social

Fetch a single Reddit post and its comment tree by permalink. Returns the full post object plus a flattened, depth-ordered list of comments (author, body, score, depth, OP flag). Built-in quality filtering removes deleted/removed comments and (via minScore) downvoted noise, so you get signal not garbage. Ideal for: reading discussion threads, summarizing high-quality comments, sentiment analysis on a post, and extracting community feedback.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `reddit-get-post` |
| Category | Social |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `social`, `reddit`, `post`, `comments`, `thread`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `permalink` | `string` | Yes | Relative permalink to the post \(e.g. '/r/technology/comments/1ui7kif/title/'\). This is the 'permalink' field returned by the post-listing and search actions. |
| `sort` | `string` | No | Sort order for the comment tree. Default: 'confidence' \(Reddit's 'best'\) |
| `limit` | `number` | No | Maximum number of top-level comments to fetch; their nested replies are always included in the flattened output. Range: 1-100. Default: 50 |
| `minScore` | `number` | No | Quality filter: only return comments whose score \(net upvotes\) is &gt;= this value. Drops downvoted/low-signal noise. Raise it \(e.g. 10 or 50\) to keep only high-signal comments; set negative to include downvoted ones. Default: 0 \(drops net-negative comments\). |
| `excludeRemoved` | `boolean` | No | Quality filter: drop deleted/removed/empty comments \(body '\[deleted\]', '\[removed\]', or blank\). Default: true. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `post` | `object` | Yes | - |
| `comments` | `array` | Yes | Flattened \(depth-first\) comment tree for the post |
| `after` | `string \| null` | No | Pagination cursor for additional top-level comments, or null when none remain |

## Examples

**Workflow node**

```json
{
  "type": "reddit-get-post",
  "payload": {
    "permalink": "example-permalink"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/reddit-get-post/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "permalink": "example-permalink"
  }
}'
```

**Use expressions for dynamic values**

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.