YouTube Transcript API

API ID 13178

Fetch YouTube video transcripts as JSON, SRT, or VTT with video metadata included. List caption languages, and resolve entire playlists or channels into video lists. Fast, reliable, all-inclusive.

Documentación de la API

Endpoints

Solicitud

Extracts the full transcript of a YouTube video and returns it as structured JSON: timed segments with text, start and duration, plus the complete concatenated plain text. Every response includes video metadata (title, channel, channel ID, duration in seconds, view count), the caption kind (manual or auto-generated), and whether the requested language was matched. Pass a video_id and optionally a lang code such as en, es or de. If the video has no captions the API returns a clean NO_CAPTIONS error code instead of an ambiguous empty response.

Endpoint ID: 26729
GET https://docs.zylalabs.com/api/13178/youtube+transcript+api/26729/get+transcript+json
PARÁMETROS DE ENTRADA

Get Transcript JSON — Características del Endpoint

Objeto Descripción
video_id Requerido YouTube video ID — the part after watch?v= in the video URL. Example: dQw4w9WgXcQ
lang Opcional Optional caption language code (en, es, de, fr...). Defaults to the best available track. Example: en

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

video_id
lang
RESPUESTA DE EJEMPLO DE LA API
JSON
{"video_id":"dQw4w9WgXcQ","lang":"en","kind":"manual","requested_lang_matched":null,"video":{"title":"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channel":"Rick Astley","channel_id":"UCuAXFkgsw1L7xaCfnd5JJOw","duration_sec":213,"view_count":1791582068},"segments":[{"start_ms":1360,"duration_ms":1680,"text":"[♪♪♪]"},{"start_ms":18640,"duration_ms":3240,"text":"♪ We're no strangers to love ♪"},{"start_ms":22640,"duration_ms":4320,"text":"♪ You know the rules\nand so do I ♪"},{"start_ms":27040,"duration_ms":4000,"text":"♪ A full commitment's\nwhat I'm thinking of ♪"},{"start_ms":31120,"duration_ms":3960,"text":"♪ You wouldn't get this\nfrom any other guy ♪"},{"start_ms":35160,"duration_ms":4360,"text":"♪ I just wanna tell you\nhow I'm feeling ♪"},{"start_ms":40520,"duration_ms":2400,"text":"♪ Gotta make you understand ♪"},{"start_ms":43000,"duration_ms":2120,"text":"♪ Never gonna give you up ♪"},{"start_ms":45200,"duration_ms":1880,"text":"♪ Never gonna let you down ♪"},{"start_ms":47320,"duration_ms":3800,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":51480,"duration_ms":2000,"text":"♪ Never gonna make you cry ♪"},{"start_ms":53600,"duration_ms":1920,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":55720,"duration_ms":3640,"text":"♪ Never gonna tell a lie\nand hurt you ♪"},{"start_ms":60800,"duration_ms":4000,"text":"♪ We've known each other\nfor so long ♪"},{"start_ms":64880,"duration_ms":4160,"text":"♪ Your heart's been aching\nbut you're too shy to say it ♪"},{"start_ms":69120,"duration_ms":3840,"text":"♪ Inside we both know\nwhat's been going ♪"},{"start_ms":73360,"duration_ms":3840,"text":"♪ We know the game\nand we're gonna play it ♪"},{"start_ms":77400,"duration_ms":4640,"text":"♪ And if you ask me\nhow I'm feeling ♪"},{"start_ms":82400,"duration_ms":2840,"text":"♪ Don't tell me\nyou're too blind to see ♪"},{"start_ms":85320,"duration_ms":1960,"text":"♪ Never gonna give you up ♪"},{"start_ms":87360,"duration_ms":1960,"text":"♪ Never gonna let you down ♪"},{"start_ms":89440,"duration_ms":4280,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":93800,"duration_ms":1800,"text":"♪ Never gonna make you cry ♪"},{"start_ms":95760,"duration_ms":2240,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":98080,"duration_ms":3960,"text":"♪ Never gonna tell a lie\nand hurt you ♪"},{"start_ms":102200,"duration_ms":1920,"text":"♪ Never gonna give you up ♪"},{"start_ms":104280,"duration_ms":2080,"text":"♪ Never gonna let you down ♪"},{"start_ms":106480,"duration_ms":3600,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":110760,"duration_ms":1960,"text":"♪ Never gonna make you cry ♪"},{"start_ms":112800,"duration_ms":1880,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":114960,"duration_ms":3800,"text":"♪ Never gonna tell a lie\nand hurt you ♪"},{"start_ms":119840,"duration_ms":3120,"text":"♪ (Ooh, give you up) ♪"},{"start_ms":123720,"duration_ms":3640,"text":"♪ (Ooh, give you up) ♪"},{"start_ms":128480,"duration_ms":1640,"text":"♪ Never gonna give,\nnever gonna give ♪"},{"start_ms":130240,"duration_ms":1320,"text":"♪ (Give you up) ♪"},{"start_ms":132480,"duration_ms":1760,"text":"♪ Never gonna give,\nnever gonna give ♪"},{"start_ms":134360,"duration_ms":1560,"text":"♪ (Give you up) ♪"},{"start_ms":136760,"duration_ms":4320,"text":"♪ We've known each other\nfor so long ♪"},{"start_ms":141200,"duration_ms":4000,"text":"♪ Your heart's been aching\nbut you're too shy to say it ♪"},{"start_ms":145280,"duration_ms":3840,"text":"♪ Inside we both know\nwhat's been going ♪"},{"start_ms":149520,"duration_ms":3680,"text":"♪ We know the game\nand we're gonna play it ♪"},{"start_ms":153360,"duration_ms":4680,"text":"♪ I just wanna tell you\nhow I'm feeling ♪"},{"start_ms":158640,"duration_ms":2680,"text":"♪ Gotta make you understand ♪"},{"start_ms":161400,"duration_ms":1960,"text":"♪ Never gonna give you up ♪"},{"start_ms":163440,"duration_ms":2200,"text":"♪ Never gonna let you down ♪"},{"start_ms":165720,"duration_ms":4000,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":169800,"duration_ms":1840,"text":"♪ Never gonna make you cry ♪"},{"start_ms":171800,"duration_ms":2160,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":174040,"duration_ms":3560,"text":"♪ Never gonna tell a lie\nand hurt you ♪"},{"start_ms":178200,"duration_ms":2040,"text":"♪ Never gonna give you up ♪"},{"start_ms":180320,"duration_ms":2120,"text":"♪ Never gonna let you down ♪"},{"start_ms":182520,"duration_ms":4120,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":186720,"duration_ms":2000,"text":"♪ Never gonna make you cry ♪"},{"start_ms":188840,"duration_ms":1880,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":190840,"duration_ms":4360,"text":"♪ Never gonna tell a lie\nand hurt you ♪"},{"start_ms":195280,"duration_ms":1840,"text":"♪ Never gonna give you up ♪"},{"start_ms":197200,"duration_ms":2040,"text":"♪ Never gonna let you down ♪"},{"start_ms":199400,"duration_ms":3720,"text":"♪ Never gonna run around\nand desert you ♪"},{"start_ms":203360,"duration_ms":2240,"text":"♪ Never gonna make you cry ♪"},{"start_ms":205680,"duration_ms":2160,"text":"♪ Never gonna say goodbye ♪"},{"start_ms":207920,"duration_ms":3400,"text":"♪ Never gonna tell a lie\nand hurt you ♪"}],"text":"[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ♪ A full commitment's what I'm thinking of ♪ ♪ You wouldn't get this from any other guy ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ We've known each other for so long ♪ ♪ Your heart's been aching but you're too shy to say it ♪ ♪ Inside we both know what's been going ♪ ♪ We know the game and we're gonna play it ♪ ♪ And if you ask me how I'm feeling ♪ ♪ Don't tell me you're too blind to see ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ (Ooh, give you up) ♪ ♪ (Ooh, give you up) ♪ ♪ Never gonna give, never gonna give ♪ ♪ (Give you up) ♪ ♪ Never gonna give, never gonna give ♪ ♪ (Give you up) ♪ ♪ We've known each other for so long ♪ ♪ Your heart's been aching but you're too shy to say it ♪ ♪ Inside we both know what's been going ♪ ♪ We know the game and we're gonna play it ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪"}
Get Transcript JSON — CÓDIGOS DE EJEMPLO

