# Extract Playlist Videos

List up to 100 videos from any public YouTube playlist.

Source: https://youtubetranscriptapi.com/docs/api/playlist

The Playlist endpoint returns up to 100 videos from any public YouTube playlist (PL…, UU…, LL…, FL…, OL…, RD…, UL… or PU…). Authenticate with `Authorization: Bearer YOUR_API_KEY`. Each request charges 20 credits on a 200 response; 4xx errors, 5xx errors, and 429 rate-limits never debit. Only the first page is served for now: `continuation_token` is always `null`, and a request with `continuation` is refused with `422 continuation_unavailable` before the credit check, so it needs no balance and is never charged. `has_more` still tells you whether the playlist is longer. The response also includes a `playlist_info` block with title, owner, and video count; `viewCount` in it is always `null`.

A channel's uploads playlist (`UU…`) is served from the channel listing, like [List channel uploads](https://youtubetranscriptapi.com/docs/api/channel#videos). It can return `404 channel_not_found`, its `playlist_info.title` reads `Uploads from <channel name>`, `numVideos` is `null`, and there is no `description`.

`GET /api/v2/youtube/playlist/videos` — 20 credits (first page)

## Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `playlist` (required) | `string` | — | Playlist ID (PL…, UU…, LL…, FL…, OL…, RD…, UL… or PU…), or any URL with one in its list= parameter. |
| `continuation` | `string` | — | Not served yet. Refused with 422 continuation_unavailable before the credit check: needs no balance and is never charged. |

## Example requests

```bash
curl -X GET "https://youtubetranscriptapi.com/api/v2/youtube/playlist/videos?playlist=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

```json
{
  "results": [
    {
      "videoId": "abc123xyz00",
      "title": "Playlist Video",
      "channelId": "UCAuUUnT6oDeKwE6v1NGQxug",
      "channelTitle": "TED",
      "channelHandle": "@TED",
      "lengthText": "10:05",
      "viewCountText": "1.5M views 6 months ago",
      "thumbnails": [
        { "url": "https://i.ytimg.com/vi/abc123xyz00/default.jpg", "width": 120, "height": 90 },
        { "url": "https://i.ytimg.com/vi/abc123xyz00/mqdefault.jpg", "width": 320, "height": 180 },
        { "url": "https://i.ytimg.com/vi/abc123xyz00/hqdefault.jpg", "width": 480, "height": 360 }
      ],
      "index": "0"
    }
  ],
  "playlist_info": {
    "title": "Best Tech of 2025",
    "numVideos": "47 videos",
    "description": "My picks for the best tech this year",
    "ownerName": "TED",
    "viewCount": null
  },
  "continuation_token": null,
  "has_more": true
}
```
