YouTubeSubtitlesFetcher API

Recupera subtítulos y transcripciones de videos de YouTube en más de 100 idiomas al instante Soporta subtítulos automáticos subtítulos manuales marcas de tiempo y salida de texto plano Ideal para transcripción traducción y pipelines de NLP
Usa esta API desde tu agente de IA vía MCP
Funciona con OpenClaw, Claude Code/Desktop, Cursor, Windsurf, Cline y cualquier cliente de IA compatible con MCP.
Docs y configuración
Crea un skill envolviendo este MCP: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

La API YouTubeSubtitles es una herramienta poderosa diseñada para desarrolladores y creadores de contenido que buscan acceder, manipular e integrar datos de subtítulos de videos de YouTube en sus aplicaciones o flujos de trabajo

Esta API permite a los usuarios obtener subtítulos para cualquier video de YouTube disponible públicamente, proporcionando una forma fácil y automatizada de acceder a datos de transcripción en varios idiomas Los usuarios pueden recuperar subtítulos en múltiples formatos, incluyendo texto estándar y formatos más estructurados como SRT o VTT, lo que la hace versátil para diferentes casos de uso

La API está diseñada teniendo en cuenta la facilidad de uso, con una interfaz simple e intuitiva que permite a los desarrolladores integrar rápidamente las capacidades de obtención de subtítulos en sus aplicaciones con un esfuerzo mínimo Documentación detallada y código de muestra están disponibles para ayudar a los usuarios a comenzar y maximizar el potencial de la API Ya sea que estés desarrollando una aplicación móvil, una plataforma web o una herramienta de análisis de datos, la API YouTubeSubtitles proporciona los recursos necesarios para mejorar tus proyectos con datos de subtítulos ricos y accesibles

Documentación de la API

Endpoints


 

Query Parameters

Parameter Type Required Default Description
format string No json Output format: json, text, srt, webvtt
languages string No en Comma-separated language codes in priority order (e.g. de,en tries German first, falls back to English)
video_id string ✅ Yes   The YouTube video ID (e.g. dQw4w9WgXcQ)

Responses

JSON Format

Content-Type: application/json

{

  "video_id": "dQw4w9WgXcQ",

  "language": "English",

  "language_code": "en",

  "is_generated": true,

  "snippets": [

    { "text": "Hello", "start": 0.0, "duration": 1.5 },

    { "text": "world", "start": 1.5, "duration": 2.0 }

  ]

}


SRT Format

Content-Type: text/plain

1

00:00:00,000 --> 00:00:01,500

Hello

2

00:00:01,500 --> 00:00:03,500

world


WebVTT Format

Content-Type: text/plain

WEBVTT

00:00:00.000 --> 00:00:01.500

Hello

00:00:01.500 --> 00:00:03.500

world


Plain Text Format

Content-Type: text/plain

Returns the full transcript as a single continuous block of text with no timestamps.


Notes

  • The video_id is the 11-character string found in a YouTube URL after ?v= or youtu.be/.

  • If the requested language is unavailable, the API falls back to the next language in the languages list.

  • Not all videos have transcripts available. Videos without captions will return an error.



                                                                            
GET https://zylalabs.com/api/11891/youtubesubtitlesfetcher+api/22598/youtubetranscript
                                                                            
                                                                        

youtubeTranscript - Características del Endpoint

