# Douyin Video Downloader 🎥 (`easyapi/douyin-video-downloader`) Actor

Extract and download videos from Douyin (Chinese TikTok) without watermark. Get high-quality video URLs, thumbnails, author info and other metadata in structured format. Perfect for content analysis and archiving.

- **URL**: https://apify.com/easyapi/douyin-video-downloader.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Videos, Integrations
- **Stats:** 729 total users, 52 monthly users, 100.0% runs succeeded, 10 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Downloader 🎥

Extract videos and metadata from Douyin (Chinese TikTok) easily! This actor helps you download videos without watermark and get structured data from Douyin video pages.

### Features ✨

- 🎯 Extract videos from Douyin share URLs
- 📹 Get multiple video quality options (HD, no watermark, with watermark)
- 🎵 Extract original audio tracks
- 📝 Get comprehensive video metadata
- 🔄 Batch processing support
- ⚡ Fast and efficient processing

### Output Data 📊

For each video, you'll get:

- Video URLs in different qualities
- Video duration
- Author information
- Video title and description
- Thumbnail URL
- Audio track URL
- Video ID and other unique identifiers

### Input Parameters 📝

The actor accepts the following input:

| Field | Type | Description |
|-------|------|-------------|
| links | array | Array of Douyin video URLs to process |

### Usage 💡

1. Input one or multiple Douyin video URLs
2. Run the actor
3. Get structured JSON output with video data and download links

Example input:monitoring

- Regional availability tracking
- Movie/TV show data collection
- Market research and analysis
- Content recommendation systems

### Limitations ⚠️

- Only works with public Douyin videos
- Rate limiting may apply
- URLs must be from douyin.com domain

### Use Cases 🎯

- Content creators looking to repurpose Douyin content
- Social media researchers and analysts
- Digital marketing agencies
- Content archiving and backup

