# Douyin Video Downloader & Scraper - No Watermark (`hgservices/douyin-scraper`) Actor

Download Douyin (抖音) videos without watermark and scrape profiles: captions, likes, comments, views, music & hashtags. Export to JSON, CSV, or Excel. No login, no code.

- **URL**: https://apify.com/hgservices/douyin-scraper.md
- **Developed by:** [Harish Garg](https://apify.com/hgservices) (community)
- **Categories:** Videos, AI, MCP servers
- **Stats:** 77 total users, 17 monthly users, 99.8% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Douyin Scraper — Download Videos & Export Profile Data (No Watermark)

Scrape **Douyin (抖音)**, China's version of TikTok, and export clean, structured data in seconds. Get **no-watermark video download URLs**, captions, view/like/comment counts, author details, music, hashtags, and more — from single videos or entire creator profiles. No login, no coding, no browser extensions.

Export results to **JSON, CSV, or Excel**, or pull them straight into your app via the Apify API.

> 👤 **Need in-depth profile data?** Try the dedicated **[Douyin Profile Scraper](https://apify.com/hgservices/douyin-profile-scraper)** — get full profile metadata (follower counts, bio, verification status) alongside a creator's videos.

### What this Douyin scraper does

- 🎬 **Download Douyin videos without watermark** — get the direct no-watermark MP4 URL for any video.
- 👤 **Scrape Douyin profiles** — pull a creator's full video history, newest first.
- 📊 **Export engagement metrics** — likes, comments, shares, and saves for individual video links.
- 🖼️ **Handles photo/slideshow posts** — image posts are captured too, not just videos.
- 🎵 **Get the background music** — track title and audio URL for each post.
- ⚡ **Fast and reliable** — no login or cookies required; just paste a link and run.

### What data you get

For every Douyin post, this scraper returns:

| Data | Description |
|------|-------------|
| No-watermark video URL | Direct MP4 link, ready to download or embed |
| Caption & hashtags | Full description text plus extracted hashtags |
| Author | Display name, unique ID, and profile ID |
| Engagement | Likes, comments, shares, and saves (individual video links) |
| Publish date | When the video was posted |
| Duration & region | Video length and country |
| Cover image | Thumbnail URL |
| Music | Track title and audio URL |
| Photo posts | Image URLs for slideshow-style posts |
| On-screen text (OCR) | Douyin's own OCR of text shown in the video (individual video links, when available) |

### How to use the Douyin scraper

1. **Add Douyin links** — paste one or more video URLs (e.g. `https://www.douyin.com/video/1234...` or a `v.douyin.com` share link) and/or creator profile URLs (homepage/share links, or a bare `sec_uid` like `MS4wLjABAAAA...`). You can mix both.
2. **Set your options** — choose how many videos to pull per profile (20–5,000). Values below 20 are silently raised to 20, because the profile endpoint always returns a full 20-item page.
3. **Run and export** — click **Start**, then download your results as JSON, CSV, or Excel, or fetch them via the API.

#### Input fields

| Field | Type | Default | Description |
|------|------|---------|-------------|
| `startUrls` | array of strings | — | Douyin video URLs or share links. Each produces one row with the no-watermark MP4 URL. |
| `profileUrls` | array of strings | — | Douyin profile URLs, `v.douyin.com` share links to a profile, or a bare `sec_uid`. The actor lists each user's posts, newest first. |
| `maxVideosPerProfile` | integer | `20` | Upper bound on posts fetched per profile URL. **Minimum 20** (the profile endpoint's page size); values below 20 are silently raised to 20. Maximum 5,000. |

#### Example input

```json
{
  "startUrls": [
    "https://www.douyin.com/video/7045159024525905183"
  ],
  "profileUrls": [
    "https://www.douyin.com/user/MS4wLjABAAAARhKifOuUM5SVneEoxKNleQQxW3tKGDzdd9rah6nEpLc"
  ],
  "maxVideosPerProfile": 30
}
```

#### Example output (one video)

```json
{
  "awemeId": "7045159024525905183",
  "url": "https://www.douyin.com/video/7045159024525905183",
  "desc": "37岁再次手绘家乡图寻亲 #抖音寻人",
  "createTime": "2021-12-24T14:55:12+00:00",
  "authorName": "黎方富",
  "durationMs": 123513,
  "region": "CN",
  "videoUrlNoWatermark": "https://v9-v2-mps-cdn.douyinvod.com/.../main.mp4",
  "videoMirrors": ["https://v9-v2-mps-cdn.douyinvod.com/.../main.mp4", "..."],
  "cover": "https://p3-pc-sign.douyinpic.com/...jpeg",
  "musicUrl": "https://sf11-cdn-tos.douyinstatic.com/obj/ies-music/....mp3",
  "hashtags": ["抖音寻人"],
  "seoOcrContent": "37岁再次手绘家乡图寻亲",
  "diggCount": 9755,
  "commentCount": 1044,
  "shareCount": 551,
  "collectCount": 289,
  "admireCount": 12
}
```

Engagement counts (likes, comments, shares, saves) and on-screen OCR text are included for individual video links. Profile listings return each post's caption, publish date, author, media links, and hashtags — without per-video counts.

To save a video file, fetch the URL in `videoUrlNoWatermark` (or one of the `videoMirrors`) with your own tool of choice — the links are direct CDN URLs that need no login or cookies.

### Looking for keyword search?

Keyword search now lives in its own dedicated actor — **Douyin Search Scraper** — built for discovering videos by search term with sort, publish-window, and duration filters. This actor stays focused on what it does best: video URLs and profiles.

### Popular use cases

- **Content creators & marketers** — download Douyin videos without watermark to repurpose or archive.
- **Trend & influencer research** — track what's performing across creators and topics.
- **Competitor analysis** — monitor rival brands' Douyin content and engagement.
- **Datasets for AI/ML** — collect video, caption, and metadata at scale.
- **Social media analytics** — measure reach and engagement over time.

### Frequently asked questions

**Can I download Douyin videos without a watermark?**
Yes. Every result includes a direct no-watermark MP4 URL (`videoUrlNoWatermark`) plus backup mirror links. Open the link or fetch it with your own tooling to save the file — no login or cookies needed.

**Do I need a Douyin account or login?**
No. This scraper works without any account, password, or cookies.

**Can I scrape all videos from a Douyin user?**
Yes. Add the profile URL and set how many videos to fetch. Videos are returned newest first.

**Can I search Douyin by keyword instead of pasting URLs?**
Keyword search has moved to its own dedicated actor, **Douyin Search Scraper**. This one focuses on video URLs and profiles.

**Does it work with Douyin share links?**
Yes — both full `douyin.com/video/...` URLs and short `v.douyin.com/...` share links are supported.

**What formats can I export?**
JSON, CSV, and Excel, or pull data programmatically through the Apify API.

**Does it capture photo (slideshow) posts?**
Yes. Image posts return their picture URLs alongside the usual metadata.

### Integrations

Connect this Douyin scraper to your workflow with the **Apify API**, or automate it with **Make**, **Zapier**, **n8n**, Google Sheets, Slack, and more. Schedule runs to keep your Douyin data fresh automatically.

### Is it legal to scrape Douyin?

This scraper collects **publicly available** data only. You are responsible for how you use the data — respect Douyin's terms, applicable laws (such as GDPR), and copyright. Do not use scraped content in ways that infringe creators' rights.

# Actor input Schema

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

Douyin video URLs or share links (e.g. https://www.douyin.com/video/123... or https://v.douyin.com/xxxx/). Each produces one row with the no-watermark MP4 URL.

## `profileUrls` (type: `array`):

Douyin user profile URLs (https://www.douyin.com/user/MS4wLjABAAAA...), v.douyin.com share links to a profile, or a bare sec\_uid (MS4wLjABAAAA...). The actor lists each user's posts, newest first. For advanced profile scraping with full profile metadata, use the dedicated <a href="https://apify.com/hgservices/douyin-profile-scraper">Douyin Profile Scraper</a>.

## `maxVideosPerProfile` (type: `integer`):

Upper bound on posts fetched per profile URL. The profile endpoint returns posts in fixed pages of 20, so the minimum is 20; any value below 20 is silently raised to 20.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.douyin.com/video/7045159024525905183"
  ],
  "maxVideosPerProfile": 20
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("hgservices/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/7045159024525905183"] }

# Run the Actor and wait for it to finish
run = client.actor("hgservices/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/7045159024525905183"
  ]
}' |
apify call hgservices/douyin-scraper --silent --output-dataset

```

## MCP server setup

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