curl --location --request GET 'https://zylalabs.com/api/13178/youtube+transcript+api/26729/get+transcript+json?video_id=dQw4w9WgXcQ&lang=es' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Solicitud

Returns the transcript of a YouTube video as a ready-to-save SRT subtitle file (Content-Type: application/x-subrip) — no conversion or post-processing needed. Video metadata (title, channel, duration, view count) is delivered in X-Video-* response headers, keeping the body a clean, valid SRT document you can feed directly into video editors, players, or subtitle pipelines. Pass a video_id and optionally a lang code.

Endpoint ID: 26730
GET https://docs.zylalabs.com/api/13178/youtube+transcript+api/26730/get+transcript+srt+file
PARÁMETROS DE ENTRADA

Get Transcript SRT file — Características del Endpoint

Objeto Descripción
video_id Requerido YouTube video ID — the part after watch?v= in the video URL. Example: dQw4w9WgXcQ
lang Opcional Optional caption language code (en, es, de, fr...). Defaults to the best available track. Example: en

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

video_id
lang
RESPUESTA DE EJEMPLO DE LA API
JSON
1
00:00:01,360 --> 00:00:03,040
[♪♪♪]

2
00:00:18,640 --> 00:00:21,880
♪ We're no strangers to love ♪

3
00:00:22,640 --> 00:00:26,960
♪ You know the rules
and so do I ♪

