YouTube Playlist API
List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals).
$1.20/1k req, pay per request, no subscription.
{"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"}
Pricing
YouTube Playlist API pricing
Try it
Get YouTube playlist in one request
This sample shows 16 of 17 fields. See every field
{
"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"
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- playlistIdstring
PLxK2osoDoY4gAiRxvIYUY5Fz4uMtVYnCk
The playlist ID: the "list" parameter in a playlist URL (e.g. "PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi").
Response
JSON, one example value per field.
- 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.
FAQ
About the YouTube Playlist API
The AnyAPI YouTube Playlist API returns YouTube playlist data as normalized JSON from one POST call to /v1/run/youtube.playlist. List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals). AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 92.9% of YouTube playlist calls through AnyAPI succeeded, with a median response time of 1.2 seconds across 28 measured calls.