YTAPI.devDocs

List channel playlists

listChannelPlaylists(id, query?, options?): ChannelPlaylistsPage

GET
https://api.ytapi.dev/v1/channels/{id}/playlists
1 Credit

Returns public playlists for the channel. Pass next_cursor as cursor to continue.

API Key

All requests require a valid API key from the developer dashboard.

Headers: Authorization: Bearer YOUR_API_KEYorX-API-Key: YOUR_API_KEY

See Authentication for headers and rate limits.

Path Parameters

ParameterTypeRequiredDescription
idpath
stringYes

Channel handle or canonical channel ID (UC...).

Query Parameters

ParameterTypeRequiredDescription
cursorquery
stringNo

Continuation cursor from the previous response.

Response (HTTP 200)

{
  "playlists": [                  // Playlist cards
    {
      "playlist_id": string,      // Canonical playlist ID (PL...)
      "title": string,            // Playlist title
      "video_count": number,      // Number of videos in the playlist
      "video_count_text": string, // Formatted count string (e.g. "48 videos")
      "thumbnails": [             // Thumbnail variants
        {
          "url": string,
          "width": number,
          "height": number
        }
      ]
    }
  ],
  "has_more": boolean,            // Whether another page is available
  "next_cursor": string | null    // Cursor token for the next page
}