Need help or have questions? Feel free to reach out through Apify Console! 🤝

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "links": [
        "https://www.douyin.com/video/7045159024525905183"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "url": "https://www.douyin.com/video/7045159024525905183",
        "result": {
            "url": "https://www.douyin.com/video/7045159024525905183",
            "source": "douyin",
            "id": "7045159024525905183",
            "unique_id": "",
            "author": "黎方富（手绘地图寻亲当事人李景伟）",
            "title": "37岁再次手绘家乡图寻亲，每天回忆一遍父母的模样。@河南都市频道 @抖音寻人 @抖音小助手 @中国长安网 @澎湃新闻 @小鱼视频 @映象网 @Vista看天下 ",
            "thumbnail": "https://p3-sign.douyinpic.com/tos-cn-p-0015/70958d073129496b91ca914b104903cd_1640328932~c5_300x400.webp?lk3s=138a59ce&x-expires=1740013200&x-signature=kBobAkak4s4QvkT%2BNQ7VmEPoJeU%3D&from=327834062_large&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=cover&biz_tag=aweme_video&l=202502060938357B41D606393D513AA6AD",
            "duration": 123554,
            "medias": [
                {
                    "url": "https://aweme.snssdk.com/aweme/v1/play/?video_id=v0200fg10000c72mrgrc77udiqoo59sg&line=0&ratio=1080&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1&is_support_h265=0&source=PackSourceEnum_PUBLISH",
                    "data_size": 13285094,
                    "quality": "HD No Watermark",
                    "extension": "mp4",
                    "type": "video"
                },
                {
                    "url": "https://v11-o.douyinvod.com/7acf013bd5b66b01b209b7c0062b46ab/67a6b616/video/tos/cn/tos-cn-ve-15-alinc2/2f1385ad2cb5435c8473b2137a7b8829/?a=2329&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=840&bt=840&cs=0&ds=6&ft=.LlmopLXPWT2NvjHQ5cI~47usMnpQ.naglc9p&mime_type=video_mp4&qs=0&rc=ODQ6O2k4OWc2ZTllO2lkZEBpajxydGc6ZmpwOjMzNGkzM0A0XzMxXy4zNmExLTA0NF5iYSNwMmxmcjRvby9gLS1kLS9zcw%3D%3D&btag=c0010e00028008&cc=3e&cdn_type=2&cquery=101F_101o_101l_104u_100d&dy_q=1738805915&l=202502060938357B41D606393D513AA6AD&pwid=1&req_cdn_type=r",
                    "data_size": 13285094,
                    "quality": "No Watermark",
                    "extension": "mp4",
                    "type": "video"
                },
                {
                    "url": "https://v11-o.douyinvod.com/950da3b8526108e9f8dd4ee3c4cd1c4b/67a6b616/video/tos/cn/tos-cn-ve-15/okEzw4QNPGhrAB5l1ubA7CIAhnCMzpMIrgtfek/?a=2329&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=785&bt=785&cs=0&ds=3&ft=.LlmopLXPWT2NvjHQ5cI~47usMnpQ.naglc9p&mime_type=video_mp4&qs=0&rc=PDo4aDtnNzU6O2c1PDM7Z0BpajxydGc6ZmpwOjMzNGkzM0BhMDVeYjFeXjUxLTU0LV4xYSNwMmxmcjRvby9gLS1kLS9zcw%3D%3D&btag=c0010e00028008&cc=3e&cdn_type=1&cquery=101o_101l_104u_100d_101F&dy_q=1738805915&feature_id=f0150a16a324336cda5d6dd0b69ed299&l=202502060938357B41D606393D513AA6AD&pdp=online_xy&pwid=1&req_cdn_type=r",
                    "data_size": 12723668,
                    "quality": "Watermark",
                    "extension": "mp4",
                    "type": "video"
                },
                {
                    "url": "https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/7045159067383384846.mp3",
                    "duration": 123,
                    "quality": "Audio",
                    "extension": "mp3",
                    "type": "audio"
                }
            ],
            "type": "multiple",
            "error": false,
            "time_end": 297
        }
    }
]
```

### Related Actors

- 🎥 [TikTok Video Downloader](https://apify.com/easyapi/tiktok-video-downloader) - Download TikTok videos without watermarks in high quality
- 🎥 [RedNote(Xiaohongshu) Video Downloader](https://apify.com/easyapi/rednote-xiaohongshu-video-downloader) - Extract videos and metadata from Xiaohongshu posts
- 🎥 [Bilibili Video Downloader](https://apify.com/easyapi/bilibili-video-downloader) - Download videos from Bilibili with multiple quality options
- 🎥 [YouTube Video and MP3 Downloader](https://apify.com/easyapi/youtube-video-and-mp3-downloader) - Download high-quality videos and audio from YouTube
- 🎥 [Instagram Videos Downloader](https://apify.com/easyapi/instagram-videos-downloader) - Download videos from Instagram posts, reels, and stories
- 🎥 [Facebook Video Download](https://apify.com/easyapi/facebook-video-download) - Download Facebook videos in HD, 1080p, 2K, and 4K resolutions
- 🎥 [Twitter/X Video Downloader](https://apify.com/easyapi/twitter-x-video-downloader) - Download high-quality videos from Twitter/X
- 🎥 [VK Video Downloader](https://apify.com/easyapi/vk-video-downloader) - Extract and download high-quality videos from VK.com
- 🎥 [Snapchat Video Downloader](https://apify.com/easyapi/snapchat-video-downloader) - Download videos from Snapchat stories and posts
- 🎥 [DailyMotion Video Downloader](https://apify.com/easyapi/dailymotion-video-downloader) - Extract video metadata and download links from DailyMotion
- 🎥 [Vimeo Video Downloader](https://apify.com/easyapi/vimeo-video-downloader) - Download Vimeo videos in multiple quality options
- 📱 [TikTok Profile Posts Scraper](https://apify.com/easyapi/tiktok-profile-posts-scraper) - Extract comprehensive post data from TikTok user profiles
- 🎥 [TikTok LIVE Scraper](https://apify.com/easyapi/tiktok-live-scraper) - Extract real-time data from TikTok live streams
- 🎥 [TikTok Videos Scraper](https://apify.com/easyapi/tiktok-videos-scraper) - Scrape TikTok video search results with advanced filtering
- 🌐 [All-in-One Media Downloader](https://apify.com/easyapi/all-in-one-media-downloader) - Download videos, images, or audio from various platforms

# Actor input Schema

## `links` (type: `array`):

List of Douyin video URLs to process

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

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "links": [
    "https://www.douyin.com/video/7045159024525905183"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/douyin-video-downloader").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/douyin-video-downloader").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 '{}' |
apify call easyapi/douyin-video-downloader --silent --output-dataset

```

## MCP server setup

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

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/zWEMpLvAjS6EM1gGZ/builds/JYeoM0zLDstZtfgLt/openapi.json