Objeto Descripción
videoId [Requerido] Id of the video can be found after ?v= in video link
format [Requerido] supported format value json / text / srt
languages Opcional Default value is en. You can provide comma seperated values as en,de
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        Uruguay is one of the easiest countries
in South America who offers permanent
residency directly. How you can get a
permanent residency in Uruguay without
investment. If you have stable income
like pension or passive income or even
active income, you can apply for
permanent residency in Uruguay. Hello
guys, welcome back to the channel. This
is Wii from Second Home Visa. Today I'm
going to discuss about Uruguay permanent
residency. Uruguay is one of the easiest
countries in South America.
Uh who offers permanent residency
directly. But uh to be very honest with
you, there are many people going to
Uruguay which is also called Uruguay in
Spanish. Many people from USA and Canada
are relocating to Uruguay especially
from USA because of the Trump
administration taking you know a lot of
actions against different groups. So
people are actually moving to Uruguay
and that's why the system is a little
bit uh overcrowded and there is a
backlog now. So it's not easy now. Easy
means like it's not fast. Now you have
to wait to get the permanent residency
right even for the temporary residency
card you have to wait now. So basically
how you can get a permanent residency in
Uruguay without investment. Uruguay is
very very flexible country because this
is one of the few countries in South
America who have very flexible laws for
foreigners and for migrants. Right? So
if you have stable income like uh
pension or passive income or even active
income, you can apply for permanent
residency in Uruguay. So I will give you
the step-by-step guide and I will also
give you a bonus at the end of this
video. So you must watch this video till
the end to get the bonus uh option as
well. Right. So basically you have to go
to Uruguay first. If you need a visa,
you have to get a visa. Or if you don't
need a visa, you can go there and just,
you know, land in the country and as a
visitor, you can arrive in the country
and get a stem from the immigration at
the airport and then you can apply
within the country. To apply for
permanent residency or even temporary
residency, you have to be in Uruguay.
This is the first condition, right? So
once you are there, you can apply to the
migration department for permanent
residency and they will issue you a
temporary residency while your permanent
residency is still processed. So it's
not a 24-hour game or it's not a 24-hour
process. It takes time. For example, if
you apply for the permanent residency,
you will get the temporary residency
within 1 to 2 months. Now before it was
like 10 to 15 days but now uh things
have like orc crowded right the system
is overcrowded so it will take now one
to two months to get the temporary
residence card. So basically you have to
prepare for the application in your home
country. What I mean by that I mean by
that you have to bring many documents
from your home country like police
character certificate, birth
certificate, marriage certificate if you
are coming with family. These all
documents should be apostiled or
authenticated like attested in your
country right and then once you bring
these documents you have to also bring
documents like uh income proof you know
what is your income what is your bank
statement and stuff like that you have
to bring all of these documents to
Uruguay and then in Uruguay uh these
documents must be uh translated to
Spanish you should not translate these
documents outside Uruguay
When you come to Uruguay, you have to
translate uh these documents by official
translator. There are official
translators in Uruguay. Now, the minimum
monthly requirement, income requirement
is $1,500.
If you are earning $1,500 and you can
prove that, then you are good to go. But
if you have family, then it should be
like more than $2,000 a month, right? So
this is basically uh the criteria and
you can include your family as well.
Right? The documents that you need for
the permanent residency once you are in
Uruguay I have written everything down
here. Uh you need the passport with a
legal entry. Legal entry means that
stamp you got from the immigration. And
then you have to make a health card in
Uruguay. It's like a medical
certificate, right? Uh proof of income,
bank statement and stuff. uh criminal
background certificate, local address
when once you arrive in uh Uruguay, you
have to get a house on rent or apartment
and then you will provide your address
to the immigration so they can send you
information and uh your birth
certificate you know even you need a
birth certificate not just for the
children you also need a birth
certificate as a main applicant. So you
must bring that as well from your
country and the documents should be
recently issued. This is very important.
You should not bring old documents.
Right? So the step-by-step process is
that you will enter Uruguay and then
after that you will get all these
documents translated and then you will
apply. So basically it takes time and
Uruguay is a Spanish-sp speakaking
country. The official language is
Spanish. So you need someone like help
from someone some professional guy who
should help you with each and every step
of the process right this is very
important because for foreigners it's
not easy to do all these things together
but the good news is most of the
consultants and the lawyers who are
working in Uruguay for residency for
permanent residency and for citizenship
they charge a very very reasonable fees
which is a good thing because they don't
charge too much like Brazil and
Argentina because in in Argentina and
Brazil they charge a lot of money. They
just charge you for just simply asking
question as well. So that's a whole
burden on the applicant. But in Uruguay
they just want to help the immigrants to
come to the country and settle down
there. So what you can do I have written
down a very very comprehensive uh
detailed stepby-step guide. I told you
about the process but there are many
more steps like you should understand
everything you know with step-by-step
guidelines. So I have written down in
text format and I have given all the
links to like where to get the
appointment how to go to different
offices for different things and where
to you know translate the documents and
stuff like that. So I have written down
a whole guide for Uruguay. I will put
the link in the description and you can
just go there and buy this guide. There
is a very very small fee for it like
it's just a price of a coffee right in
USA or a meal. So in this guide I have
also written down the contact
information of very authentic
consultants and lawyers who are based in
Uruguay. I am not associated with them.
They don't pay me any commission or
anything but I have talked to like many
people, many consultants and many
lawyers in Uruguay and I found these
guys are very helpful and they help you
with everything in free of cost before
the application and once you start the
application you pay them but a very
reasonable amount like 800 to 1200 you
can pay them and they will do all the
process uh for the permanent residency
like the application and stuff like that
but again as I told you in the start
it's no more an easy option it's no more
a quick option I would say it's easy
still easier uh than other countries but
it now takes time so be very careful
with your time because once you go there
and you apply for the permanent
residency you have to stay there because
if you want to get the permanent
residency you have to stay there in
Uruguay for at least 6 months in a year
and if you want citizenship as well
Uruguay offers uh very very easy and
simple process for naturalization
citizenship only after 3 years for
married people and 5 years for single
persons right so for a family it's a
very good option to get a passport which
is a very good and strong document right
but the thing is you have to live there
right and most of the time the
consultant will will guide you about the
income because from outside it's very
difficult to prove your income in
Uruguay because they won't believe most
of the times right so the better option
is to open a bank account in Uruguay and
then put uh some amount like transfer
the amount from outside and wait for 2
or 3 months and then you can provide
that income to as a proof of you know
like your income proof or that you have
money you can support yourself in
Uruguay or you can start a business and
then you can support your application
through business as well. So, thank you
very much. I will put the link in the
description. Uh, you can check that out,
right?
                                                                                                                                                                                                                    
                                                                                                    