4
00:00:27,040 --> 00:00:31,040
♪ A full commitment's
what I'm thinking of ♪

5
00:00:31,120 --> 00:00:35,080
♪ You wouldn't get this
from any other guy ♪

6
00:00:35,160 --> 00:00:39,520
♪ I just wanna tell you
how I'm feeling ♪

7
00:00:40,520 --> 00:00:42,920
♪ Gotta make you understand ♪

8
00:00:43,000 --> 00:00:45,120
♪ Never gonna give you up ♪

9
00:00:45,200 --> 00:00:47,080
♪ Never gonna let you down ♪

10
00:00:47,320 --> 00:00:51,120
♪ Never gonna run around
and desert you ♪

11
00:00:51,480 --> 00:00:53,480
♪ Never gonna make you cry ♪

12
00:00:53,600 --> 00:00:55,520
♪ Never gonna say goodbye ♪

13
00:00:55,720 --> 00:00:59,360
♪ Never gonna tell a lie
and hurt you ♪

14
00:01:00,800 --> 00:01:04,800
♪ We've known each other
for so long ♪

15
00:01:04,880 --> 00:01:09,040
♪ Your heart's been aching
but you're too shy to say it ♪

16
00:01:09,120 --> 00:01:12,960
♪ Inside we both know
what's been going ♪

17
00:01:13,360 --> 00:01:17,200
♪ We know the game
and we're gonna play it ♪

18
00:01:17,400 --> 00:01:22,040
♪ And if you ask me
how I'm feeling ♪

19
00:01:22,400 --> 00:01:25,240
♪ Don't tell me
you're too blind to see ♪

20
00:01:25,320 --> 00:01:27,280
♪ Never gonna give you up ♪

21
00:01:27,360 --> 00:01:29,320
♪ Never gonna let you down ♪

