# Export top Reddit comments from any post

**Use case:** 

Export top-ranked Reddit comments from any post with replies, authors, scores, timestamps, thread depth, parent IDs, and direct permalinks.

## Input

```json
{
  "postUrl": "https://www.reddit.com/r/AskReddit/comments/1k2vnz0/",
  "postUrls": [],
  "queries": [],
  "maxPostsPerQuery": 25,
  "sort": "top",
  "filter": "",
  "maxCommentsPerPost": 200,
  "expandAllComments": false
}
```

## Output

```json
{
  "_type": {
    "label": "Type",
    "format": "text"
  },
  "_post_id": {
    "label": "Post ID",
    "format": "text"
  },
  "_status": {
    "label": "Status",
    "format": "text"
  },
  "id": {
    "label": "Comment ID",
    "format": "text"
  },
  "title": {
    "label": "Post Title",
    "format": "text"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "text"
  },
  "commentCount": {
    "label": "Comment Count",
    "format": "number"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "createdAt": {
    "label": "Created",
    "format": "text"
  },
  "editedAt": {
    "label": "Edited",
    "format": "text"
  },
  "depth": {
    "label": "Depth",
    "format": "number"
  },
  "parentId": {
    "label": "Parent ID",
    "format": "text"
  },
  "permalink": {
    "label": "Permalink",
    "format": "text"
  },
  "body": {
    "label": "Body",
    "format": "text"
  },
  "isStickied": {
    "label": "Stickied",
    "format": "boolean"
  },
  "isLocked": {
    "label": "Locked",
    "format": "boolean"
  },
  "isScoreHidden": {
    "label": "Score Hidden",
    "format": "boolean"
  },
  "distinguishedAs": {
    "label": "Distinguished",
    "format": "text"
  },
  "authorFlair": {
    "label": "Flair",
    "format": "text"
  },
  "isDeleted": {
    "label": "Deleted",
    "format": "boolean"
  },
  "childCount": {
    "label": "Replies",
    "format": "number"
  },
  "authorId": {
    "label": "Author ID",
    "format": "text"
  },
  "authorAccountType": {
    "label": "Account Type",
    "format": "text"
  },
  "languageCode": {
    "label": "Language",
    "format": "text"
  },
  "isArchived": {
    "label": "Archived",
    "format": "boolean"
  },
  "isRemoved": {
    "label": "Removed",
    "format": "boolean"
  },
  "removedByCategory": {
    "label": "Removed By",
    "format": "text"
  },
  "contentTypeHint": {
    "label": "Body Format",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Reddit Post Comments Scraper | Bulk Thread & Reply Export](https://apify.com/clearpath/reddit-post-comments-bulk-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/clearpath/reddit-post-comments-bulk-scraper) to learn more, explore other use cases, and run it yourself.