Home · Docs · Endpoints · youtube/playlist
youtube/playlist — a playlist's videos, with their real counts
The videos in a YouTube playlist by playlist id, each with exact counters. A curated list rather than a channel's output.
The call
| Path | GET /api/v1/youtube/playlist |
|---|---|
| Catalogue id | youtube/playlist |
| Cost | 1 credit per call. A call that finds nothing costs nothing. |
| Key | Required — Authorization: Bearer hk_live_... |
Parameters (1)
| Name | In | Required |
|---|---|---|
id | query | yes |
That list is the whole list, and anything else is ignored in silence. An undeclared parameter is not rejected — it produces no error, no warning and no filtering. Check a parameter against this table before assuming a narrower result came back.
What the parameter list does not tell you
A PLAYLIST IS A DIFFERENT QUESTION FROM A CHANNEL. `youtube/channel/videos` answers 'what did this account publish recently'; this answers 'what did somebody put in this list', and the two sets frequently share nothing. A playlist can hold other people's videos, can be ordered by hand, and is where a series or a course actually lives.
A real call on 4 October 2026 returned 15 items, and the top like count among them was 2,738,194 — exact, from the official Data API v3, the same as `youtube/video`. Fifteen is the length of that playlist, not a cap we applied; the count varies per playlist and `limit` is not declared because the route does not read one.
`id` is the playlist id, the `PL…` string from the list URL, and not a channel id. Passing a channel id here does not return that channel's uploads — channels and playlists are separate objects upstream, and the call is spent either way. For uploads, `youtube/channel/videos`.
Why there is no success body on this page
The 200 body for this endpoint is not transcribed here. Reading it needs a client key, and there is no client key on the machine these pages were built from — internal keys exist only as hashes, by design. An example we never received would look exactly like one we did, so instead of composing one, the response shape is documented field by field on the schema pages below. Those are generated from the contract and tested against it in both directions; an invented example would be tested by nothing.
Response shapes (4)
PostItem— The normalised post shape. `metrics` carries likes, replies, reposts and quotes — and nothing else, because nothing else exists on every platform we read.PostsEnvelope— Every posts endpoint answers with this envelope. Eight fields, all required: you can read `success` and `credits_used` without checking whether they came.Author— The normalised profile shape, identical across all platforms. All twelve fields are nullable, and that is the design: a field we cannot read comes back null, never 0, because a zero would be a claim about the account.ApiError— Every 4xx and 5xx from the API carries this object. The `error` value is a stable string you can branch on; the extra fields appear only for the errors that have something to report.
Error codes (8)
Every one of them carries the same body shape: ApiError. The error value is a stable string you can branch on — branch on that, never on the message text.
400 · 401 · 402 · 404 · 405 · 451 · 503 · 502
Machine-readable
This endpoint is in /openapi.json (OpenAPI 3.1), with its cost on the operation itself. If you are generating a client, use the spec rather than this page — and note that the spec is filtered by what is switched on right now, so it is the better answer to "can I call this today".
The other 18 endpoint pages
archive/trends · archive/movers · archive/coverage · profile/history · youtube/channel · pinterest/boards · bluesky/post · tiktok/post · tiktok/search_suggestions · tiktok/video_screen_text · tiktok/post_transcript · youtube/video · youtube/channel/videos · youtube/channel/shorts · youtube/channel/lives · youtube/channel/playlists · youtube/video/comments · youtube/video/comment/replies