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

# Reddit Comments

> Configure a workflow step that reads the comments on a Reddit post from its URL

Use **Reddit Comments** when you want to know what people say under a Reddit thread: the questions they ask, the answers they give and which comments got the most votes. A typical use is to collect the questions an audience asks before writing an article.

## Configuration

| Option | Required | Description |
| - | - | - |
| Name | No | Label for the step in the workflow canvas. |
| URL | Yes | The Reddit post or comment thread URL, for example `https://www.reddit.com/r/python/comments/1asdf12/how_do_i_start_learning_python/`. This field supports workflow variables through **Insert Variable**. |
| When the step fails | No | Controls whether the workflow should **Terminate Workflow** or **Continue** if this step fails. |

Add this step from the **Content & Social** group in **Search steps...**.

Reddit scrapes can sometimes take several minutes, so a run may stay in progress for a while before the records appear.

## Output

Click **Run** in the step header to test the step. Fetch Hive shows the records in **Output** after the run completes.

Use the variable picker in a later step to insert the exact output path available for that run. The step returns a list of records, so the whole result is:

```text theme={null}
{{step_2.output}}
```

The output is a list. There is no `items` or `results` wrapper. To use the first record:

```text theme={null}
{{step_2.output[0]}}
```

Each record includes:

| Field | Meaning |
| - | - |
| `comment_id` | The comment ID. |
| `url` | The comment URL. |
| `comment` | The comment text. |
| `user_posted` | The username of the commenter. |
| `date_posted` | When the comment was posted. |
| `num_upvotes` | The number of upvotes. |
| `num_replies` | How many replies the comment has. |
| `replies` | The replies to the comment. |
| `post_url` | The URL of the post the comment belongs to. |
| `post_id` | The ID of that post. |
| `community_name` | The subreddit name. |
| `is_moderator` | Whether the commenter is a moderator. |
| `is_pinned` | Whether the comment is pinned. |

## Example

Add **Reddit Comments** from the **Content & Social** group in **Search steps...**.

Set **Name** to something like `Reddit Comments`.

Enter the Reddit post or comment thread URL in **URL**, or click **Insert Variable** to use a value from an earlier step or workflow input.

Click **Run** and review the records in **Output**.

## Notes

* Each comment is one item. A busy thread can have hundreds of comments, so a run returns at most 500.
* The charge grows with the number of comments returned.
* Each run costs at least 2 task credits. The cost grows with the number of records returned. See [Task costs](https://docs.fetchhive.com/resources/task-costs.md).

See also: [Reddit Posts](https://docs.fetchhive.com/workflows/steps/web-research/reddit-posts.md), [Creating and Editing](https://docs.fetchhive.com/workflows/creating-and-editing.md), [Testing and Iteration](https://docs.fetchhive.com/workflows/testing-and-iteration.md), and [Error Handling](https://docs.fetchhive.com/workflows/error-handling.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.