22
00:01:29,440 --> 00:01:33,720
♪ Never gonna run around
and desert you ♪

23
00:01:33,800 --> 00:01:35,600
♪ Never gonna make you cry ♪

24
00:01:35,760 --> 00:01:38,000
♪ Never gonna say goodbye ♪

25
00:01:38,080 --> 00:01:42,040
♪ Never gonna tell a lie
and hurt you ♪

26
00:01:42,200 --> 00:01:44,120
♪ Never gonna give you up ♪

27
00:01:44,280 --> 00:01:46,360
♪ Never gonna let you down ♪

28
00:01:46,480 --> 00:01:50,080
♪ Never gonna run around
and desert you ♪

29
00:01:50,760 --> 00:01:52,720
♪ Never gonna make you cry ♪

30
00:01:52,800 --> 00:01:54,680
♪ Never gonna say goodbye ♪

31
00:01:54,960 --> 00:01:58,760
♪ Never gonna tell a lie
and hurt you ♪

32
00:01:59,840 --> 00:02:02,960
♪ (Ooh, give you up) ♪

33
00:02:03,720 --> 00:02:07,360
♪ (Ooh, give you up) ♪

34
00:02:08,480 --> 00:02:10,120
♪ Never gonna give,
never gonna give ♪

35
00:02:10,240 --> 00:02:11,560
♪ (Give you up) ♪

36
00:02:12,480 --> 00:02:14,240
♪ Never gonna give,
never gonna give ♪

37
00:02:14,360 --> 00:02:15,920
♪ (Give you up) ♪

38
00:02:16,760 --> 00:02:21,080
♪ We've known each other
for so long ♪

39
00:02:21,200 --> 00:02:25,200
♪ Your heart's been aching
but you're too shy to say it ♪

40
00:02:25,280 --> 00:02:29,120
♪ Inside we both know
what's been going ♪

41
00:02:29,520 --> 00:02:33,200
♪ We know the game
and we're gonna play it ♪

42
00:02:33,360 --> 00:02:38,040
♪ I just wanna tell you
how I'm feeling ♪

43
00:02:38,640 --> 00:02:41,320
♪ Gotta make you understand ♪

44
00:02:41,400 --> 00:02:43,360
♪ Never gonna give you up ♪

45
00:02:43,440 --> 00:02:45,640
♪ Never gonna let you down ♪

46
00:02:45,720 --> 00:02:49,720
♪ Never gonna run around
and desert you ♪

47
00:02:49,800 --> 00:02:51,640
♪ Never gonna make you cry ♪

48
00:02:51,800 --> 00:02:53,960
♪ Never gonna say goodbye ♪

49
00:02:54,040 --> 00:02:57,600
♪ Never gonna tell a lie
and hurt you ♪

50
00:02:58,200 --> 00:03:00,240
♪ Never gonna give you up ♪

51
00:03:00,320 --> 00:03:02,440
♪ Never gonna let you down ♪

52
00:03:02,520 --> 00:03:06,640
♪ Never gonna run around
and desert you ♪

53
00:03:06,720 --> 00:03:08,720
♪ Never gonna make you cry ♪

54
00:03:08,840 --> 00:03:10,720
♪ Never gonna say goodbye ♪

55
00:03:10,840 --> 00:03:15,200
♪ Never gonna tell a lie
and hurt you ♪

56
00:03:15,280 --> 00:03:17,120
♪ Never gonna give you up ♪

57
00:03:17,200 --> 00:03:19,240
♪ Never gonna let you down ♪

58
00:03:19,400 --> 00:03:23,120
♪ Never gonna run around
and desert you ♪

59
00:03:23,360 --> 00:03:25,600
♪ Never gonna make you cry ♪

60
00:03:25,680 --> 00:03:27,840
♪ Never gonna say goodbye ♪

61
00:03:27,920 --> 00:03:31,320
♪ Never gonna tell a lie
and hurt you ♪
Get Transcript SRT file — CÓDIGOS DE EJEMPLO

