# Douyin Comments 🔥 $0.6/1K Comment Text & Likes (`azzouzana/douyin-comments-scraper`) Actor

From $0.6/1K 💰 Paste one or many Douyin video links and get their comments in seconds: text, likes, reply counts, commenter, and region. Large threads keep going up to your shared limit. Built for sentiment, product feedback, and reporting. Export JSON, CSV, Excel, or API. 🚀

- **URL**: https://apify.com/azzouzana/douyin-comments-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Douyin Comments Scraper

Reading Douyin comment threads by hand is a time-sink. Paste a video link and the comments land in your dataset in seconds: text, likes, reply counts, commenter, and region.

### Engineering Excellence & Reliability 🚀

- **Drop in a video link**: a douyin.com/video URL, a v.douyin.com share link, or the video id.
- **The thread**: comment text, likes, reply counts, commenter, and region.
- **Large threads keep going** up to your max items. Pagination is handled for you.
- **We bypass the website limitation and go beyond it.** Duplicate comments are skipped.
- **Clean exports**: JSON, CSV, Excel, or API for research and moderation.

### 🛠️ How to Play

| Field | Type | Description |
|-------|------|-------------|
| `startUrls` | List | One video, or many. Each row is a full link, a `v.douyin.com` share link, pasted share text, or a bare video id. Comments from every video count toward the same cap. |
| `maxItems` | Number | How many comments do you actually need, across every video? |

One video:

```json
{
  "startUrls": ["https://www.douyin.com/video/7615930241370348219"],
  "maxItems": 10
}
```

Comments from several videos:

```json
{
  "startUrls": [
    "https://www.douyin.com/video/7615930241370348219",
    "7676131536211350629"
  ],
  "maxItems": 50
}
```

### 🆓 Free tier limitations

- **5 items** per run
- **5 runs** per day
- at least **60 seconds** between runs

Upgrade when you are ready: [Apify pricing](https://apify.com/pricing?fpr=cbgdsf).

### 📦 What’s in the Box?

One comment is one record. Fields are flat strings and numbers from a real Douyin comment.

```json
{
  "commentId": "7615951588943446830",
  "videoId": "7615930241370348219",
  "text": "是不是老地方私房菜？点过一次！真的好好吃[赞]",
  "likes": 20,
  "replyCount": 1,
  "publishedAt": "2026-03-11T11:01:52.000Z",
  "region": "湖南",
  "authorName": "爱睡觉的羊",
  "authorId": "MS4wLjABAAAAOk9X5Q5p1runNKsXjPxyqAsY40fi52tOWXCjH5FR2vrtIwcPyAc86QqaXEmuMCMf",
  "authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAOk9X5Q5p1runNKsXjPxyqAsY40fi52tOWXCjH5FR2vrtIwcPyAc86QqaXEmuMCMf"
}
```

### Contact 📬

**Need a custom solution? Have a feature request or just want to chat?**
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

### ⚠️ Disclaimer

This actor is not affiliated with Douyin or ByteDance. It collects publicly available information. You are responsible for using it in line with Douyin's terms and the laws that apply to you. Read more about the legality of web scraping on the [Apify blog](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

### Keywords

Douyin scraper, Douyin video data, Douyin comments, Douyin creator profile, Douyin followers, Douyin likes, China TikTok data, short video research, influencer research, social listening, JSON export, CSV export

# Actor input Schema

## `startUrls` (type: `array`):

Douyin videos whose comments to save. Each row can be a full link, a v.douyin.com share link, share text, or a bare video id. The comment cap is shared across every video.

## `maxItems` (type: `integer`):

Maximum comments to save across every video. Pagination is handled for you. Effective limit also respects run budget and free-tier cap (5 for free users).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.douyin.com/video/7615930241370348219"
  ],
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.douyin.com/video/7615930241370348219"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/douyin-comments-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": ["https://www.douyin.com/video/7615930241370348219"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/douyin-comments-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.douyin.com/video/7615930241370348219"
  ],
  "maxItems": 100
}' |
apify call azzouzana/douyin-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,azzouzana/douyin-comments-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Et4kVr3T5VDcGZvEW/builds/d4c2evht9fyu7GP8W/openapi.json
