YouTube Transcriber logoYouTube Transcriber
API Reference

List videos in a playlist

Get the videos in a playlist, in their listed order.

Quick example

curl "https://getyoutubetranscriber.com/api/v2/playlist/videos?playlist=PLrEnWoR732-CN09YykVof2lxdI3MLOZda" \
  -H "Authorization: Bearer ytt_your_key_here"

Full parameter list, response schema, and try-it samples in every language are below.


GET
/api/v2/playlist/videos
AuthorizationBearer <token>

Send your API key as Authorization: Bearer <api_key>.

In: header

Query Parameters

playlist?string

Playlist ID (PL/UU/LL/FL/OL prefix) or a YouTube playlist URL.

Length1 <= length <= 200
continuation?string

Cursor for the next page of results.

Length1 <= length <= 8192

Response Body

curl -X GET "http://localhost:3011/api/v2/playlist/videos?playlist=PLrEnWoR732-CN09YykVof2lxdI3MLOZda&continuation=string"
{
  "results": [
    {
      "type": "video",
      "video_id": "string",
      "title": "string",
      "channel_id": "string",
      "channel_title": "string",
      "channel_handle": "string",
      "channel_verified": true,
      "length_text": "string",
      "view_count_text": "string",
      "published_time_text": "string",
      "has_captions": true,
      "thumbnails": [
        {
          "url": "string",
          "width": 0,
          "height": 0
        }
      ]
    }
  ],
  "result_count": 0,
  "continuation_token": "string",
  "has_more": true,
  "playlist_info": {
    "title": "string",
    "num_videos": "string",
    "description": "string",
    "owner_name": "string",
    "view_count": "string"
  }
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}
{
  "type": "https://getyoutubetranscriber.com/api/errors/validation",
  "title": "Validation failed",
  "status": 422,
  "detail": "video_url is required",
  "instance": "/api/v2/transcript",
  "request_id": "req_01J0XYZ...",
  "code": "E_VALIDATION",
  "errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "retry_after": 0
}