Products/YouTube/Playlist

YouTube Playlist Scraper icon

YouTube Playlist Scraper REST API and Apify actor

Every video of a YouTube playlist, in order.

Paste a playlist link, get each video with views, duration and date, plus the playlist's title, video count and views on every row.

0.50 USD per 1,000 videos. 5 USD free credits, no card. Credit packs.

GET /v1/youtube/playlist-items
curl -G "https://api.vakitek.co.uk/v1/youtube/playlist-items" \
  -H "X-API-Key: $VAKITEK_API_KEY" \
  --data-urlencode "playlist=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH" \
  --data-urlencode "max_results=5"
data[0], one row per video200 OK
{
  "playlistIndex": 1,
  "title": "Coding Challenge 1: Starfield Simulation",
  "viewCount": 1300000,
  "duration": "13:54",
  "date": "10 years ago",
  "dateIsApproximate": true,
  "url": "https://www.youtube.com/watch?v=17WoOqgXsRM&index=1",
  "playlistInfo": {"playlistTitle": "Coding Challenges", "playlistVideoCount": 246, "playlistViewCount": 2721179, ...},
  ...
}
Real response, The Coding Train's Coding Challenges playlist, 12 Nov 2026. Trimmed.

What you get

Playlist order, no gaps

playlistIndex starts at 1 and stays continuous across pages, even on a 5,000 video playlist.

The playlist's own stats

playlistInfo carries its title, description, channel, playlistVideoCount and playlistViewCount, the same on every row.

Details when you want them

Turn on include_video_details for likes, commentsCount, the full description and the exact publishedAt, at the same price.

Deleted videos stay visible

A private or deleted video still in the list comes back with isPlayable set to false on Apify, instead of silently disappearing.

Not included: mix or radio playlists (ids starting with RD return UNSUPPORTED_PLAYLIST, free), private playlists, downloads. Limits and error codes.

Pay per video returned

0.50 USD/ 1,000 videos

Likes, comment count and description at no extra cost. Error rows are free. No minimum per run, no monthly plan.

250 videos from one playlist0.12 USD
250 videos x 0.0005 USD

One wallet for all 10 YouTube APIs. Credits never expire. Credit packs from 10 USD. Runs on Apify are billed by Apify.

Questions

How do I get a playlist longer than 100 videos?

Pass meta.next_cursor back to /v1/youtube/playlist-items until it is empty. On Apify, set maxVideosPerPlaylist up to 5,000.

Why are some dates approximate?

Without details, dates come from the playlist list itself (10 years ago) and dateIsApproximate is true. Turn on include_video_details for the exact date.

Playlist Scraper or Channel Scraper?

A playlist: this one. Every upload, Short or stream of a channel: YouTube Channel Scraper.

Is it legal to scrape YouTube playlists?

We read public YouTube pages only, with no login. YouTube's Terms of Service restrict automated access, so check your use against them and your local law.

Do I need Apify?

No. The REST API is separate: sign up with your email, copy your key, call it. Apify is the no-code option, billed by Apify on your Apify account at the same unit price plus its 0.00005 USD start event per run.

Export your first playlist in a minute.

API reference: endpoints, limits and error codes

Base URL https://api.vakitek.co.uk. Send your key in the X-API-Key header. Every response is JSON with data (one row per item), meta (request id, count, latency, paging cursor) and billing (what was charged).

GET /v1/youtube/playlist-items

One playlist per call, up to 100 videos, in playlist order.

playlistPlaylist URL or id (PL..., UU..., OL...)required
max_resultsVideos in this call1 to 100, default 50
include_video_detailsAdd likes, comment count, description, exact datedefault false
cursormeta.next_cursor from the previous calloptional

GET /v1/youtube/playlist

Up to 500 videos in one call, with full video details. Billed as YouTube Scraper rows.

playlistPlaylist URL or idrequired
max_resultsVideos to return1 to 500, default 50
max_commentsTop comments per video0 to 20, default 0

Several playlists per run, up to 5,000 videos per playlist and schedules are on the Apify actor (startUrls, maxVideosPerPlaylist).

Limits

Rate limit
120 requests per minute per API key (default). Over that you get 429. Need more? Write to support.
Batch
Transcript and Channel email take up to 25 videos or channels per POST. More returns 422.
Page size
Search up to 100 rows, Shorts and channel videos up to 200 rows per call, then follow meta.next_cursor.
Concurrency
No per-key cap. The service runs a limited number of scrapes at the same time and queues the rest, so very parallel clients wait longer. Start with 4 calls in flight.
Latency
1 to 9 seconds per call in our checks on 23 Oct 2026 (one call per endpoint). Set your client timeout to 120 seconds.
Wallet
Checked before each call. When it is empty you get 402 and nothing runs. Runs on Apify are billed by Apify, not from this wallet.
Data
We keep request metadata (route, status, counts, timing) for billing and support. We do not keep a copy of the rows we return.

HTTP status codes

StatusBodyMeaningWhat to do
200{data, meta, billing}Done. Some rows may carry an error code (free).Retry only rows whose code says retry later.
401UNAUTHORIZEDMissing or wrong X-API-Key.Fix the key. Do not retry.
402INSUFFICIENT_CREDITSYour wallet is empty.Buy a pack, then retry.
422INVALID_INPUTA parameter is wrong, or more than 25 items in a batch.Fix the request. Do not retry.
429RATE_LIMITEDOver 120 requests per minute.Wait, then retry with backoff: 1 s, 2 s, 4 s.
502UPSTREAM_ERRORYouTube or our service failed for the whole call. Not billed.Retry once after a few seconds.
Row codeWhat happenedRetryYou pay
video rowA playlist video came back. The only billed row.n/a0.50 USD / 1,000
NOT_FOUNDThe playlist URL or id doesn't match a real playlistno retryfree
UNSUPPORTED_PLAYLISTThe id is a mix/radio playlist or another auto-generated type YouTube does not let anyone browseno retryfree
NO_RESULTSThe playlist exists but has no videosno retryfree
INVALID_INPUTAn input value is invalidno retryfree
BLOCKEDYouTube refused us for now, even after trying every proxy tierretry laterfree
UPSTREAM_ERRORSomething went wrong on YouTube's side or oursretry laterfree
UPSTREAM_UNAVAILABLEOur API was unreachableretry laterfree
TIME_BUDGET_EXCEEDEDThe time budget ran out before this playlist finishedretry laterfree
Get a free API key Pricing