YouTube-Playlist-API
Liste jedes Video einer YouTube-Playlist auf (Titel, Länge und Kanal pro Video plus Playlist-Inhaber und Summen).
1,20 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.
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"}
Preise
Preise der YouTube-Playlist-API
Ausprobieren
YouTube Playlist mit einer Anfrage abrufen
Dieses Beispiel zeigt 16 von 18 Feldern. Alle Felder ansehen
{
"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"
}
]
}
}Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.
Referenz
Eine Anfrage, eine Antwortstruktur.
Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.
Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d
Request-Body
JSON, per POST an diesen Endpoint gesendet.
- playlistIdstring
PLxK2osoDoY4gAiRxvIYUY5Fz4uMtVYnCk
Die Playlist-ID: der Parameter „list“ in einer Playlist-URL (z. B. „PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi“).
- cursorstring
The nextCursor from the previous page, to get the next page of videos. Send the same playlistId with it.
Antwort
JSON, ein Beispielwert pro Feld.
- 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.
- nextCursorstring
Opaque cursor for the next page of videos, or null when there are no more. Pass it back as cursor to continue.
- ownerstring
Driftline Records
Name of the channel that owns the playlist. Filled on the first page only; null on a page fetched with cursor. Populated whenever the provider has data for the entity.
- titlestring
Lo-fi Beats to Focus To
Playlist title. Filled on the first page only; null on a page fetched with cursor. Populated whenever the provider has data for the entity.
- totalVideosinteger
3
Number of videos in the playlist. Filled on the first page only; null on a page fetched with cursor.
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.
FAQ
Über die YouTube-Playlist-API
Die AnyAPI-YouTube-Playlist-API liefert YouTube-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/youtube.playlist. Liste jedes Video einer YouTube-Playlist auf (Titel, Länge und Kanal pro Video plus Playlist-Inhaber und Summen). AnyAPI liefert ein normalisiertes Schema, egal welche Quelle antwortet. Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 94,4% der YouTube Playlist-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,2 Sekunden über 249 gemessene Aufrufe.