# Douyin Scraper 🔥 $0.5/1K Videos, Likes & Downloads (`azzouzana/douyin-scraper`) Actor

Paste one or many Douyin video links and get each public post in seconds: caption, likes, comments, shares, collects, creator, music, hashtags, cover, and download URLs. Built for trend tracking and creative research. From $0.5/1K 💰 Export JSON, CSV, Excel, or API. 🚀

- **URL**: https://apify.com/azzouzana/douyin-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.50 / 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 Video Scraper

Copying Douyin posts by hand is a time-sink. Paste a video link and the full post lands in your dataset in seconds: caption, likes, shares, collects, creator, music, hashtags, cover, and download URLs.

### Engineering Excellence & Reliability 🚀

- **Drop in a link**: a douyin.com/video URL, a v.douyin.com share link, or the video id.
- **The whole post**: likes, comments, shares, collects, creator, music, hashtags, cover, and playable URLs.
- **Results in seconds**: one public video in, one complete record out.
- **We bypass the website limitation and go beyond it.** Duplicate videos are skipped.
- **Clean exports**: JSON, CSV, Excel, or API, ready for sheets and dashboards.

### 🛠️ 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. Every link is saved. Duplicates are skipped. |

One link:

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

A batch, including a bare id and a share link:

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

### 🆓 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 video is one record. Fields are flat strings and numbers from a real Douyin post.

```json
{
  "videoId": "7615930241370348219",
  "url": "https://www.douyin.com/video/7615930241370348219",
  "title": "夜宵简单吃个长沙滋啦冒油的炭烤牛肋排和三文鱼牛肉卷…",
  "description": "夜宵简单吃个长沙滋啦冒油的炭烤牛肋排和三文鱼牛肉卷… #饭搭子 #深夜放毒 #寻味烟火气 #长沙美食",
  "hashtags": "饭搭子, 深夜放毒, 寻味烟火气, 长沙美食",
  "category": "餐厅探店",
  "publishedAt": "2026-03-11T09:39:01.000Z",
  "durationSeconds": 12.6,
  "likes": 139684,
  "comments": 11063,
  "shares": 608327,
  "collects": 13681,
  "coverUrl": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/25c91036ef79ff16dfcedf45594239d3~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2109938400&x-signature=URvfiwb9pZ%2F1UxxWUFc3FV5iZGM%3D&from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=cover&biz_tag=pcweb_cover&l=20261113222342E91EDF5D0CAFE3671A12",
  "videoUrl": "https://v3-dy-o.zjcdn.com/3c7c6fccdc4f167d1387ecc8384a3dc5/6af747aa/video/tos/cn/tos-cn-ve-15c000-ce/oEBftAem8YEQpV7uBVgNIfLIITJ1bTxrGMJnCp/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=6133&bt=6133&cs=0&ds=4&ft=t2zLrAjeM97qxR30J.UcNbFSY~QCd2DtG9-~jHyq8_45a&mime_type=video_mp4&qs=0&rc=PDc0OTY0NTw8NDloZDU0NEBpam91dnU5cmRtOTMzbGkzNEA1MjJeLzI0XjExLy9jXzA0YSNoc2xjMmRrZGxhLS1kLWJzcw%3D%3D&btag=c0000e00008000&cc=1f&cquery=100x_100z_100o_100w_100B&dy_q=1794579822&feature_id=37f92ebd2877ae8e7eba995d406c5150&l=20261113222342E91EDF5D0CAFE3671A12&req_cdn_type=",
  "downloadUrl": "https://v3-dy-o.zjcdn.com/3f81aecb8127b181e6de7b608716f8f3/6af747aa/video/tos/cn/tos-cn-ve-15c000-ce/oY1xVfBIjm7NQE9IFCLTAOmGgp8FGJ9DenYBft/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=3442&bt=3442&cs=0&ds=3&ft=t2zLrAjeM97qxR30J.UcNbFSY~QCd2DtG9-~jHyq8_45a&mime_type=video_mp4&qs=0&rc=aThkM2c7ZDRkN2U2ZWQ2OEBpam91dnU5cmRtOTMzbGkzNEAzMy5iNTBjNjQxMWIuNWEtYSNoc2xjMmRrZGxhLS1kLWJzcw%3D%3D&btag=c0000e00008000&cc=1f&cquery=100w_100B_100x_100z_100o&dy_q=1794579822&feature_id=93c5283e1794c821af5e0ee1411bec9d&l=20261113222342E91EDF5D0CAFE3671A12&req_cdn_type=",
  "musicTitle": "@章章干嘛呢创作的原声",
  "musicUrl": "https://lf26-music-east.douyinstatic.com/obj/ies-music-hj/7615930215939820347.mp3",
  "authorName": "章章干嘛呢",
  "authorId": "MS4wLjABAAAAUT_tvNpyI5-tObkvU2xaaqyeDpek5UJXLG8mePjYxTQ",
  "authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAUT_tvNpyI5-tObkvU2xaaqyeDpek5UJXLG8mePjYxTQ",
  "authorFollowers": 109498,
  "authorBio": "在我喜欢的状态里记录我喜欢的生活🤳\n  美食｜看展｜旅游攻略｜记录生活\n📮Yurio0904（请备注来意"
}
```

### 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 to save. Each row can be a full link, a v.douyin.com share link, share text, or a bare video id.

## Actor input object example

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

# 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"
    ]
};

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

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

```

## MCP server setup

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