YouTube Transcription complète de la vidéo API
Récupérez la transcription d’une vidéo ou d’un Short YouTube avec ses segments horodatés et sa provenance : mots issus de sous-titres écrits par le créateur ou de reconnaissance vocale automatique.
2,00 $US/1k req, paiement à la requête, sans abonnement.
Transcript
{"text": "welcome back to the channel today we're going to talk about","startSeconds": 0,"endSeconds": 4.2}
Tarifs et fournisseurs
Tarifs de l’API YouTube Transcription complète de la vidéo : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez YouTube Transcription complète de la vidéo en une requête
Cet exemple affiche 24 champs sur 25. Voir tous les champs
{
"found": true,
"data": {
"transcript": "welcome back to the channel today we're going to talk about how sourdough starters actually work at a chemistry level first let's talk about the flour you use because that changes everything about fermentation speed",
"language": "en",
"isAutoGenerated": false,
"isAiGenerated": null,
"title": "The Science of Sourdough, Explained Simply",
"channel": "Kitchen Chemistry with Owen",
"durationSeconds": 612,
"segments": [
{
"text": "welcome back to the channel today we're going to talk about",
"startSeconds": 0,
"endSeconds": 4.2
},
{
"text": "how sourdough starters actually work at a chemistry level",
"startSeconds": 4.2,
"endSeconds": 9.1
},
{
"text": "first let's talk about the flour you use because that changes",
"startSeconds": 9.1,
"endSeconds": 14.6
},
{
"text": "everything about fermentation speed",
"startSeconds": 14.6,
"endSeconds": 17.8
}
],
"videoId": "nS3oOb6VwJq",
"url": "https://www.youtube.com/watch?v=nS3oOb6VwJq",
"description": "A deep dive into the microbiology and chemistry behind a healthy sourdough starter, with tips for troubleshooting a sluggish rise.",
"views": 341000,
"likes": 18900,
"authorId": "UC5sTr3u6vBzPq8fWdZgX9Lm",
"authorUrl": "https://www.youtube.com/@kitchenchemistrywithowen",
"image": "https://i.ytimg.com/vi/nS3oOb6VwJq/hqdefault.jpg",
"createdUtc": 1757462400,
"keywords": [
"sourdough",
"baking science",
"fermentation"
],
"category": "Education"
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- urlstring
https://www.youtube.com/watch?v=nS3oOb6VwJq
URL d’une vidéo ou d’un Short YouTube (p. ex. « https://www.youtube.com/watch?v=dQw4w9WgXcQ » ou « https://www.youtube.com/shorts/Fir1x9cw2vg »).
- captionKindenum
Quelle piste de sous-titres accepter : « manual » uniquement les sous-titres écrits par le créateur, « automatic » uniquement la reconnaissance vocale de YouTube, « any » celle qui existe.
- languagestring
Code de langue préféré des sous-titres (p. ex. « en », « es »). Anglais par défaut. Si la vidéo n’a pas de sous-titres dans cette langue, vous obtenez la transcription dans une autre langue disponible ; le champ `language` du résultat indique laquelle. Avec `captionKind` défini sur « manual » ou « automatic », aucune autre langue n’est renvoyée.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `likes`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a transcript that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Réponse
JSON, une valeur d’exemple par champ.
- authorIdstring
UC5sTr3u6vBzPq8fWdZgX9Lm
YouTube channel ID of the publishing channel.
- authorUrlstring
https://www.youtube.com/@kitchenchemistrywithowen
Canonical URL of the publishing channel, tracking query parameters stripped.
- categorystringpeut exiger
Education
YouTube category the video is filed under, for example "Music".
- channelstring
Kitchen Chemistry with Owen
Channel name that published the video.
- createdUtcnumberpeut exiger
1757462400
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- descriptionstring
A deep dive into the microbiology and chemistry behind a healthy sourdough starter, with tips for troubleshooting a sluggish rise.
Full video description text.
- durationSecondsnumber
612
Video duration in seconds.
- imagestring
https://i.ytimg.com/vi/nS3oOb6VwJq/hqdefault.jpg
URL of the video thumbnail image.
- isAiGeneratedboolean
null
True when the words were recognized from the audio by the serving lane rather than read from any YouTube caption track, or null when the serving source does not say.
- isAutoGeneratedboolean
false
True when YouTube generated the caption track by speech recognition rather than the creator supplying it. Automatic captions carry recognition errors, especially on names and jargon. Populated whenever the provider has data for the entity.
- keywordsstring[]
Keywords the uploader tagged the video with.
- languagestring
en
Caption language code (e.g. "en"). Populated whenever the provider has data for the entity.
- likesintegerpeut exiger
18900
Number of likes.
- titlestring
The Science of Sourdough, Explained Simply
Video title.
- transcriptstring
welcome back to the channel today we're going to talk about how sourdough starters actually work at a chemistry level first let's talk about the flour you use because that changes everything about fermentation speed
Full transcript text, segments joined in playback order. Populated whenever the provider has data for the entity.
- urlstring
https://www.youtube.com/watch?v=nS3oOb6VwJq
Watch URL of the video.
- videoIdstring
nS3oOb6VwJq
Unique identifier of the video.
- viewsinteger
341000
Number of views.
Timed transcript segments in playback order. Populated whenever the provider has data for the entity.
- endSecondsnumber
4.2
Segment end offset in seconds.
- startSecondsnumber
0
Segment start offset in seconds.
- textstring
welcome back to the channel today we're going to talk about
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.
FAQ
À propos de l’API YouTube Transcription complète de la vidéo
L’API YouTube Transcription complète de la vidéo d’AnyAPI renvoie des données YouTube en JSON normalisé à partir d’un appel POST à /v1/run/youtube.video_transcript_full. Récupérez la transcription d’une vidéo ou d’un Short YouTube avec ses segments horodatés et sa provenance : mots issus de sous-titres écrits par le créateur ou de reconnaissance vocale automatique. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 2 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels YouTube Transcription complète de la vidéo passés par AnyAPI ont réussi, avec un temps de réponse médian de 5,1 secondes, sur 19 855 appels mesurés.