# Douyin Scraper 抖音 - Video, Comments, Profile & Hot Search (`kalilfagundes.w/douyin-scraper`) Actor

\[Limited Launch Offer $2/1K] Chinese TikTok (抖音) data without login: Douyin video stats and file links, comments, creator profiles with followers and latest videos, and the hot search trending board.

- **URL**: https://apify.com/kalilfagundes.w/douyin-scraper.md
- **Developed by:** [Scrape With Me](https://apify.com/kalilfagundes.w) (community)
- **Categories:** Social media, Videos
- **Stats:** 3 total users, 2 monthly users, 88.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 1,000 videos

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 Scraper - Videos, Comments, Profiles & Hot Search (抖音)

Scrape **Douyin** (抖音, the Chinese TikTok) without login or cookies. Get full details for any video link, creator
profiles with their latest videos, **comments** for every video, and the live **hot search board (抖音热榜)** - in one
run. Export to JSON, CSV or Excel, or call it as an API.

### What you get

- **Videos**: caption, publish time, likes, comments, shares, collects (saves), duration, hashtags, music, cover,
  video file link, image posts (图文) with all images, author (nickname, sec_uid, Douyin id, avatar).
- **Comments**: text, likes, reply count, time, commenter IP region, hot flag, "liked by author", images, author.
- **Creator profiles**: followers, following, total likes received, video count, IP region, bio, verification,
  gender, age, city, private/live flags.
- **Hot search**: rank, topic, heat, label, number of videos, topic link.

### Why this scraper

- **Everything in one run**: video links + creators + hot board together, comments for every video found.
- **No cookies, no account**: the scraper creates its own guest identity.
- **Low price** per row (see Pricing).

### Use cases

- Influencer (KOL / 达人) research and tracking: followers, likes, posting cadence, engagement per video.
- Comment datasets for sentiment analysis, product feedback and AI training.
- Trend monitoring from the hot board (schedule it hourly).
- Campaign and competitor monitoring by video link.

### Input example

```json
{
  "videoUrls": ["https://www.douyin.com/video/7372484719365098803", "https://v.douyin.com/xxxxxxx/"],
  "users": ["https://www.douyin.com/user/MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc"],
  "maxVideosPerUser": 30,
  "maxCommentsPerVideo": 100,
  "hotSearch": true,
  "maxItems": 2000
}
```

### Output example

```json
[
  {
    "type": "video",
    "id": "7372484719365098803",
    "url": "https://www.douyin.com/video/7372484719365098803",
    "description": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
    "createdAt": "2024-05-24T08:46:14Z",
    "isImagePost": false,
    "durationSec": 8,
    "authorName": "萧萧不吃辣",
    "authorSecUid": "MS4wLjABAAAAGhTVHcr1tmaen43gOCk7JxI2ZHioZL3UzgmydgHUFFQ",
    "authorUid": "95823111667",
    "authorDouyinId": "L99612",
    "authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAGhTVHcr1tmaen43gOCk7JxI2ZHioZL3UzgmydgHUFFQ",
    "authorAvatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834…",
    "authorFollowers": 2643494,
    "likesCount": 313248,
    "commentsCount": 4074,
    "sharesCount": 79961,
    "collectsCount": 19942,
    "playCount": null,
    "hashtags": [
      "双子座"
    ],
    "musicTitle": "@KD_B Music创作的原声",
    "musicAuthor": "KD_B Music",
    "coverUrl": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/2e15bac766559cfecbc98ac0334a9bd6~tplv-dy-resize-origshort-autoq-75:3…",
    "videoFileUrl": "https://v5-dy-ov-experiment.zjcdn.com/46193bd9230fb62a311f30e8cf66b629/6ace8c4f/video/tos/cn/tos-cn-ve-15c001-alinc2/ooi…",
    "images": [],
    "ipLocation": null,
    "isAd": false,
    "rank": null,
    "source": "video",
    "input": "7372484719365098803",
    "scrapedAt": "2026-10-13T16:53:43Z"
  },
  {
    "type": "comment",
    "commentId": "7372566061852410676",
    "text": "谁懂啊[流泪][流泪]",
    "likesCount": 1932,
    "repliesCount": 73,
    "createdAt": "2024-05-24T14:01:46Z",
    "ipLocation": "四川",
    "isHot": true,
    "isLikedByAuthor": false,
    "images": [
      "https://p9-sign.douyinpic.com/tos-cn-i-p14lwwcsbr/5b6d6d073df843e1aae6890b8c69b43f~tplv-p14lwwcsbr-7.image?lk3s=7b078dd2&x-expires=1791928800&x-signature=jRTvW7lJj%2FQL2NdHKCCYgu8ccrI%3D&from=2064092626&se=false&sc=image&biz_tag=aweme_comment&l=2026101400534484479C7260790431CD8D"
    ],
    "authorName": "择",
    "authorSecUid": "MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc",
    "authorUid": "99201308279",
    "authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc",
    "authorAvatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_30f90000370b43b23233c.jpeg?from=2064092626",
    "videoId": "7372484719365098803",
    "videoUrl": "https://www.douyin.com/video/7372484719365098803",
    "source": "comments",
    "input": "7372484719365098803",
    "scrapedAt": "2026-10-13T16:53:44Z"
  },
  {
    "type": "profile",
    "secUid": "MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc",
    "uid": "99201308279",
    "douyinId": "2228320928",
    "name": "择",
    "url": "https://www.douyin.com/user/MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc",
    "signature": "“大抵是风过了，情断了”\n微信：晚.    微信号：Air-24JT",
    "avatarUrl": "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/mosaic-legacy_30f90000370b43b23233c.jpeg?from=2956013662",
    "followersCount": 43620,
    "followingCount": 34,
    "likesReceived": 4425881,
    "videosCount": 486,
    "ipLocation": "四川",
    "verification": null,
    "gender": null,
    "age": 22,
    "city": null,
    "province": null,
    "country": null,
    "isPrivate": false,
    "isLiveNow": false,
    "source": "profile",
    "input": "MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc",
    "scrapedAt": "2026-10-13T16:52:02Z"
  },
  {
    "type": "hot-search",
    "rank": 1,
    "word": "习近平举行仪式欢迎博茨瓦纳总统访华",
    "heat": null,
    "label": null,
    "videoCount": null,
    "eventTime": null,
    "url": "https://www.douyin.com/hot/2694061",
    "source": "hot-search",
    "input": "hot-search",
    "scrapedAt": "2026-10-13T16:52:02Z"
  }
]
```

Every row has `type` (`video`, `comment`, `profile` or `hot-search`), `source`, the `input` that found it and
`scrapedAt`. Dates are ISO 8601 in UTC.

### Run it on a schedule and connect it to your tools

**Schedule:** in Apify Console open *Schedules → Create*, pick this actor and your input, and set it to run
every Monday at 07:00 (your time zone) for a fresh dataset on a fixed day. Each run returns the full, current result set as a new dataset.

**Integrations** (Actor → *Integrations* tab, no code):

- **Google Sheets** — append every run's rows to a sheet.
- **Make, Zapier, n8n** — start the actor from a scenario/zap/workflow and use the rows in the next steps.
- **Webhook** — get a POST to your endpoint when a run succeeds, then download the dataset.
- **Slack / email** — notify your team when a scheduled run finishes.

**AI agents (MCP)** — Claude, ChatGPT, Cursor, VS Code or any MCP client can run it as a tool: add the Apify MCP
server `https://mcp.apify.com?actors=kalilfagundes.w/douyin-scraper` (sign in with your Apify account) and ask for the data in
plain language. The agent fills the input from the input schema and reads the dataset back.

**API** — call it from your code (`pip install apify-client` / `npm i apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("kalilfagundes.w/douyin-scraper").call(run_input={
    "hotSearch": True,
    "users": [
        "https://www.douyin.com/user/MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc"
    ],
    "maxVideosPerUser": 25,
    "videoUrls": [
        "7372484719365098803"
    ],
    "maxItems": 200
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('kalilfagundes.w/douyin-scraper').call({
  "hotSearch": true,
  "users": [
    "https://www.douyin.com/user/MS4wLjABAAAAuR0Gctwoo_l-tM171kiImHs4dORn2_cECLNUi2PFFbc"
  ],
  "maxVideosPerUser": 25,
  "videoUrls": [
    "7372484719365098803"
  ],
  "maxItems": 200
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### Pricing

Pay only for the rows you get (launch offer, lower on higher Apify plans):

| Row | Price |
|---|---|
| Video | $2 per 1,000 |
| Comment | $1 per 1,000 |
| Creator profile | $2 per 1,000 |
| Hot search row | $1 per 1,000 (the ~50-topic board = $0.05) |
| Run start | $0.002 per GB of memory (1 GB default) |

Example: 100 videos with 100 comments each = $0.20 + $10 = $10.20. `maxItems` and the per-input limits cap every run.

### Limits and FAQ

- **Keyword search is not included**: Douyin requires a login or a CAPTCHA for searches from guests, and this scraper
  never logs in or solves CAPTCHAs. Use video links, creator links and the hot board.
- **Replies to comments** are not available to guests; top-level comments page through normally.
- Play counts are only shown when Douyin exposes them publicly. Video file links expire after a few hours.
- Deleted, private or region-locked videos and unknown creators are reported in the OUTPUT summary.
- Only public data is collected. No login, cookies or CAPTCHA solving.

Questions or a missing field? Open an issue on the Issues tab - feedback is answered quickly.

### Related actors

- [Bilibili Scraper & API - Videos, Comments, Danmaku 哔哩哔哩](https://apify.com/kalilfagundes.w/bilibili-scraper)
- [Weibo Scraper - Hot Search, Posts, Comments & Profiles 微博](https://apify.com/kalilfagundes.w/weibo-scraper)
- [Meta Threads Scraper - Posts, Replies, Profiles & Hashtags](https://apify.com/kalilfagundes.w/threads-scraper)

# Actor input Schema

## `videoUrls` (type: `array`):

Links like https://www.douyin.com/video/7372484719365098803, v.douyin.com share links or video ids. Returns full details for each video.

## `users` (type: `array`):

Creator links like https://www.douyin.com/user/MS4wLjABAAAA..., v.douyin.com share links or sec_uid values. Returns a profile row and the latest videos.

## `hotSearch` (type: `boolean`):

Douyin's live hot list: rank, topic, heat, label and video count.

## `maxVideosPerUser` (type: `integer`):

Latest videos per creator (pinned videos first). 0 = profile only.

## `maxCommentsPerVideo` (type: `integer`):

Comments for every video found, with paging. 0 = no comments.

## `includeProfile` (type: `boolean`):

One row per creator: followers, likes received, videos, IP region, bio, verification.

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

Stop after this many rows in the whole run. 0 = no limit.

## `proxyConfiguration` (type: `object`):

Used when Douyin refuses a session: a new guest identity is made on a new proxy IP.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.douyin.com/video/7372484719365098803"
  ],
  "hotSearch": false,
  "maxVideosPerUser": 20,
  "maxCommentsPerVideo": 20,
  "includeProfile": true,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

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

OUTPUT record: per input, rows saved and errors.

# 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 = {
    "videoUrls": [
        "https://www.douyin.com/video/7372484719365098803"
    ],
    "maxCommentsPerVideo": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kalilfagundes.w/douyin-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 = {
    "videoUrls": ["https://www.douyin.com/video/7372484719365098803"],
    "maxCommentsPerVideo": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("kalilfagundes.w/douyin-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 '{
  "videoUrls": [
    "https://www.douyin.com/video/7372484719365098803"
  ],
  "maxCommentsPerVideo": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call kalilfagundes.w/douyin-scraper --silent --output-dataset

```

## MCP server setup

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