Extractor de Transcripciones de YouTube
Este servicio extrae transcripciones de YouTube de URLs de videos públicos a través de una capa de entrega de grado de producción. Está diseñado para equipos que desean una entrada simple, salida estable y una experiencia de alta disponibilidad sin gestionar la infraestructura de transcripciones ellos mismos.
Cada solicitud se dirige a un servicio de transcripción dedicado donde las respuestas son normalizadas, se aplica validación de entrada y los fallos upstream se aíslan detrás de un contrato consistente. Solo se devuelven resultados de transcripción exitosos.
Los equipos utilizan este servicio por su fiabilidad y salida limpia. Soporta tanto URLs individuales como matrices de URLs en lote en una sola ejecución, con un máximo de 20 URLs de video por solicitud. La salida puede ser devuelta como texto plano, JSON estructurado o ambos formatos, lo que lo hace adecuado para automatizaciones downstream y pipelines de datos.
Los casos de uso comunes incluyen la creación de conjuntos de datos de entrenamiento de IA y LLM, la ejecución de flujos de trabajo de reutilización de contenido, la realización de análisis SEO y de palabras clave, y el apoyo a pipelines de medios o de investigación.
Youtube a Transcripción - Características del Endpoint
| Objeto | Descripción |
|---|---|
Cuerpo de la Solicitud |
[Requerido] Json |
{
"success": true,
"results": [
{
"inputUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"status": "ok",
"language": "en",
"transcript": [
{
"text": "[Music]",
"start": 0.32,
"dur": 14.26,
"lang": "en"
},
{
"text": "We're no strangers to",
"start": 18.8,
"dur": 7.16,
"lang": "en"
},
{
"text": "love. You know the rules and so do",
"start": 21.8,
"dur": 7.32,
"lang": "en"
},
{
"text": "I. I feel commitments from what I'm",
"start": 25.96,
"dur": 4.32,
"lang": "en"
},
{
"text": "thinking",
"start": 29.12,
"dur": 5.24,
"lang": "en"
},
{
"text": "of. You wouldn't get this from any other",
"start": 30.28,
"dur": 9.28,
"lang": "en"
},
{
"text": "guy. I just want to tell you how I'm",
"start": 34.36,
"dur": 8.76,
"lang": "en"
},
{
"text": "feeling. Got to make you understand.",
"start": 39.56,
"dur": 6.28,
"lang": "en"
},
{
"text": "Never going to give you up. I'm going to",
"start": 43.12,
"dur": 6.08,
"lang": "en"
},
{
"text": "let you down. I'm going to run around",
"start": 45.84,
"dur": 7.48,
"lang": "en"
},
{
"text": "and desert you. I'm going to make",
"start": 49.2,
"dur": 7.2,
"lang": "en"
},
{
"text": "you say goodbye.",
"start": 53.32,
"dur": 6.56,
"lang": "en"
},
{
"text": "Tell a lie and hurt",
"start": 56.4,
"dur": 7.64,
"lang": "en"
},
{
"text": "you. We've known each other for so",
"start": 59.88,
"dur": 7.32,
"lang": "en"
},
{
"text": "long. Your heart's been aching, but",
"start": 64.04,
"dur": 6.52,
"lang": "en"
},
{
"text": "you're too shy to say we don't know",
"start": 67.2,
"dur": 5.4,
"lang": "en"
},
{
"text": "what's been going",
"start": 70.56,
"dur": 7.24,
"lang": "en"
},
{
"text": "on. We know the game and we're going to",
"start": 72.6,
"dur": 8.88,
"lang": "en"
},
{
"text": "play. If you ask me how I'm",
"start": 77.8,
"dur": 6.76,
"lang": "en"
},
{
"text": "feeling, don't tell me your truth. to",
"start": 81.48,
"dur": 6.84,
"lang": "en"
},
{
"text": "see. I will give",
"start": 84.56,
"dur": 3.76,
"lang": "en"
},
{
"text": "you",
"start": 89.88,
"dur": 4.84,
"lang": "en"
},
{
"text": "around",
"start": 91.72,
"dur": 3,
"lang": "en"
},
{
"text": "you. I will say",
"start": 95,
"dur": 4.04,
"lang": "en"
},
{
"text": "goodbye and hurt you. I will give",
"start": 99.56,
"dur": 7.2,
"lang": "en"
},
{
"text": "[Music]",
"start": 103.99,
"dur": 4.61,
"lang": "en"
},
{
"text": "you",
"start": 106.76,
"dur": 9.16,
"lang": "en"
},
{
"text": "around you. I will leave you. I will say",
"start": 108.6,
"dur": 7.32,
"lang": "en"
},
{
"text": "goodbye and hurt you.",
"start": 116.44,
"dur": 4.64,
"lang": "en"
},
{
"text": "Never going to give. Never going to",
"start": 128.32,
"dur": 4.24,
"lang": "en"
},
{
"text": "give.",
"start": 129.76,
"dur": 4.24,
"lang": "en"
},
{
"text": "Never going to give. Never going to",
"start": 132.56,
"dur": 4.24,
"lang": "en"
},
{
"text": "give.",
"start": 134,
"dur": 7.04,
"lang": "en"
},
{
"text": "We've known each other for so long.",
"start": 136.8,
"dur": 6.88,
"lang": "en"
},
{
"text": "Your heart's been aching, but you're too",
"start": 141.04,
"dur": 6.48,
"lang": "en"
},
{
"text": "shy to say it. We both know what's been",
"start": 143.68,
"dur": 4.84,
"lang": "en"
},
{
"text": "going",
"start": 147.52,
"dur": 4.72,
"lang": "en"
},
{
"text": "on. We know the game and we're going to",
"start": 148.52,
"dur": 9.28,
"lang": "en"
},
{
"text": "play it. I just want to tell you how I'm",
"start": 152.24,
"dur": 9.12,
"lang": "en"
},
{
"text": "feeling. Got to make you understand.",
"start": 157.8,
"dur": 6.12,
"lang": "en"
},
{
"text": "Never going to give you up. Never going",
"start": 161.36,
"dur": 5.44,
"lang": "en"
},
{
"text": "to let you down. Never going to run",
"start": 163.92,
"dur": 7.36,
"lang": "en"
},
{
"text": "around and desert you. Heat.",
"start": 166.8,
"dur": 4.48,
"lang": "en"
},
{
"text": "[Music]",
"start": 172.33,
"dur": 10.43,
"lang": "en"
},
{
"text": "Heat. Heat. Heat.",
"start": 178.76,
"dur": 4,
"lang": "en"
},
{
"text": "[Music]",
"start": 183.39,
"dur": 11.81,
"lang": "en"
},
{
"text": "Never going to tell a lie and hurt you.",
"start": 191.04,
"dur": 6.72,
"lang": "en"
},
{
"text": "Never going to give you up. Never going",
"start": 195.2,
"dur": 5.44,
"lang": "en"
},
{
"text": "to let you down. Never going to run",
"start": 197.76,
"dur": 6.48,
"lang": "en"
},
{
"text": "around and desert you. Never going to",
"start": 200.64,
"dur": 6.2,
"lang": "en"
},
{
"text": "make you cry. Never going to say",
"start": 204.24,
"dur": 7.64,
"lang": "en"
},
{
"text": "goodbye. Never going to say goodbye.",
"start": 206.84,
"dur": 5.04,
"lang": "en"
}
],
"transcriptText": "[Music] We're no strangers to love. You know the rules and so do I. I feel commitments from what I'm thinking of. You wouldn't get this from any other guy. I just want to tell you how I'm feeling. Got to make you understand. Never going to give you up. I'm going to let you down. I'm going to run around and desert you. I'm going to make you say goodbye. 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 we don't know what's been going on. We know the game and we're going to play. If you ask me how I'm feeling, don't tell me your truth. to see. I will give you around you. I will say goodbye and hurt you. I will give [Music] you around you. I will leave you. I will say goodbye and hurt you. Never going to give. Never going to give. Never going to give. Never going to give. We've known each other for so long. Your heart's been aching, but you're too shy to say it. We both know what's been going on. We know the game and we're going to play it. I just want to tell you how I'm feeling. Got to make you understand. Never going to give you up. Never going to let you down. Never going to run around and desert you. Heat. [Music] Heat. Heat. Heat. [Music] Never going to tell a lie and hurt you. Never going to give you up. Never going to let you down. Never going to run around and desert you. Never going to make you cry. Never going to say goodbye. Never going to say goodbye."
}
],
"meta": {
"requested": 1,
"succeeded": 1,
"failed": 0,
"outputFormat": "both",
"concurrency": 10,
"maxVideoUrls": 20
}
}
curl --location --request POST 'https://zylalabs.com/api/12409/youtube+to+transcript+api/23478/youtube+to+transcript' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"outputFormat": "both",
"lang": "en"
}'
| 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. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento.
La API devuelve transcripciones de videos de YouTube, incluyendo segmentos de texto con marcas de tiempo, información de idioma y el estado de la solicitud. La salida puede ser en texto plano, JSON estructurado o en ambos formatos
Los campos clave en la respuesta incluyen `inputUrl`, `videoId`, `videoUrl`, `status`, `language` y `transcript`, que contiene un arreglo de segmentos de texto con sus respectivos valores de `text`, `start` y `dur` (duración)
Los datos de respuesta están estructurados con un booleano `success` de nivel superior seguido de un array `results`. Cada objeto de resultado incluye metadatos de video y un array `transcript` que detalla el contenido hablado con marcas de tiempo
La API proporciona transcripciones de contenido hablado de videos públicos de YouTube, incluyendo texto, marcas de tiempo y detalles del idioma. Soporta tanto URL individuales como solicitudes por lotes de hasta 20 URL
Los usuarios pueden personalizar las solicitudes proporcionando una o múltiples URLs de videos de YouTube en el cuerpo de la solicitud La API procesa estas URLs y devuelve las transcripciones correspondientes en el formato especificado
Los casos de uso comunes incluyen la creación de conjuntos de datos de entrenamiento para modelos de IA flujos de trabajo de reutilización de contenido análisis SEO investigación de palabras clave y apoyo a medios o pipelines de investigación
La API utiliza un servicio de transcripción dedicado que normaliza las respuestas y aplica validación de entrada Esto asegura que solo se devuelvan transcripciones exitosas mejorando la calidad general de los datos
Los usuarios pueden aprovechar el formato JSON estructurado para una fácil integración en aplicaciones lo que permite análisis automatizados indexación de contenido o un procesamiento adicional en pipelines de datos
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.360ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.827ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
657ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
20.003ms
Nivel de Servicio:
97%
Tiempo de Respuesta:
3.086ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
12.198ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.985ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.099ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
88ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4.831ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
54ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4.952ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
66ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
57ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
16.678ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
20.002ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.659ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
20.003ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.996ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
6.891ms