Get YouTube video transcript.
| Field | Type | Required | Description |
|---|---|---|---|
| video_url | string | Yes | The YouTube video URL |
| channel | string | Yes | The channel name. Supported values: apify, rapid, memories.ai |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | array[object] | Array containing transcript data objects |
| data[].data | array[object] | Array of transcript segments |
| data[].data[].start | string | Start time of the transcript segment in seconds |
| data[].data[].dur | string | Duration of the transcript segment in seconds |
| data[].data[].text | string | The transcript text for this segment |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
Video transcript
Response code indicating the result status
"0000"
Response message describing the operation result
"success"
Array containing transcript data objects
Indicates whether the operation was successful
true
Indicates whether the operation failed
false