API para YouTube: Playlists do canal
Liste as playlists de um canal do YouTube por nome de usuário ou ID do canal, com paginação por cursor (título, quantidade de vídeos, miniatura).
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"data": {
"nextCursor": "example",
"playlists": [
{
"id": "a1b2c3d4",
"playlistUrl": "https://example.com/page",
"thumbnail": "https://example.com/image.jpg",
"title": "Example title",
"videoCount": 12500,
"videoId": "a1b2c3d4",
"videoUrl": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}interface YoutubeChannelPlaylistsResponse {
data: {
nextCursor: string | null;
playlists: {
id: string;
playlistUrl: string;
thumbnail: string;
title: string;
videoCount: number;
videoId?: string;
videoUrl?: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/youtube.channel_playlists \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"@veritasium"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| channelId | string | ID do canal do YouTube. |
| cursor | string | Token de continuação de uma resposta anterior, para paginação. |
| handle | string | "@veritasium"Nome de usuário do canal do YouTube. |
| Resposta | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of playlists, or null when this lane has no more. Pass it back as cursor to continue. |
| data.playlists | object[] | Populated whenever the provider has data for the entity. |
| data.playlists[].id | string | Populated whenever the provider has data for the entity. |
| data.playlists[].playlistUrl | string | Populated whenever the provider has data for the entity. |
| data.playlists[].thumbnail | string | |
| data.playlists[].title | string | Populated whenever the provider has data for the entity. |
| data.playlists[].videoCount | integer | |
| data.playlists[].videoId | string | Video ID of the playlist's lead video. |
| data.playlists[].videoUrl | string | Watch URL of the playlist's lead video. |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Playlists do canal da API para YouTube
O endpoint Playlists do canal da AnyAPI para YouTube retorna dados de YouTube em JSON normalizado com uma chamada POST para /v1/run/youtube.channel_playlists. Liste as playlists de um canal do YouTube por nome de usuário ou ID do canal, com paginação por cursor (título, quantidade de vídeos, miniatura). A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Playlists do canal da API para YouTube feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,8 segundos, em 1 chamadas medidas.