curl --location --request GET 'https://zylalabs.com/api/13178/youtube+transcript+api/26730/get+transcript+srt+file?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Solicitud

Returns the transcript of a YouTube video as a WEBVTT file (Content-Type: text/vtt), ready for HTML5 video players, web captioning, and streaming platforms — no conversion needed. Video metadata (title, channel, duration, view count) is delivered in X-Video-* response headers, keeping the body a clean, valid VTT document. Pass a video_id and optionally a lang code.

Endpoint ID: 26731
GET https://docs.zylalabs.com/api/13178/youtube+transcript+api/26731/get+transcript+vtt+file
PARÁMETROS DE ENTRADA

Get Transcript VTT file — Características del Endpoint

Objeto Descripción
video_id Requerido YouTube video ID — the part after watch?v= in the video URL. Example: dQw4w9WgXcQ
lang Opcional Optional caption language code (en, es, de, fr...). Defaults to the best available track. Example: en

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

video_id
lang
RESPUESTA DE EJEMPLO DE LA API
JSON
WEBVTT

00:00:01.360 --> 00:00:03.040
[♪♪♪]

00:00:18.640 --> 00:00:21.880
♪ We're no strangers to love ♪

00:00:22.640 --> 00:00:26.960
♪ You know the rules
and so do I ♪

00:00:27.040 --> 00:00:31.040
♪ A full commitment's
what I'm thinking of ♪

00:00:31.120 --> 00:00:35.080
♪ You wouldn't get this
from any other guy ♪

00:00:35.160 --> 00:00:39.520
♪ I just wanna tell you
how I'm feeling ♪

00:00:40.520 --> 00:00:42.920
♪ Gotta make you understand ♪

00:00:43.000 --> 00:00:45.120
♪ Never gonna give you up ♪

00:00:45.200 --> 00:00:47.080
♪ Never gonna let you down ♪

00:00:47.320 --> 00:00:51.120
♪ Never gonna run around
and desert you ♪

00:00:51.480 --> 00:00:53.480
♪ Never gonna make you cry ♪

00:00:53.600 --> 00:00:55.520
♪ Never gonna say goodbye ♪

00:00:55.720 --> 00:00:59.360
♪ Never gonna tell a lie
and hurt you ♪

00:01:00.800 --> 00:01:04.800
♪ We've known each other
for so long ♪

00:01:04.880 --> 00:01:09.040
♪ Your heart's been aching
but you're too shy to say it ♪

00:01:09.120 --> 00:01:12.960
♪ Inside we both know
what's been going ♪

00:01:13.360 --> 00:01:17.200
♪ We know the game
and we're gonna play it ♪

00:01:17.400 --> 00:01:22.040
♪ And if you ask me
how I'm feeling ♪

00:01:22.400 --> 00:01:25.240
♪ Don't tell me
you're too blind to see ♪

00:01:25.320 --> 00:01:27.280
♪ Never gonna give you up ♪

00:01:27.360 --> 00:01:29.320
♪ Never gonna let you down ♪

00:01:29.440 --> 00:01:33.720
♪ Never gonna run around
and desert you ♪

00:01:33.800 --> 00:01:35.600
♪ Never gonna make you cry ♪

00:01:35.760 --> 00:01:38.000
♪ Never gonna say goodbye ♪

00:01:38.080 --> 00:01:42.040
♪ Never gonna tell a lie
and hurt you ♪

00:01:42.200 --> 00:01:44.120
♪ Never gonna give you up ♪

00:01:44.280 --> 00:01:46.360
♪ Never gonna let you down ♪

00:01:46.480 --> 00:01:50.080
♪ Never gonna run around
and desert you ♪

00:01:50.760 --> 00:01:52.720
♪ Never gonna make you cry ♪

00:01:52.800 --> 00:01:54.680
♪ Never gonna say goodbye ♪

