For AI

Answers

How do I get transcripts of Douyin and RedNote videos? (2026)

Short answer

Call the okdata transcript endpoints with a video ID and get the spoken words back as full text plus segments with start and end seconds: [Douyin](/apis/douyin/videos/transcript/get/) is $0.044 a video and [Xiaohongshu (RedNote)](/apis/xiaohongshu/videos/transcript/get/) $0.084, for videos up to 30 minutes. Find the IDs with a search first; one keyword and five Douyin transcripts cost about $0.24.

A brand team abroad wants to know how Chinese creators talk about its category: which claims they make, how they open, what they warn viewers about. On Douyin and RedNote that lives in the voiceover, not the caption, and neither app offers subtitles you can download. Watching and translating video by video does not scale, and both apps want a Chinese phone number.

The okdata transcript endpoints take a video ID and return what is said: one text field with the full transcript and a list of segments, each with start and end seconds. No download, no Chinese account, and it works from servers in any country.

The two endpoints

Platform Endpoint Price Limit
Douyin Douyin video transcript $0.044 a video up to 30 minutes
Xiaohongshu (RedNote) RedNote video transcript $0.084 a video video notes, up to 30 minutes

The response has the same shape as the Bilibili and TikTok transcript endpoints, so one parser covers all of them. A video transcribed once is kept, so asking again is faster and billed the same. Videos longer than 30 minutes return invalid_params.

A real run: five videos on choosing a down jacket

On 27 November 2026 we searched Douyin for 羽绒服怎么选 ("how to choose a down jacket", a big seasonal topic in China) and transcribed the top five results, then did the same search on RedNote and transcribed one video note.

Video Length Wait Characters Result
Douyin, 12k likes 1:34 23 s 460 ok
Douyin, 1.1k likes 0:34 9 s 224 ok
Douyin, 25k likes 2:04 39 s 634 ok
Douyin, 66k likes 1:49 18 s 652 ok
Douyin, 4.5k likes — 15 s — no result this time, not charged
RedNote video note 2:26 16 s — ok, 17 segments

Two searches and the successful transcripts came to $0.315.

Read side by side, the four Douyin scripts teach the same three checks: the standard number on the care label, the down cluster percentage, and not trusting sellers' wording. They disagree on which edition of the standard is current, one saying 2021 and another 2024. That kind of conflict jumps out once the scripts are next to each other, and it is exactly what to verify before you repeat a claim. The RedNote video took a different angle altogether: fluorine-based water-repellent finishes in children's jackets.

Three things to expect

Sound-alike typos. This is speech recognition, so characters with the same sound get swapped (绒子 written as 溶子, 水洗标 as 熟洗标) and English acronyms get split into letters. Tell the model the text is a machine transcript and it will usually correct as it goes; have a person read anything you publish.

Speech only. On-screen text, products and shots are not in the result. Many shopping videos put prices and selling points on screen, and those are missed. Music-only videos come back nearly empty.

The odd miss. One of the five returned upstream_failed this time and was not charged; retrying later is fine. In a batch, skip failures and carry on.

Code

import os, requests

API, H = "https://api.okdata.online", {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}

def call(path, **params):
    return requests.get(API + path, headers=H, params=params, timeout=180).json()

found = call("/v1/douyin/videos/search", query="羽绒服怎么选")
for v in found["data"]["items"][:5]:
    r = call("/v1/douyin/videos/transcript/get", id=v["id"])
    if r["code"] != "ok":
        print(v["id"], "skipped:", r["code"])
        continue
    segs = r["data"]["item"]["segments"]
    lines = [f"[{int(s['start'])//60:02d}:{int(s['start'])%60:02d}] {s['text']}" for s in segs]
    open(f"{v['id']}.txt", "w").write(v["text"] + "\n\n" + "\n".join(lines))

For RedNote, use /v1/xiaohongshu/videos/transcript/get with a video note ID, found through RedNote note search.

Each transcript takes ten to forty seconds, so keep the timeout generous and run a few in parallel for larger batches.

Handing it to an AI

Give the model each transcript with its caption and like count, and ask for the analysis in your own language:

Below are voiceover transcripts of five Douyin videos for one search term
(machine speech recognition, in Chinese, may contain typos).
1. One line in English on what each video says.
2. The points most of them share, and where they contradict each other.
3. How the most-liked video hooks viewers in its first ten seconds.
4. An angle for our own video that none of them covers.

From Claude, Cursor or any MCP client connected to the okdata MCP server, you can simply ask: "Transcribe the five most popular Douyin videos for 羽绒服怎么选 and summarize what they agree on, in English." The model searches, transcribes, summarizes, and reports what it spent.

What it costs

One search and five Douyin transcripts: $0.24. Four keywords a week at five videos each comes to about $3.84 a month; the same volume on RedNote is about $7.28.

New accounts get 0.10 of free credit, enough to transcribe a couple of videos and judge the quality.

Sources

Where people asked this (read 2026-11-27)

Updated

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp