API de YouTube: Lista de reproducción
Lista todos los videos de una lista de reproducción de YouTube (título, duración y canal de cada video, además del propietario de la lista y los totales).
US$1.20/1k solic., pagas por solicitud, sin suscripción.
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"}
Precios
Precios del endpoint Lista de reproducción de la API de YouTube
Pruébalo
Obtén Lista de reproducción de YouTube en una sola solicitud
Este ejemplo muestra 16 de 17 campos. Ver todos los 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"
}
]
}
}Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.
Referencia
Una solicitud, un formato de respuesta.
Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.
Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d
Cuerpo de la solicitud
JSON, enviado por POST a este endpoint.
- playlistIdstring
PLxK2osoDoY4gAiRxvIYUY5Fz4uMtVYnCk
El ID de la lista de reproducción: el parámetro "list" en la URL de una lista de reproducción (p. ej., "PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi").
Respuesta
JSON, un valor de ejemplo 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.
Preguntas frecuentes
Acerca del endpoint Lista de reproducción de la API de YouTube
El endpoint Lista de reproducción de AnyAPI para YouTube devuelve datos de YouTube como JSON normalizado con una sola llamada POST a /v1/run/youtube.playlist. Lista todos los videos de una lista de reproducción de YouTube (título, duración y canal de cada video, además del propietario de la lista y los totales). AnyAPI devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$1.20 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 94.3% de las llamadas al endpoint Lista de reproducción de la API de YouTube a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.1 segundos en 227 llamadas medidas.