00:01:54.960 --> 00:01:58.760
♪ Never gonna tell a lie
and hurt you ♪

00:01:59.840 --> 00:02:02.960
♪ (Ooh, give you up) ♪

00:02:03.720 --> 00:02:07.360
♪ (Ooh, give you up) ♪

00:02:08.480 --> 00:02:10.120
♪ Never gonna give,
never gonna give ♪

00:02:10.240 --> 00:02:11.560
♪ (Give you up) ♪

00:02:12.480 --> 00:02:14.240
♪ Never gonna give,
never gonna give ♪

00:02:14.360 --> 00:02:15.920
♪ (Give you up) ♪

00:02:16.760 --> 00:02:21.080
♪ We've known each other
for so long ♪

00:02:21.200 --> 00:02:25.200
♪ Your heart's been aching
but you're too shy to say it ♪

00:02:25.280 --> 00:02:29.120
♪ Inside we both know
what's been going ♪

00:02:29.520 --> 00:02:33.200
♪ We know the game
and we're gonna play it ♪

00:02:33.360 --> 00:02:38.040
♪ I just wanna tell you
how I'm feeling ♪

00:02:38.640 --> 00:02:41.320
♪ Gotta make you understand ♪

00:02:41.400 --> 00:02:43.360
♪ Never gonna give you up ♪

00:02:43.440 --> 00:02:45.640
♪ Never gonna let you down ♪

00:02:45.720 --> 00:02:49.720
♪ Never gonna run around
and desert you ♪

00:02:49.800 --> 00:02:51.640
♪ Never gonna make you cry ♪

00:02:51.800 --> 00:02:53.960
♪ Never gonna say goodbye ♪

00:02:54.040 --> 00:02:57.600
♪ Never gonna tell a lie
and hurt you ♪

00:02:58.200 --> 00:03:00.240
♪ Never gonna give you up ♪

00:03:00.320 --> 00:03:02.440
♪ Never gonna let you down ♪

00:03:02.520 --> 00:03:06.640
♪ Never gonna run around
and desert you ♪

00:03:06.720 --> 00:03:08.720
♪ Never gonna make you cry ♪

00:03:08.840 --> 00:03:10.720
♪ Never gonna say goodbye ♪

00:03:10.840 --> 00:03:15.200
♪ Never gonna tell a lie
and hurt you ♪

00:03:15.280 --> 00:03:17.120
♪ Never gonna give you up ♪

00:03:17.200 --> 00:03:19.240
♪ Never gonna let you down ♪

00:03:19.400 --> 00:03:23.120
♪ Never gonna run around
and desert you ♪

00:03:23.360 --> 00:03:25.600
♪ Never gonna make you cry ♪

00:03:25.680 --> 00:03:27.840
♪ Never gonna say goodbye ♪

00:03:27.920 --> 00:03:31.320
♪ Never gonna tell a lie
and hurt you ♪
Get Transcript VTT file — CÓDIGOS DE EJEMPLO

curl --location --request GET 'https://zylalabs.com/api/13178/youtube+transcript+api/26731/get+transcript+vtt+file?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Solicitud

Enumera todas las pistas de subtítulos disponibles para un video de YouTube: código de idioma, tipo (manual o autogenerado) y nombre de la pista — además de los metadatos completos del video (título, canal, ID del canal, duración, número de reproducciones). Úsalo para descubrir qué idiomas puedes solicitar de los endpoints de transcripción antes de obtenerlos. Un video sin subtítulos devuelve una respuesta limpia 200 con un array de pistas vacío, por lo que tu integración nunca tiene que adivinar. Pasa un video_id.

Endpoint ID: 26732
GET https://docs.zylalabs.com/api/13178/youtube+transcript+api/26732/list+caption+languages
PARÁMETROS DE ENTRADA

Listar idiomas de subtítulos — Características del Endpoint

Objeto Descripción
video_id Requerido YouTube video ID — the part after watch?v= in the video URL. Example: dQw4w9WgXcQ

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

