# Douyin Transcript Scraper - 抖音 Video to Text (`seemuapps/douyin-transcript-scraper`) Actor

Turn Douyin (抖音, TikTok China) videos into text: full timestamped transcript, detected language and optional English translation, with video stats. No login.

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

## Pricing

from $5.00 / 1,000 transcripts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Transcript Scraper - 抖音 Video to Text

Turn Douyin (抖音, the Chinese version of TikTok) videos into text. Get the full spoken transcript with timestamps, the detected language and an optional English translation, along with the video's description, stats and creator. Paste video links or a creator's profile to transcribe their newest videos. No login and no Douyin account needed.

### What you get

One row per video:

- **Transcript**: full spoken text, character or word count, detected language and timestamped segments (start, end, text)
- **English translation** (optional): a natural English version of the transcript
- **Video**: video ID and URL, description, post date, duration and cover image
- **Engagement**: likes, comments, shares and saves
- **Creator**: nickname, Douyin ID and profile URL
- **Status**: `ok`, `no_speech` (music-only or silent video) or `failed` with a reason

### Use cases

- **Content research and repurposing**: read what top Douyin creators say, then adapt scripts for TikTok, Reels or Shorts
- **China market and product research**: search spoken mentions of brands, products and prices
- **Translation and subtitles**: get timestamped Mandarin text plus English for subtitling
- **Competitor analysis**: transcribe a brand's or creator's recent videos in bulk
- **Datasets**: build Mandarin speech-to-text corpora with metadata

### How to use

1. Paste **Douyin videos** (video URLs, `v.douyin.com` share links, share text or IDs), and/or **Creator profiles** to transcribe their newest videos
2. Turn on **Translate to English** if you need English
3. Leave **Spoken language** on `auto`, or set e.g. `zh`
4. Run the actor and export from the **Dataset** tab

### Pricing

You pay per video processed, per transcript, per extra minute of speech beyond the first, and per minute translated when English translation is on. Music-only videos with no speech are charged only the processing fee. Failed videos are free.

### Output example

Transcript and translation shortened here; `segments` holds every line with start and end times in seconds.

```json
{
  "status": "ok",
  "error": null,
  "source": "https://www.douyin.com/video/7538676134003756326",
  "videoId": "7538676134003756326",
  "url": "https://www.douyin.com/video/7538676134003756326",
  "description": "咖啡喝对了是健康饮品，喝错了就是“甜蜜陷阱” #喝咖啡 #咖啡 #咖啡续命 #健康科普 #健康科普有真知",
  "createdAt": "2025-08-17T10:00:00.000Z",
  "durationSeconds": 286.5,
  "likes": 126139,
  "comments": 11854,
  "shares": 94820,
  "saves": 50508,
  "authorNickname": "薄世宁医生",
  "authorDouyinId": "boshining",
  "authorUrl": "https://www.douyin.com/user/MS4wLjABAAAAz1lOStxwzCZF5cJ3h8Sa2FPQ_8_l_vQdpdKEm1oEF_k",
  "coverUrl": "https://p3-sign.douyinpic.com/tos-cn-p-0015/oksoBeITErgFsMwAlg0QnMV69EojDACyAftQ6N~tplv-dy…",
  "language": "zh",
  "transcript": "喝什么样的咖啡？它的健康好处最大。能不能加糖加奶？一天喝几杯？还有哪些人不适合？咱们今天用循证医学的角度，把这几件事一次性给你讲清楚。我喜欢喝咖啡。首先呢，喝咖啡到底真的有健康益处吗？答案是啊，对大多数人，适量喝咖啡确实是能够带来一定的健康…",
  "wordCount": 1359,
  "transcriptEnglish": "What kind of coffee should you drink for the greatest health benefits? Can you add sugar and milk? How many cups a day? And who shouldn't drink it? Today, we'll…",
  "segments": [
    {
      "start": 0,
      "end": 1,
      "text": "喝什么样的咖啡？"
    },
    {
      "start": 1,
      "end": 3,
      "text": "它的健康好处最大。"
    }
  ],
  "minutesTranscribed": 5,
  "scrapedAt": "2026-10-25T23:37:59.394Z"
}
```

### FAQ

**Do I need a Douyin account or cookies?** No.

**Does it work on photo slideshows?** No. Slideshows have no spoken audio, so they're returned as `failed` with a reason and aren't charged.

**How long can videos be?** Up to 2 hours. Long videos are transcribed in 10-minute chunks with continuous timestamps.

# Actor input Schema

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

Video URLs (https://www.douyin.com/video/…), v.douyin.com share links, pasted share text, or video IDs. One per line.

## `profiles` (type: `array`):

Optional: Douyin profile URLs, share links or sec_uid values. The actor transcribes each creator's newest videos (see Max videos per creator).

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

How many of each creator's newest videos to transcribe.

## `translateToEnglish` (type: `boolean`):

Add an English translation of each transcript (transcriptEnglish). Charged per minute of video translated.

## `language` (type: `string`):

'auto' or a 2-letter ISO code (zh, en, ja ...). Most Douyin videos are Mandarin; leave on auto for mixed content.

## `includeSegments` (type: `boolean`):

Add a segments array (start, end, text in seconds) to every row. The full transcript is always included.

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

Safety cap on the total number of videos transcribed in this run. 0 = no cap (up to 1,000).

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.douyin.com/video/7534641277405531446"
  ],
  "maxVideosPerProfile": 10,
  "translateToEnglish": false,
  "language": "auto",
  "includeSegments": true,
  "maxItems": 0
}
```

# Actor output Schema

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

One row per video: status, video ID and URL, description, stats, creator, detected language, full transcript, character/word count, optional English translation and timestamped segments.

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

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

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

```

## MCP server setup

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