# Douyin Comments Scraper – Cheap & No Login (`feedpull/douyin-comments-scraper`) Actor

Scrape comments from Douyin (抖音) videos and image posts: text, likes, reply counts, commenter province, author profile. No login or cookies. Pay only per comment.

- **URL**: https://apify.com/feedpull/douyin-comments-scraper.md
- **Developed by:** [FeedPull](https://apify.com/feedpull) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 comments

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 – Cheap & No Login

Scrape comments from Douyin (抖音) videos and image posts: text, likes, reply counts, commenter province, author profile. No login or cookies. Pay only per comment.

**Why this scraper**

- 💸 **From $0.60 / 1,000 comments** — priced per result, not per page.
- 🎯 **Pay only for what you get**: unavailable videos cost a small flat fee; set a maximum cost per run and the scraper stops right there.
- 🧾 **Clean, consistent fields** across runs, ready for spreadsheets and pipelines.
- ⚡ **No browser, no login**: lightweight requests, starts in seconds, runs on 256 MB.

### What data you get

| Field | Example / meaning |
|---|---|
| `id`, `videoId`, `text` | comment id, video id, comment text |
| `diggCount`, `replyCount` | likes and number of replies |
| `ipLocation` | province or country shown in the app, e.g. `云南` |
| `createTimeISO`, `isPinned`, `likedByAuthor` | time, pinned by the author, liked by the author |
| `imageUrls` | images attached to the comment |
| `author` | nickname, Douyin ID, sec_uid, avatar |

### How to use

1. Add Douyin video links or ids.
2. Set **Max comments per video** (default 100, minimum 20).
3. Run and export as JSON, CSV, Excel, or pull via API.

#### Input example

```json
{
    "videos": [
        "https://www.douyin.com/video/7618193245298098086"
    ],
    "resultsLimit": 100
}
```

#### Output example

```json
{
    "inputUrl": "https://www.douyin.com/video/7618193245298098086",
    "platform": "douyin",
    "id": "7618406754883502885",
    "videoId": "7618193245298098086",
    "text": "有 先加咖啡液，加水时油脂会吸附在冰块上，喝起来浓厚感。\n先冰块水，后加咖啡液，油脂会飘在表面。喝起来较为清爽。 后者对咖啡豆油脂有要求，垃圾咖啡豆做出来一坨坨的看着像结块的酱油。",
    "createTime": 1773798550,
    "createTimeISO": "2026-03-18T01:49:10.000Z",
    "diggCount": 1160,
    "replyCount": 178,
    "isPinned": false,
    "likedByAuthor": true,
    "ipLocation": "上海",
    "language": null,
    "imageUrls": [],
    "author": {
        "id": "2370166388165597",
        "secUid": "MS4wLjABAAAAA8eoqzKhnlVWOnh7S3Lvn2JyYpkzAyEi22x5hyujWkfDcS7rqSn6KWOUl_qkVmxo",
        "uniqueId": "dy15m3utm9525",
        "nickname": "文明养兔",
        "avatarUrl": "https://p3.douyinpic.com/aweme-avatar/tos-cn-avt-0015_95820ceb7e0a4d75b5620407f8825f22~tplv-dy-shrink-adapter:96:96.heic?from=2064092626",
        "verified": false,
        "verifiedReason": null
    }
}
```

A run summary (per-video status, counts) is saved to the `OUTPUT` record of the run's key-value store.

### Pricing

Pay per event — you are charged only for results delivered:

| Event | Free plan | Starter | Scale | Business+ |
|---|---|---|---|---|
| Comment | $1.50 / 1,000 | $0.80 / 1,000 | $0.70 / 1,000 | **$0.60 / 1,000** |
| Unavailable or empty target | $0.0020 each | | | |
| Actor start | $0.0005 per run | | | |

Set **Maximum cost per run** in the run options to cap spend — the scraper stops before exceeding it.

### FAQ

**Are replies included?** Top-level comments are; each carries its `replyCount`.

**What if a video was removed or has no comments?** It is listed in `OUTPUT` and billed the small flat unavailable-video fee.

**Do I need an account or cookies?** No. Only publicly visible Douyin data is collected, without logging in.

### Data & privacy

Only publicly visible data is collected. To bill correctly and keep the scraper healthy, each run reports its input (the videos and options you entered), result counts, charges and upstream request counts to FeedPull's own monitoring, tied to a pseudonymous id of your Apify account. Scraped results go only to your dataset. Inputs and per-target details are deleted after 90 days; only aggregate counts are kept.

### More scrapers by FeedPull

| Actor | What you get | Price |
|---|---|---|
| [Instagram Posts Scraper](https://apify.com/feedpull/instagram-posts-scraper) | One Instagram post or reel saved to the dataset | from $0.30 / 1,000 posts |
| [Instagram Reels Scraper](https://apify.com/feedpull/instagram-reels-scraper) | One Instagram Reel saved to the dataset | from $0.45 / 1,000 reels |
| [Instagram Profile Scraper](https://apify.com/feedpull/instagram-profile-scraper) | One Instagram profile saved to the dataset | from $1.50 / 1,000 profiles |
| [Douyin Profile Videos Scraper](https://apify.com/feedpull/douyin-profile-videos-scraper) | One Douyin video or image post saved to the dataset | from $1.50 / 1,000 videos |
| [Douyin Comments Scraper](https://apify.com/feedpull/douyin-comments-scraper) | One Douyin comment saved to the dataset | from $0.60 / 1,000 comments |
| [Xiaohongshu (RedNote) Search Scraper](https://apify.com/feedpull/xiaohongshu-search-scraper) | One Xiaohongshu note from the search results saved to the dataset | from $2.50 / 1,000 notes |
| [Xiaohongshu (RedNote) Profile Notes Scraper](https://apify.com/feedpull/xiaohongshu-user-notes-scraper) | One Xiaohongshu note saved to the dataset | from $2.50 / 1,000 notes |
| [Xiaohongshu (RedNote) Comments Scraper](https://apify.com/feedpull/xiaohongshu-comments-scraper) | One Xiaohongshu comment saved to the dataset | from $2.50 / 1,000 comments |
| [TikTok Comments Scraper](https://apify.com/feedpull/tiktok-comments-scraper) | One TikTok comment saved to the dataset | from $0.40 / 1,000 comments |
| [TikTok Search Scraper](https://apify.com/feedpull/tiktok-search-scraper) | One TikTok video from the search results saved to the dataset | from $0.80 / 1,000 videos |
| [YouTube Search Scraper](https://apify.com/feedpull/youtube-search-scraper) | One YouTube video from the search results saved to the dataset | from $1.20 / 1,000 videos |
| [Reddit Search Scraper](https://apify.com/feedpull/reddit-search-scraper) | One Reddit post from the search results saved to the dataset | from $0.80 / 1,000 posts |
| [Reddit Comments Scraper](https://apify.com/feedpull/reddit-comments-scraper) | One Reddit comment (or reply) saved to the dataset | from $0.60 / 1,000 comments |

### Support

Open an issue on the Actor's **Issues** tab — feature requests are welcome.

# Actor input Schema

## `videos` (type: `array`):

Video or image-post links (<code>https://www.douyin.com/video/…</code>, <code>/note/…</code>), share links (<code>https://v.douyin.com/…</code>) or numeric video ids.

## `resultsLimit` (type: `integer`):

How many comments to return for each video (minimum 20). A video with fewer comments is billed only for the comments returned.

## Actor input object example

```json
{
  "videos": [
    "https://www.douyin.com/video/7618193245298098086"
  ],
  "resultsLimit": 100
}
```

# Actor output Schema

## `comments` (type: `string`):

One item per scraped comment.

## `summary` (type: `string`):

Per-video status and counts.

# 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 = {
    "videos": [
        "https://www.douyin.com/video/7618193245298098086"
    ],
    "resultsLimit": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("feedpull/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 = {
    "videos": ["https://www.douyin.com/video/7618193245298098086"],
    "resultsLimit": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("feedpull/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 '{
  "videos": [
    "https://www.douyin.com/video/7618193245298098086"
  ],
  "resultsLimit": 100
}' |
apify call feedpull/douyin-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,feedpull/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/GfSdsWFYDhEMSiADQ/builds/rLz0bBHjigKJRMAsx/openapi.json
