# Transcript

> 동영상의 시간별 텍스트.

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. |
| `lang` | string | 이 스크립트의 언어. |
| `segments` | Segment[] | 시간별 구간(순서대로). |
| `text` | string | 모든 구간을 일반 텍스트로 연결한 내용. |

### Segment

| Field | Type | Description |
|---|---|---|
| `start` | number | 시작 시점(처음부터 초 단위). |
| `end` | number | 종료 시점, 시작부터의 초. |
| `text` | string | 이 구간의 발화 내용. |

## Endpoints that return a Transcript

- [TikTok 동영상 스크립트](https://okdata.online/apis/tiktok/videos/transcript/get/) (`tiktok.videos.transcript.get`): $0.002 per call
- [TikTok 동영상 음성 텍스트 변환](https://okdata.online/apis/tiktok/videos/asr/get/) (`tiktok.videos.asr.get`): $0.044 per call
- [YouTube 동영상 스크립트](https://okdata.online/apis/youtube/videos/transcript/get/) (`youtube.videos.transcript.get`): $0.004 per call
- [Instagram Reel 스크립트](https://okdata.online/apis/instagram/posts/transcript/get/) (`instagram.posts.transcript.get`): $0.004 per call
- [X 동영상 스크립트](https://okdata.online/apis/x/posts/transcript/get/) (`x.posts.transcript.get`): $0.042 per call
- [Reddit 동영상 스크립트](https://okdata.online/apis/reddit/posts/transcript/get/) (`reddit.posts.transcript.get`): $0.004 per call
- [Apple Podcasts 에피소드 스크립트](https://okdata.online/apis/apple_podcasts/episodes/transcript/get/) (`apple_podcasts.episodes.transcript.get`): $0.014 per call
- [RedNote 동영상 스크립트](https://okdata.online/apis/xiaohongshu/videos/transcript/get/) (`xiaohongshu.videos.transcript.get`): $0.084 per call
- [Douyin 동영상 스크립트](https://okdata.online/apis/douyin/videos/transcript/get/) (`douyin.videos.transcript.get`): $0.044 per call
- [Weibo 동영상 스크립트](https://okdata.online/apis/weibo/videos/transcript/get/) (`weibo.videos.transcript.get`): $0.044 per call
- [Bilibili 동영상 자막](https://okdata.online/apis/bilibili/videos/transcript/get/) (`bilibili.videos.transcript.get`): $0.003 per call
- [Bilibili 동영상 음성 텍스트 변환](https://okdata.online/apis/bilibili/videos/asr/get/) (`bilibili.videos.asr.get`): $0.046 per call
- [Kuaishou 동영상 스크립트](https://okdata.online/apis/kuaishou/videos/transcript/get/) (`kuaishou.videos.transcript.get`): $0.044 per call
- [Xiaoyuzhou 에피소드 스크립트](https://okdata.online/apis/xiaoyuzhou/episodes/transcript/get/) (`xiaoyuzhou.episodes.transcript.get`): $0.014 per call
- [Toutiao 동영상 스크립트](https://okdata.online/apis/toutiao/videos/transcript/get/) (`toutiao.videos.transcript.get`): $0.044 per call
- [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: —