video_id
RESPUESTA DE EJEMPLO DE LA API
JSON
{"video_id":"dQw4w9WgXcQ","video":{"title":"Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channel":"Rick Astley","channel_id":"UCuAXFkgsw1L7xaCfnd5JJOw","duration_sec":213,"view_count":1791582068},"tracks":[{"lang":"en","kind":"manual","name":"English"},{"lang":"en","kind":"asr","name":"English (auto-generated)"},{"lang":"de-DE","kind":"manual","name":"German (Germany)"},{"lang":"ja","kind":"manual","name":"Japanese"},{"lang":"pt-BR","kind":"manual","name":"Portuguese (Brazil)"},{"lang":"es-419","kind":"manual","name":"Spanish (Latin America)"}]}
Listar idiomas de subtítulos — CÓDIGOS DE EJEMPLO

curl --location --request GET 'https://zylalabs.com/api/13178/youtube+transcript+api/26732/list+caption+languages?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Solicitud

Turns any YouTube playlist or channel into a complete list of videos in a single call. Accepts playlist URLs or IDs, channel URLs, handles, and UC channel IDs. Returns every video with its ID, URL, title, channel, and duration in seconds, ready to feed straight into the transcript endpoints for bulk processing. Handles up to 5000 videos per request, and larger sources are flagged as truncated. Ideal for mapping and transcribing entire channels end to end. No equivalent endpoint exists in other transcript APIs on this hub. Note that large channels can take longer to resolve, while playlists respond fast.

Endpoint ID: 26733
GET https://docs.zylalabs.com/api/13178/youtube+transcript+api/26733/resolve+playlist+or+channel+to+video+list
PARÁMETROS DE ENTRADA

Resolve Playlist or Channel to Video List — Características del Endpoint

Objeto Descripción
url Requerido Playlist URL or ID, channel URL, @handle, or UC channel ID. Example: PLBCF2DAC6FFB574DE

Pruebas gratuitas restantes: 3 de 3.


PARÁMETROS DE ENTRADA

url
RESPUESTA DE EJEMPLO DE LA API
JSON
{
  "source": {
    "type": "playlist",
    "id": "PLBCF2DAC6FFB574DE",
    "url": "https://www.youtube.com/playlist?list=PLBCF2DAC6FFB574DE"
  },
  "video_count": 10,
  "videos": [
    {
      "video_id": "GvgqDSnpRQM",
      "url": "https://www.youtube.com/watch?v=GvgqDSnpRQM",
      "title": "Andrew Willis, Skatepark Engineer",
      "channel": "Google Search Stories",
      "duration_sec": 90
    },
    {
      "video_id": "V4DDt30Aat4",
      "url": "https://www.youtube.com/watch?v=V4DDt30Aat4",
      "title": "Mark Lesek: A New/Old Prosthetic",
      "channel": "Google Search Stories",
      "duration_sec": 159
    }
  ]
}
Resolve Playlist or Channel to Video List — CÓDIGOS DE EJEMPLO

curl --location --request GET 'https://zylalabs.com/api/13178/youtube+transcript+api/26733/resolve+playlist+or+channel+to+video+list?url=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el YouTube Transcript API simplemente incluye tu token de portador en el encabezado de Autorización.

Encabezados
Encabezado Descripción
Autorización Requerido Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

(Ahorra 2 meses pagando anualmente 🎉)

🚀 PLAN CORPORATIVO A MEDIDA
Volumen Personalizado

  • Límite de solicitudes personalizado
  • Gestión de equipos y accesos
  • Uptime garantizado por SLA
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real
  • Seguridad y cumplimiento empresarial
Contrato anual mínimo: USD 10.000

Empresas líderes confían en nosotros

Resumen

The YouTube Transcript API extracts captions and subtitles from any public YouTube video and returns them as structured JSON, ready-to-use SRT files, or WEBVTT — with video metadata (title, channel, duration, view count) included in every response at no extra cost.

