playlists_list
Retrieve YouTube playlists by specifying a playlist ID, channel ID, or your own playlists (OAuth required). Filter results, control fields, and paginate to organize playlist data.
Instructions
Get YouTube playlists. Requires exactly one filter: id, channelId, or mine=true (mine=true requires an OAuth access token, not an API key). Quota cost: 1 unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | Language code for localized resource metadata (e.g. 'en'). | |
| id | No | Comma-separated list of playlist IDs to retrieve. | |
| mine | No | Return only playlists owned by the authenticated user. Requires OAuth access token. | |
| part | No | Comma-separated playlist resource properties to include. Options: contentDetails, id, localizations, player, snippet, status. | snippet,contentDetails,status |
| channelId | No | Return only the specified channel's playlists. | |
| pageToken | No | Token identifying a specific page in the result set. | |
| maxResults | No | Maximum items to return, 0-50. Default 5. | |
| onBehalfOfContentOwner | No | Content owner to act on behalf of (YouTube partners only). | |
| onBehalfOfContentOwnerChannel | No | Channel ID to act on behalf of (YouTube partners only). |