# Build a Source-Linked TikTok Comment Corpus

**Use case:** 

Collect public comments and replies from selected TikTok videos to create a grounded text corpus for tagging, coding, or review.

## Input

```json
{
  "postURLs": [
    "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"
  ],
  "maxCommentsPerPost": 10,
  "maxTotalComments": 10,
  "includeReplies": true,
  "maxRepliesPerComment": 20,
  "maxPagesPerPost": 25,
  "maxReplyPagesPerComment": 10,
  "providerOrder": "scrapecreators-first",
  "trim": false,
  "includeRawData": false
}
```

## Output

```json
{
  "comment_id": {
    "label": "Comment ID",
    "format": "string"
  },
  "author_username": {
    "label": "Author username",
    "format": "string"
  },
  "text": {
    "label": "Comment text",
    "format": "string"
  },
  "replies": {
    "label": "Replies",
    "format": "array"
  },
  "reply_count": {
    "label": "Reply count",
    "format": "integer"
  },
  "video_url": {
    "label": "Video URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [TikTok Comments Scraper - Replies & Authors](https://apify.com/khadinakbar/tiktok-video-comments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/khadinakbar/tiktok-video-comments-scraper) to learn more, explore other use cases, and run it yourself.