# Scrape Reddit Thread Comments by URL

**Use case:** 

Export the full comment tree of any Reddit thread by URL. Get every comment, author, score, depth and timestamp, including nested 'load more' replies.

## Input

```json
{
  "startUrls": [
    "https://www.reddit.com/r/AskReddit/comments/1abcd2e/whats_a_skill_everyone_should_learn/"
  ],
  "subreddits": [
    "RealEstate"
  ],
  "searches": [],
  "usernames": [],
  "searchScope": "posts",
  "sort": "hot",
  "time": "all",
  "maxItems": 50,
  "maxItemsPerSource": 0,
  "includeComments": true,
  "maxCommentsPerPost": 200,
  "commentSort": "confidence",
  "expandMoreComments": true,
  "includeDeletedComments": false,
  "includeNSFW": true,
  "skipAds": true,
  "includeUserProfile": true,
  "includeUserContent": true,
  "userSection": "overview",
  "deduplicate": true,
  "monitorMode": false,
  "monitorStoreName": "reddit-scraper-monitor",
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "subreddit": {
    "label": "Subreddit"
  },
  "author": {
    "label": "Author"
  },
  "body": {
    "label": "Comment"
  },
  "score": {
    "label": "Score"
  },
  "createdAt": {
    "label": "Posted"
  },
  "postTitle": {
    "label": "On post"
  },
  "depth": {
    "label": "Depth"
  },
  "permalink": {
    "label": "Permalink"
  }
}
```

## About this Actor

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