YouTube Транскрипт видео, полный API
Получает транскрипт видео или Short на YouTube с временными сегментами и его происхождением: написаны ли слова автором в субтитрах или получены машинным распознаванием речи.
2,00 USD/1 тыс. запросов, оплата за запрос, без подписки.
Transcript
{"text": "welcome back to the channel today we're going to talk about","startSeconds": 0,"endSeconds": 4.2}
Цены и поставщики
Цена API YouTube Транскрипт видео, полный: один API, поставщиков 2, и любой может заменить другого
Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.
Попробовать
Получите YouTube Транскрипт видео, полный одним запросом
В этом примере показано полей: 24 из 25. Все поля
{
"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"
}
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-11-21 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- urlstring
https://www.youtube.com/watch?v=nS3oOb6VwJq
URL видео или Short на YouTube (например, "https://www.youtube.com/watch?v=dQw4w9WgXcQ" или "https://www.youtube.com/shorts/Fir1x9cw2vg").
- captionKindenum
Какую дорожку субтитров принимать: "manual" только субтитры, написанные автором, "automatic" только распознавание речи YouTube, "any" любую, какая есть.
- languagestring
Предпочитаемый код языка субтитров (например, "en", "es"). По умолчанию английский. Если у видео нет субтитров на этом языке, вы получите транскрипт на другом языке, который есть у видео; какой именно, указано в поле `language` результата. Если `captionKind` равен "manual" или "automatic", другой язык не возвращается.
- 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.
Ответ
JSON, по одному примеру значения на поле.
- 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.
- categorystringможет потребовать
Education
YouTube category the video is filed under, for example "Music".
- channelstring
Kitchen Chemistry with Owen
Channel name that published the video.
- createdUtcnumberможет потребовать
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.
- likesintegerможет потребовать
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.
Вопросы и ответы
Об API YouTube Транскрипт видео, полный
AnyAPI YouTube Транскрипт видео, полный API возвращает данные YouTube в виде нормализованного JSON одним вызовом POST к /v1/run/youtube.video_transcript_full. Получает транскрипт видео или Short на YouTube с временными сегментами и его происхождением: написаны ли слова автором в субтитрах или получены машинным распознаванием речи. AnyAPI направляет каждый запрос по источникам (их 2) и автоматически переключается, если один из них отказывает. Это стоит от 2 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов YouTube Транскрипт видео, полный через AnyAPI завершились успешно, медианное время ответа 5,1 с, измерено вызовов: 19 855.