# Transcript

> Texto con marcas de tiempo de un video.

Canonical page: https://okdata.online/docs/objects/transcript/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `video_id` | string | ID del video. |
| `lang` | string | Idioma de esta transcripción. |
| `segments` | Segment[] | Segmentos con marca de tiempo, en orden. |
| `text` | string | Todos los segmentos unidos como texto plano. |

### Segment

| Field | Type | Description |
|---|---|---|
| `start` | number | Inicio, en segundos desde el principio. |
| `end` | number | Fin, en segundos desde el inicio. |
| `text` | string | Lo que se dice en este segmento. |

## Endpoints that return a Transcript

- [Transcripción de videos de TikTok](https://okdata.online/apis/tiktok/videos/transcript/get/) (`tiktok.videos.transcript.get`): $0.002 per call
- [Voz a texto de videos de TikTok](https://okdata.online/apis/tiktok/videos/asr/get/) (`tiktok.videos.asr.get`): $0.044 per call
- [Transcripción de videos de YouTube](https://okdata.online/apis/youtube/videos/transcript/get/) (`youtube.videos.transcript.get`): $0.004 per call
- [Transcripción de un reel de Instagram](https://okdata.online/apis/instagram/posts/transcript/get/) (`instagram.posts.transcript.get`): $0.004 per call
- [Transcripción de videos de X](https://okdata.online/apis/x/posts/transcript/get/) (`x.posts.transcript.get`): $0.042 per call
- [Transcripción de un video de Reddit](https://okdata.online/apis/reddit/posts/transcript/get/) (`reddit.posts.transcript.get`): $0.004 per call
- [Transcripción de episodios de Apple Podcasts](https://okdata.online/apis/apple_podcasts/episodes/transcript/get/) (`apple_podcasts.episodes.transcript.get`): $0.014 per call
- [Transcripción de videos de RedNote](https://okdata.online/apis/xiaohongshu/videos/transcript/get/) (`xiaohongshu.videos.transcript.get`): $0.084 per call
- [Transcripción de vídeos de Douyin](https://okdata.online/apis/douyin/videos/transcript/get/) (`douyin.videos.transcript.get`): $0.044 per call
- [Transcripción de videos de Weibo](https://okdata.online/apis/weibo/videos/transcript/get/) (`weibo.videos.transcript.get`): $0.044 per call
- [Subtítulos de vídeos de Bilibili](https://okdata.online/apis/bilibili/videos/transcript/get/) (`bilibili.videos.transcript.get`): $0.003 per call
- [Voz a texto de vídeos de Bilibili](https://okdata.online/apis/bilibili/videos/asr/get/) (`bilibili.videos.asr.get`): $0.046 per call
- [Transcripción de un video de Kuaishou](https://okdata.online/apis/kuaishou/videos/transcript/get/) (`kuaishou.videos.transcript.get`): $0.044 per call
- [Transcripción de episodios de Xiaoyuzhou](https://okdata.online/apis/xiaoyuzhou/episodes/transcript/get/) (`xiaoyuzhou.episodes.transcript.get`): $0.014 per call
- [Transcripción de videos de Toutiao](https://okdata.online/apis/toutiao/videos/transcript/get/) (`toutiao.videos.transcript.get`): $0.044 per call
- [Transcripción de videos de Xigua](https://okdata.online/apis/xigua/videos/transcript/get/) (`xigua.videos.transcript.get`): $0.044 per call

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `video_id`, `lang`, `text`
- standard: `segments`
- full: —
