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.
Security
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
| Parameter | Type | Required | Description |
|---|---|---|---|
idpath | string | Yes | Channel handle or canonical channel ID ( |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cursorquery | string | No | 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
}