YouTube Playlists de la chaîne API
Listez les playlists d’une chaîne YouTube par identifiant ou ID de chaîne avec pagination par curseur (titre, nombre de vidéos, vignette).
1,20 $US/1k req, paiement à la requête, sans abonnement.
@harborlinecooking
30 Minute Weeknight Dinners
View full playlist
{"id": "PLq8x2VaBcD4eFgHi5jKlMnOp","title": "30 Minute Weeknight Dinners","playlistUrl": "https://www.youtube.com/playlist?list=PLq8x2VaBcD4eFgHi5jKlMnOp","videoCount": 42,"thumbnail": "https://i.ytimg.com/vi/aZ3xW7pQ2rT/hqdefault.jpg","videoId": "aZ3xW7pQ2rT","videoUrl": "https://www.youtube.com/watch?v=aZ3xW7pQ2rT"}
Tarifs et fournisseurs
Tarifs de l’API YouTube Playlists de la chaîne : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez YouTube Playlists de la chaîne en une requête
Cet exemple affiche 11 champs sur 12. Voir tous les champs
{
"found": true,
"data": {
"nextCursor": "Eg0SC0hhcmJvcmxpbmUxQoABAQ",
"playlists": [
{
"id": "PLq8x2VaBcD4eFgHi5jKlMnOp",
"title": "30 Minute Weeknight Dinners",
"playlistUrl": "https://www.youtube.com/playlist?list=PLq8x2VaBcD4eFgHi5jKlMnOp",
"videoCount": 42,
"thumbnail": "https://i.ytimg.com/vi/aZ3xW7pQ2rT/hqdefault.jpg",
"videoId": "aZ3xW7pQ2rT",
"videoUrl": "https://www.youtube.com/watch?v=aZ3xW7pQ2rT"
},
{
"id": "PLq8x2VbCeFgHiJkLmNoPqRs",
"title": "Sourdough From Scratch",
"playlistUrl": "https://www.youtube.com/playlist?list=PLq8x2VbCeFgHiJkLmNoPqRs",
"videoCount": 16,
"thumbnail": "https://i.ytimg.com/vi/bY4yX8qR3sU/hqdefault.jpg",
"videoId": "bY4yX8qR3sU",
"videoUrl": "https://www.youtube.com/watch?v=bY4yX8qR3sU"
},
{
"id": "PLq8x2VcDfGhIjKlMnOpQrSt",
"title": "Knife Skills for Beginners",
"playlistUrl": "https://www.youtube.com/playlist?list=PLq8x2VcDfGhIjKlMnOpQrSt",
"videoCount": 9,
"thumbnail": "https://i.ytimg.com/vi/cX5zY9rS4tV/hqdefault.jpg"
}
]
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- channelIdstring
ID de chaîne YouTube.
- cursorstring
Jeton de continuation d’une réponse précédente pour la pagination.
- handlestring
@harborlinecooking
Identifiant de chaîne YouTube.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `videoId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a playlist that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Réponse
JSON, une valeur d’exemple par champ.
- nextCursorstring
Eg0SC0hhcmJvcmxpbmUxQoABAQ
Opaque cursor for the next page of playlists, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- idstring
PLq8x2VaBcD4eFgHi5jKlMnOp
Populated whenever the provider has data for the entity.
- playlistUrlstring
https://www.youtube.com/playlist?list=PLq8x2VaBcD4eFgHi5jKlMnOp
Populated whenever the provider has data for the entity.
- thumbnailstring
https://i.ytimg.com/vi/aZ3xW7pQ2rT/hqdefault.jpg
- titlestring
30 Minute Weeknight Dinners
Populated whenever the provider has data for the entity.
- videoCountinteger
42
- videoIdstringpeut exiger
aZ3xW7pQ2rT
Video ID of the playlist's lead video.
- videoUrlstringpeut exiger
https://www.youtube.com/watch?v=aZ3xW7pQ2rT
Watch URL of the playlist's lead video.
- 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.
FAQ
À propos de l’API YouTube Playlists de la chaîne
L’API YouTube Playlists de la chaîne d’AnyAPI renvoie des données YouTube en JSON normalisé à partir d’un appel POST à /v1/run/youtube.channel_playlists. Listez les playlists d’une chaîne YouTube par identifiant ou ID de chaîne avec pagination par curseur (titre, nombre de vidéos, vignette). AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 1,20 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels YouTube Playlists de la chaîne passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,0 secondes, sur 57 appels mesurés.