# Douyin Comments for Sentiment Analysis (with Replies)

**Use case:** 

Export the comments and replies under a Douyin (抖音) video for sentiment analysis: text, likes, the commenter's province, comments the author wrote or liked, and each reply linked to its comment. Feed the export to your sentiment model or AI agent. On 2026-11-13: 185 rows in 14 seconds, about $0.55.

## Input

```json
{
  "videoUrls": [
    "https://www.douyin.com/video/7670867229488081018"
  ],
  "maxCommentsPerVideo": 100,
  "includeReplies": true,
  "maxRepliesPerComment": 3
}
```

## Output

```json
{
  "text": {
    "label": "Comment",
    "format": "string"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "replies": {
    "label": "Replies",
    "format": "integer"
  },
  "ipRegion": {
    "label": "IP region",
    "format": "string"
  },
  "createTime": {
    "label": "Posted",
    "format": "string"
  },
  "userName": {
    "label": "User",
    "format": "string"
  },
  "isByVideoAuthor": {
    "label": "By the author",
    "format": "boolean"
  },
  "likedByVideoAuthor": {
    "label": "Liked by the author",
    "format": "boolean"
  },
  "isReply": {
    "label": "Reply",
    "format": "boolean"
  },
  "videoTitle": {
    "label": "Video",
    "format": "string"
  },
  "videoUrl": {
    "label": "Video link",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Douyin Comments Scraper Actor is ready to run with the inputs already set for "Douyin Comments for Sentiment Analysis (with Replies)". [Sign up or log in](https://console.apify.com/create-task-from-example/BQ0gfsz50LfKHUynP) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Douyin Comments for Sentiment Analysis (with Replies)" task

The Douyin Comments Scraper Actor will start running based on the input automatically. You can also change all the input fields, like 🔗 video links or ids, comments per video, and more, to match your specific use case.

### 3. Receive the "Douyin Comments for Sentiment Analysis (with Replies)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as comment, likes, replies, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Douyin Comments for Sentiment Analysis (with Replies)" task via API](https://apify.com/sleepmodesystems/douyin-comments-scraper.md).

## FAQ

### What does the Douyin Comments for Sentiment Analysis task return?

One row per comment and per reply: the text as written, likes, the commenter's province (IP属地), whether the video's author wrote or liked it, and for replies the comment they belong to.

### How do I analyse my brand's Douyin comments with this task?

Replace the link with your videos' links (any shape, including the app's share text), raise Comments per video, and send the dataset to your sentiment tool or AI agent.

### Are the comments translated?

No: they come in Chinese, as written. Ask your AI agent or translation step to translate them.

### How much does the Douyin Comments for Sentiment Analysis task cost?

$2.99 per 1,000 rows (comments and replies) on the FREE tier: 185 rows cost about $0.55.

## About this Actor

This example demonstrates how to use [Douyin Comments Scraper](https://apify.com/sleepmodesystems/douyin-comments-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sleepmodesystems/douyin-comments-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sleepmodesystems/douyin-comments-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
