# Douyin video to text

Paste a Douyin video link and read what is said in it: the full text, and every line with its start and end time. One lookup is one call: $0.0020 from your own balance, plus $0.0038 a minute when the speech is recognised (a part minute counts as one), the same price as the API. A failed lookup is not charged.

## What the numbers mean

- Text: Everything said in the video, as one string.
- Segments: Each sentence with where it starts and ends, in seconds; the full view adds each word's time and ready SRT subtitles.
- Where it comes from: The platform's own subtitles where the video has them; otherwise the speech is recognised, charged by the minute recognised.
- Nobody speaking: A video with only music or silence says so, and is not charged.

## Questions

### Why do I need to sign in?

Each lookup is a real call and costs $0.0020. Nothing on this site makes a call for a visitor who is not signed in. Signing in takes an email address, and the lookup then runs on your own balance.

### Which links work?

A link to one Douyin post or video, as the address bar shows it (for example https://www.douyin.com/video/7694940173372575014), or its ID.

### Can a video without subtitles be turned into text?

Yes. Where the platform has no subtitles, the speech is recognised: the call's price, plus each minute recognised (a part minute counts as one).

### How long a video?

This page turns one video of up to 5 minutes into text on the spot. A longer one, up to 2 hours, goes through the API or the command line: it is answered with a job, and the text is collected with the job a little later, charged by its actual minutes.

### Can I get plain text?

Yes. The result has the whole text in one field, and the timed sentences beside it.

## By API

- Endpoint: `GET /v1/douyin/videos/transcript/get?url=https://www.douyin.com/video/7694940173372575014`
- Price: $0.0020 / call
- [Douyin video transcript (video to text)](https://dataxapi.com/apis/douyin/videos/transcript/get/)
- [Run it in the Playground](https://dataxapi.com/console/playground/?capability=douyin.videos.transcript.get&params=%7B%22url%22%3A%22https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7694940173372575014%22%7D)

```bash
curl -G "https://api.dataxapi.com/v1/douyin/videos/transcript/get" \
  --data-urlencode "url=https://www.douyin.com/video/7694940173372575014" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
```

---

Catalog revision 0051cce45e9530b9. [HTML version](https://dataxapi.com/tools/douyin-transcript/)
