# Extract Reddit comments and bodies for sentiment analysis

**Use case:** 

This task extracts full Reddit comment threads with author, body, score, and timestamp. Use it to build sentiment datasets and NLP training data.

## Input

```json
{
  "queries": [
    "iphone 15",
    "windows 11",
    "tesla model 3"
  ],
  "max_posts_per_query": 20,
  "include_comments": true,
  "max_comments_per_post": 100,
  "detail_workers": 4,
  "sort": "top",
  "time": "month"
}
```

## Output

```json
{
  "dataType": {
    "label": "Data Type",
    "format": "string"
  },
  "id": {
    "label": "Post/Comment ID",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "body": {
    "label": "Comment Body",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "created_iso": {
    "label": "Created At (ISO)",
    "format": "string"
  },
  "permalink": {
    "label": "Permalink",
    "format": "string"
  },
  "depth": {
    "label": "Depth",
    "format": "integer"
  },
  "is_submitter": {
    "label": "Is Submitter",
    "format": "boolean"
  },
  "sticky": {
    "label": "Sticky",
    "format": "boolean"
  },
  "reply_count": {
    "label": "Reply Count",
    "format": "integer"
  },
  "more_replies": {
    "label": "More Replies",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Reddit Search Scraper 2026](https://apify.com/devcake/reddit-search-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/devcake/reddit-search-scraper) to learn more, explore other use cases, and run it yourself.