YouTube API

YouTube Playlist API

List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals).

POST/v1/run/youtube.playlist
Uptime
100.00%
30d · 1 call
Requests
1
30d · weekly, last 12 wks
Response
1.7s
median · 30d

Pricing

One price, in dollars

Providers
Giraffe1 served100.00% uptime1045ms p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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
}
Response interface
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 30d
POST /v1/run/youtube.playlist
curl -X POST https://api.getanyapi.com/v1/run/youtube.playlist \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"playlistId":"PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj"}'
FieldTypeExample value
Request body
playlistIdstring"PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj"The playlist ID: the "list" parameter in a playlist URL (e.g. "PLu0W_9lII9ahIappRPN0MCAgtOu3lQjQi").
Response
dataobject
data.ownerstringPopulated whenever the provider has data for the entity.
data.titlestringPopulated whenever the provider has data for the entity.
data.totalVideosinteger
data.videosobject[]Populated whenever the provider has data for the entity.
data.videos[].channelstringPopulated whenever the provider has data for the entity.
data.videos[].idstringPopulated whenever the provider has data for the entity.
data.videos[].lengthSecondsinteger
data.videos[].lengthTextstringPopulated whenever the provider has data for the entity.
data.videos[].thumbnailstringPopulated whenever the provider has data for the entity.
data.videos[].titlestring
data.videos[].urlstringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List every video in a YouTube playlist (title, length, and channel per video plus playlist owner and totals). The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.