YouTube API

YouTube Channel playlists API

List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail).

$1.20/1k req, pay per request, no subscription.

What the API returnedplaylists[0]
{
"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"
}
Uptime
100.00%
30d · 10 calls
Requests
10
30d · weekly, last 12 wks
Response
1.1s
median · 30d

Pricing

YouTube Channel playlists API pricing

Providers
Giraffe7 served100.00% uptime1132ms p50$1.20/1k reqflat
You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get YouTube channel playlists in one 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.

This sample shows 11 of 12 fields. See every field

{
  "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"
      }
    ]
  }
}

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.

  • channelIdstring

    YouTube channel ID.

  • cursorstring

    Continuation token from a previous response for pagination.

  • handlestring

    @harborlinecooking

    YouTube channel handle.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • 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.

each playlistdata.playlists[]

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

  • videoIdstring

    aZ3xW7pQ2rT

    Video ID of the playlist's lead video.

  • videoUrlstring

    https://www.youtube.com/watch?v=aZ3xW7pQ2rT

    Watch URL of the playlist's lead video.

top level
  • 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.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the YouTube Channel playlists API

The AnyAPI YouTube Channel playlists API returns YouTube channel playlists data as normalized JSON from one POST call to /v1/run/youtube.channel_playlists. List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail). 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 channel playlists calls through AnyAPI succeeded, with a median response time of 1.1 seconds across 10 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 and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List a YouTube channel's playlists by handle or channel ID with cursor pagination (title, video count, thumbnail). 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 channel playlists calls through AnyAPI succeeded, with a median response time of 1.1 seconds across 10 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 YouTube Channel playlists calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/youtube.channel_playlists with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.