YoutubeTranscript - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/11891/youtubesubtitlesfetcher+api/22598/youtubetranscript?videoId=yqtWwG4B1o4&format=text&languages=en' --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 YouTubeSubtitlesFetcher 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.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba 7 días gratis
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

YouTubeSubtitlesFetcher API FAQs

El endpoint youtubeTranscript devuelve subtítulos y transcripciones para videos de YouTube, incluyendo subtítulos generados automáticamente y subtítulos subidos manualmente. Los datos se pueden obtener en varios formatos como JSON, SRT, WebVTT o texto plano

La respuesta JSON incluye campos clave como "video_id," "language," "language_code," "is_generated," y "snippets." Cada snippet contiene "text," "start," y "duration," proporcionando información detallada de tiempo y contenido

Los usuarios pueden personalizar las solicitudes utilizando parámetros como "formato" para especificar el tipo de salida (por ejemplo, json, srt) y "idiomas" para priorizar los idiomas de los subtítulos. El parámetro "video_id" es obligatorio para identificar el video específico de YouTube

En formato JSON, los datos están estructurados con pares de clave-valor, mientras que los formatos SRT y WebVTT presentan subtítulos en un formato secuencial con marcas de tiempo. El formato de texto plano devuelve un bloque continuo de texto sin marcas de tiempo

El punto final proporciona texto de subtítulos, información de tiempos y detalles de idioma para videos de YouTube. Soporta múltiples idiomas y formatos, lo que lo hace adecuado para aplicaciones de transcripción, traducción y procesamiento de lenguaje natural

La API recupera subtítulos directamente de YouTube asegurando que los datos reflejan el contenido original Sin embargo la precisión puede variar según la calidad de las transcripciones generadas automáticamente frente a los subtítulos subidos manualmente

Los casos de uso típicos incluyen la creación de transcripciones para contenido de video la traducción de subtítulos para audiencias multilingües y la integración de datos de subtítulos en aplicaciones para mejorar la accesibilidad y el compromiso del usuario

Si los subtítulos no están disponibles, la API devolverá un error Los usuarios deben implementar el manejo de errores en sus aplicaciones para gestionar tales escenarios de manera elegante, posiblemente proporcionando contenido alternativo o notificaciones al usuario

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.

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]

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.


APIs Relacionadas