YouTube Trascrizione del video API
Trascrizione dei sottotitoli di un video o Short tramite URL o id, con timestamp di inizio e fine per segmento.
0,89 USD/1k richieste, paghi a richiesta, nessun abbonamento.
Transcript
{"start": 18.2,"end": 21,"text": "Never gonna give you up","durationSeconds": number,"startSeconds": number}
Prezzi e provider
Prezzi dell'API YouTube Trascrizione del video: una sola API, 6 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
Provalo
Ottieni YouTube Trascrizione del video in una sola richiesta
Questo esempio mostra 5 campi su 9. Vedi tutti i campi
{
"found": true,
"data": {
"language": "en",
"segments": [
{
"start": 18.2,
"end": 21,
"text": "Never gonna give you up"
},
{
"start": 21,
"end": 24.4,
"text": "Never gonna let you down"
}
]
}
}Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.
Riferimento
Una richiesta, una sola forma di risposta.
Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.
Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d
Corpo della richiesta
JSON, inviato a questo endpoint.
- idstring
ID del video YouTube. Uno Short usa lo stesso ID di qualsiasi altro video.
- urlstring
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Full YouTube video URL carrying the video id. Shorts (youtube.com/shorts/...), youtu.be, live, and embed URLs all work. A link without the video id, such as https://www.youtube.com/watch?v= or a channel link, is refused as invalid input, with no charge; send the video's link or its id instead.
Risposta
JSON, un valore di esempio per campo.
- languagestring
en
Populated whenever the provider has data for the entity.
- transcriptstring
Populated whenever the provider has data for the entity.
Timed transcript segments in source order when the serving lane supplies caption timing.
- durationSecondsnumber
Segment duration in seconds.
- startSecondsnumber
Segment start offset in seconds.
- textstring
Never gonna give you up
Text of this transcript segment.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.
FAQ
Sull'API YouTube Trascrizione del video
L'API YouTube Trascrizione del video di AnyAPI restituisce dati YouTube come JSON normalizzato da una sola chiamata POST a /v1/run/youtube.video_transcript. Trascrizione dei sottotitoli di un video o Short tramite URL o id, con timestamp di inizio e fine per segmento. AnyAPI instrada ogni richiesta su 6 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,89 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate YouTube Trascrizione del video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 7,1 secondi su 255.253 chiamate misurate.