> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Playlist

> Retrieves all videos in a YouTube playlist, including the playlist title, owner info, total video count, and each video's title, URL, thumbnail, duration, and channel. Accepts the playlist ID found in the 'list' URL parameter.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `playlist_id` | `string` | Yes | The ID of the YouTube playlist. In the YouTube URL it will be the 'list' parameter. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "title": "Songs with Lyrics 2025 - New Songs 2025 - Music 2025 New Songs",
  "owner": {
    "id": "UC0-wiBH12UgtWqLjo-EvpOw",
    "name": "Lovely Tunes",
    "url": "https://www.youtube.com/@lovelytunes7622",
    "handle": "lovelytunes7622"
  },
  "totalVideos": 98,
  "videos": [
    {
      "id": "AdBzzpq3xV4",
      "title": "Lady Gaga, Bruno Mars - Die With A Smile",
      "thumbnail": "https://i.ytimg.com/vi/AdBzzpq3xV4/hqdefault.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLABnTkQJmfW0s1BMl_qa0FGqIGGqw",
      "url": "https://www.youtube.com/watch?v=AdBzzpq3xV4",
      "lengthText": "4:15",
      "lengthSeconds": 255,
      "channel": {
        "title": "LatinHype",
        "url": "https://www.youtube.com/@LatinHype."
      }
    }
  ]
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.