YouTube Playlist API
List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals).
Try it
Make your first request
{
"data": {
"owner": "Alex Rivera",
"title": "Example title",
"totalVideos": 12500,
"videos": [
{
"channel": "example",
"id": "a1b2c3d4",
"lengthSeconds": 180,
"lengthText": "A short example description of this item.",
"thumbnail": "https://example.com/image.jpg",
"title": "Example title",
"url": "https://example.com/page"
}
]
},
"found": true
}interface YoutubePlaylistResponse {
data: {
owner: string;
title: string;
totalVideos: number;
videos: {
channel: string;
id: string;
lengthSeconds: number;
lengthText: string;
thumbnail: string;
title: string;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/youtube.playlist \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"playlistId":"PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| playlistId | string | "PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj"The playlist ID: the "list" parameter in a playlist URL (e.g. "PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi"). |
| Response | ||
| data | object | |
| data.owner | string | Populated whenever the provider has data for the entity. |
| data.title | string | Populated whenever the provider has data for the entity. |
| data.totalVideos | integer | |
| data.videos | object[] | Populated whenever the provider has data for the entity. |
| data.videos[].channel | string | Populated whenever the provider has data for the entity. |
| data.videos[].id | string | Populated whenever the provider has data for the entity. |
| data.videos[].lengthSeconds | integer | |
| data.videos[].lengthText | string | Populated whenever the provider has data for the entity. |
| data.videos[].thumbnail | string | Populated whenever the provider has data for the entity. |
| data.videos[].title | string | |
| data.videos[].url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
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, 100.0% of YouTube playlist calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 1 measured calls.