YOUTUBE TRANSCRIPT API

YouTube Playlist API

Get a YouTube playlist from its link or ID: title, description, owner channel, video and view counts and when it was last updated, plus its videos in playlist order with each one's position, duration, views and channel. Page through the videos with the `cursor` from the previous response's `nextCursor`.

Endpoint
POST /youtube/get-playlist
Price
1 credit per request
SDK
client.youtube.getPlaylist()
MCP tool
youtube_get_playlist
Terminal
curl -X POST "https://api.bridgly.app/youtube/get-playlist" \
-H "Authorization: Bearer $BRIDGLY_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI"
}'
[ REQUEST AND RESPONSE ]

What does the YouTube Playlist API return?

YouTube playlist API: get a playlist’s title, description, owner, video and view counts, plus its videos in order with duration and views, as JSON. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.

Request body

cursorstring
The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
urlstringrequired
The playlist to fetch. Accepts any YouTube link with a `list=` parameter, such as "https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI" or a watch link playing the playlist, or a bare playlist ID.
countinteger · 1–100 · default 100
Number of results to return (1–100). Defaults to 100.
cacheMaxAgeHoursinteger
Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean
Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.

Example response

200 OK · application/json
{
"timeMs": 1840,
"creditsCost": 1,
"cachedAt": "2026-01-15T09:30:00.000Z",
"data": {
"nextCursor": "string",
"playlist": {
"id": "string",
"url": "string",
"title": "string",
"description": "string",
"thumbnails": [
{
"url": "string",
"width": 0,
"height": 0
}
],
"channel": {
"id": "string",
"name": "string",
"url": "string",
"handle": "string"
},
"videoCount": 0,
"viewCount": 0,
"updatedText": "string"
},
"videos": [
{
"id": "string",
"url": "string",
"title": "string",
"thumbnails": [
{
"url": "string",
"width": 0,
"height": 0
}
],
"durationSeconds": 0,
"viewCount": 0,
"publishedText": "string",
"channel": {
"id": "string",
"name": "string",
"url": "string",
"handle": "string"
},
"isShort": true,
"isLive": true,
"isUpcoming": true,
"badges": [
"string"
],
"position": 0
}
]
}
}
[ USE CASES ]

What can you build with the YouTube Playlist API?

Index courses

Pull every lesson of a course playlist in order.

Track playlists

Watch a playlist’s video and view counts over time.

Feed video pipelines

List a playlist’s videos to fetch their transcripts next.

[ FAQ ]

YouTube Playlist API questions

Can I get every video in a large playlist?

Yes. Each call returns up to 100 videos in playlist order, each with its position. Pass nextCursor to get the next ones until it is null.

Does it work with a channel’s uploads and with Mixes?

A channel’s uploads playlist works like any public playlist. Mixes that YouTube generates for each viewer can’t be fetched as playlists, and a private playlist returns an error.

How do I use the YouTube Playlist API?

Send a POST request to https://api.bridgly.app/youtube/get-playlist with url in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.youtube.getPlaylist(). AI agents connected to Bridgly over MCP can call the youtube_get_playlist tool.

How much does the YouTube Playlist API cost?

Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.

Try the YouTube Playlist API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits