API para YouTube: Playlist
Liste todos os vídeos de uma playlist do YouTube (título, duração e canal de cada vídeo, além do dono da playlist e dos totais).
US$ 1,20/mil req., pague por requisição, sem assinatura.
Lo-fi Beats to Focus To
Driftline Records
Playlist · 3 videos
Rainy Window - lofi hip hop mix
Driftline Records
{"id": "aK7pQm3nVxY","title": "Rainy Window - lofi hip hop mix","url": "https://www.youtube.com/watch?v=aK7pQm3nVxY","thumbnail": "https://i.ytimg.com/vi/aK7pQm3nVxY/hqdefault.jpg","lengthText": "58:12","lengthSeconds": 3492,"channel": "Driftline Records"}
Preços
Preços do endpoint Playlist da API para YouTube
Teste
Obtenha Playlist do YouTube em uma só requisição
Este exemplo mostra 16 de 17 campos. Ver todos os campos
{
"found": true,
"data": {
"title": "Lo-fi Beats to Focus To",
"owner": "Driftline Records",
"totalVideos": 3,
"authorId": "UC9Qz1s5o8vX3P0nZk4Rr6bA",
"authorUrl": "https://www.youtube.com/@driftlinerecords",
"authorHandle": "driftlinerecords",
"videos": [
{
"id": "aK7pQm3nVxY",
"title": "Rainy Window - lofi hip hop mix",
"url": "https://www.youtube.com/watch?v=aK7pQm3nVxY",
"thumbnail": "https://i.ytimg.com/vi/aK7pQm3nVxY/hqdefault.jpg",
"lengthText": "58:12",
"lengthSeconds": 3492,
"channel": "Driftline Records"
},
{
"id": "bL8qRn4oWyZ",
"title": "Late Night Study Session - chill beats",
"url": "https://www.youtube.com/watch?v=bL8qRn4oWyZ",
"thumbnail": "https://i.ytimg.com/vi/bL8qRn4oWyZ/hqdefault.jpg",
"lengthText": "1:12:40",
"lengthSeconds": 4360,
"channel": "Driftline Records"
},
{
"id": "cM9rSo5pXzA",
"title": "Coffee Shop Ambience with Soft Piano",
"url": "https://www.youtube.com/watch?v=cM9rSo5pXzA",
"thumbnail": "https://i.ytimg.com/vi/cM9rSo5pXzA/hqdefault.jpg",
"lengthText": "45:03",
"lengthSeconds": 2703,
"channel": "Driftline Records"
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- playlistIdstring
PLxK2osoDoY4gAiRxvIYUY5Fz4uMtVYnCk
O ID da playlist: o parâmetro "list" em uma URL de playlist (ex.: "PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi").
Resposta
JSON, um valor de exemplo por campo.
- authorHandlestring
driftlinerecords
The playlist owner's @handle, without the leading @.
- authorIdstring
UC9Qz1s5o8vX3P0nZk4Rr6bA
YouTube channel ID of the playlist owner.
- authorUrlstring
https://www.youtube.com/@driftlinerecords
Canonical URL of the playlist owner's channel, tracking query parameters stripped.
- ownerstring
Driftline Records
Populated whenever the provider has data for the entity.
- titlestring
Lo-fi Beats to Focus To
Populated whenever the provider has data for the entity.
- totalVideosinteger
3
Populated whenever the provider has data for the entity.
- channelstring
Driftline Records
Populated whenever the provider has data for the entity.
- idstring
aK7pQm3nVxY
Populated whenever the provider has data for the entity.
- lengthSecondsinteger
3492
- lengthTextstring
58:12
Populated whenever the provider has data for the entity.
- thumbnailstring
https://i.ytimg.com/vi/aK7pQm3nVxY/hqdefault.jpg
Populated whenever the provider has data for the entity.
- titlestring
Rainy Window - lofi hip hop mix
- urlstring
https://www.youtube.com/watch?v=aK7pQm3nVxY
Populated whenever the provider has data for the entity.
- foundboolean
true
- 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.
Dúvidas frequentes
Sobre o endpoint Playlist da API para YouTube
O endpoint Playlist da AnyAPI para YouTube retorna dados de YouTube em JSON normalizado com uma chamada POST para /v1/run/youtube.playlist. Liste todos os vídeos de uma playlist do YouTube (título, duração e canal de cada vídeo, além do dono da playlist e dos totais). 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, 94,3% das chamadas ao endpoint Playlist da API para YouTube feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,1 segundos, em 227 chamadas medidas.