Reference
Video Transcript
Get the transcript of a YouTube video.
GET
/video/transcript/{id}
Authorization<token>
Use the format: Api-Key <token>
as the value.
In: header
Path Parameters
idstring
A unique YouTube video identifier
Match
^([a-zA-Z0-9-_]{11}$)
Response Body
{
"ids": [
"string"
],
"items": [
{
"id": "string",
"events": [
{
"startMs": 0,
"durationMs": 0,
"endMs": 0,
"text": "string"
}
],
"transcript": "string"
}
]
}
{
"error": {
"errors": [
{
"code": "string",
"validation": "string",
"message": "string",
"path": [
"string"
]
}
]
},
"status": "string"
}
{
"error": {
"message": "string"
},
"status": "string"
}
{
"error": {
"message": "string"
},
"status": "string"
}
{
"error": {
"message": "string",
"rateLimit": {
"limit": -9007199254740991,
"current": -9007199254740991,
"remaining": -9007199254740991,
"resetTime": "2019-08-24T14:15:22Z"
}
},
"status": "string"
}