WHY THIS API

Five endpoints instead of one. Most transcript APIs return raw caption JSON and stop there. This API also delivers ready-made subtitle files (SRT and VTT with correct Content-Type headers), lists all available caption tracks per video, and — unique on this hub — resolves entire playlists and channels into complete video lists, so you can map a whole channel and transcribe it end to end.

Built for reliability. Runs on dedicated residential proxy infrastructure with automatic retries, response caching, and real-time upstream monitoring. When YouTube changes its backend, most transcript APIs break for days. This one is engineered to detect breakage within minutes and recover fast.

All-inclusive pricing. The price on the tag is the price on the invoice: no separate charges for proxies, bandwidth, or metadata. Every successful call returns full video metadata alongside the transcript.

ENDPOINTS

1. Transcript (JSON) — timed segments plus concatenated plain text, caption kind (manual or auto-generated), and full video metadata in one call.
2. Transcript (SRT) — a ready-to-save .srt subtitle file, no conversion needed.
3. Transcript (VTT) — WEBVTT output for web players and HTML5 video.
4. Languages — every caption track available for a video (language, kind, name), so you always know what you can fetch before you fetch it.
5. Resolve — turn any playlist URL, channel URL, or @handle into a complete list of videos (ID, URL, title, channel, duration). Feed the result straight back into the transcript endpoint to process entire channels.

COMMON USE CASES

AI and NLP pipelines: feed clean transcripts into LLMs for summarization, RAG, classification, or embedding. Content repurposing: turn videos into blog posts, newsletters, and social content. Subtitle workflows: get broadcast-ready SRT/VTT without post-processing. Research and media monitoring: transcribe channels at scale for content analysis. Accessibility: caption files ready for compliance requirements.

ERROR HANDLING

Clean, machine-readable error codes (NO_CAPTIONS, VIDEO_UNAVAILABLE, LANG_NOT_FOUND, and more) so your integration always knows exactly what happened. Only meaningful responses count against your quota.

YouTube Transcript API FAQs

Yes. The API returns both manual and auto-generated captions. Every transcript response includes a kind field (manual or asr) so you always know which type you received. Use the List Caption Languages endpoint to see all available tracks for a video before fetching.

You get a clean, machine-readable NO_CAPTIONS error code instead of an ambiguous empty response. The List Caption Languages endpoint returns a 200 with an empty tracks array for such videos. Other structured error codes include VIDEO_UNAVAILABLE, LANG_NOT_FOUND and GEO_BLOCKED, so your integration always knows exactly what happened.

Yes. Use the Resolve endpoint: pass a channel URL, handle, or playlist URL and receive a complete list of videos (ID, URL, title, channel, duration) up to 5000 items. Feed those video IDs into the transcript endpoints to process the whole channel end to end. No other transcript API on this hub offers this.

JSON returns timed segments plus video metadata for programmatic use (NLP, AI pipelines, analysis). SRT returns a ready-to-save subtitle file for video editors and players. VTT returns WEBVTT for HTML5 video and web captioning. All three cover the same videos and languages, so pick the output your workflow needs and skip the conversion step.

Every caption language available on YouTube, both manual and auto-generated. Pass the lang parameter with a language code (en, es, de, fr, ja and so on). If the requested language is not available, you receive a LANG_NOT_FOUND error or the best available track depending on your settings. Use the List Caption Languages endpoint to discover available tracks first.

Included in every response at no extra cost. Transcript and language responses carry the video title, channel, channel ID, duration and view count. File endpoints (SRT, VTT) deliver metadata in X-Video response headers. The price on the tag is the price on the invoice, with no separate charges for proxies, bandwidth or metadata.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.
Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]

Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.
La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.
Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]
Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.
Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.
Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.
Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.
Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.
Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.
El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.
Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.
Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.
Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.
Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.
Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.
Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

APIs Relacionadas