API · YouTube
GET /youtube/channels/{channel}/playlists
A YouTube channel’s playlists, paginated.
| |
|---|
| Request | GET /v1/youtube/channels/{channel}/playlists |
| Operation id | youtube.channel.playlists |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A YouTube channel’s playlists, paginated.
| Name | Type | Required | Description |
|---|
channel | string | yes | A channel id (UC…), a handle with or without the @, or any channel URL (/@handle, /channel/UC…, /c/name, /user/name). Example: @MrBeast. |
| Name | Type | Required | Description |
|---|
sort | "default" | "newest" | "last_video_added" | no | default, newest or last_video_added. One of default, newest, last_video_added. |
after | string | no | The previous page’s nextPageToken. Tokens last 6 hours. |
| Status | Meaning | Schema |
|---|
200 | A page of playlists. | YouTubePlaylistList |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The video, channel, playlist or post does not exist, was removed, or has nothing there. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | YouTube is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
kind | "youtube#playlistListResponse" | |
items | YouTubePlaylist[] | |
nextPageToken | string | Pass as after for the next page. Absent on the last page. Lasts 6 hours. |
pageInfo | object | |
Errors use one shape everywhere; see Errors for every code and what to do.