Get multiple transcripts or video metadata from YouTube videos in a playlist, channel or list of URLs.
Parameter | Type | Required | Description |
---|---|---|---|
videoIds | array | One of these is required | Array of YouTube video IDs or URLs |
playlistId | string | One of these is required | YouTube playlist URL or ID |
channelId | string | One of these is required | YouTube channel URL, handle or ID |
limit | number | No | Maximum number of videos to process (when using playlistId or channelId). Default: 10, Max: 5000 |
lang | string | No | Preferred language code for transcripts (ISO 639-1) |
text | boolean | No | When true, returns plain text transcript. Default: false |
Parameter | Type | Required | Description |
---|---|---|---|
videoIds | array | One of these is required | Array of YouTube video IDs or URLs |
playlistId | string | One of these is required | YouTube playlist URL or ID |
channelId | string | One of these is required | YouTube channel URL, handle or ID |
limit | number | No | Maximum number of videos to process (when using playlistId or channelId). Default: 10, Max: 5000 |
GET /v1/youtube/batch/{jobId}
- Get the status and results of a batch job.
Parameter | Type | Required | Description |
---|---|---|---|
jobId | string | Yes | The ID of the batch job |
Status | Description |
---|---|
queued | The job is in the queue waiting to be processed |
active | The job is currently being processed |
completed | The job has finished processing all videos |
failed | The job failed due to an error |