Transcripts · zh-Hant
Chinese (Traditional) YouTube transcripts
繁體中文
Traditional Chinese appears as `zh-Hant`, `zh-TW`, or `zh-HK`. Request `lang=zh-Hant`. If only Simplified exists, use `translate=zh-Hant` rather than hoping for a silent fallback.
curl
curl "https://api.ytapi.dev/v1/transcripts/dQw4w9WgXcQ?lang=zh-Hant" \ -H "Authorization: Bearer yta_YOUR_KEY"
Example 200
{
"video_id": "dQw4w9WgXcQ",
"lang": "zh-Hant",
"is_auto_generated": true,
"is_translated": true,
"segments": [
{
"start": 18,
"duration": 4.2,
"text": "我們對愛並不陌生"
},
{
"start": 22.2,
"duration": 4.8,
"text": "你知道規則,我也知道"
}
]
}Probe available tracks first with the free GET /v1/transcripts/{id}/languages endpoint — 0 credits. Fetching the transcript itself is 1 credit on HTTP 200; missing tracks return transcript_language_not_available and are not billed.