YouTube Playlist Scraper
Pricing
from $2.99 / 1,000 playlists
YouTube Playlist Scraper
Extract public video listings and playlist metadata from YouTube playlist pages with Playwright.
Pricing
from $2.99 / 1,000 playlists
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
Share
Extract public video listings and playlist metadata from ordinary YouTube playlist pages. Each row describes one video visible on a playlist page, together with the playlist title, owner, displayed counts, playlist position, thumbnails, and extraction provenance. The Actor parses the public page's embedded initial data and does not call YouTube's private browse API, download media, access private playlists, or bypass authentication or CAPTCHAs.
The 2026-10-25 saved run read one public playlist with 13 visible videos and saved the first 5 requested rows.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Add one or more public
playlistUrls. This field is required. - Set
maxItemsto the number of videos you want from each playlist page. Keep it small for the first run. - Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (
OUTPUT) to check counts and pagination state.
Input
playlistUrls is required. Other fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
playlistUrls | string array | Required | ["https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd"] | HTTPS YouTube playlist URLs containing a valid list parameter; 1–50 entries. |
maxItems | integer | Optional | 100 | Maximum video rows retained from each playlist page, 1–5000. |
languageCode | string | Optional | en | Language context sent to the public playlist page. |
countryCode | string | Optional | US | Two-letter country context sent to the public playlist page. |
proxyConfiguration | object | Optional | {"useApifyProxy":false} | Optional account-authorized Apify Proxy or credential-free HTTP/SOCKS configuration. |
enableProxyFallback | boolean | Optional | true | Try one ordinary configured Apify Proxy request after a direct failure. |
requestDelayMs | integer | Optional | 250 | Pacing delay between playlist page requests, 0–5000 ms. |
requestTimeoutSecs | integer | Optional | 60 | Timeout per public playlist page request, 15–180 seconds. |
Example input using every default:
{"playlistUrls": ["https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd"],"maxItems": 100,"languageCode": "en","countryCode": "US","proxyConfiguration": {"useApifyProxy": false},"enableProxyFallback": true,"requestDelayMs": 250,"requestTimeoutSecs": 60}
Each playlist URL uses one ordinary public page. The Actor reads the cards exposed in that page payload, removes duplicate video IDs within the playlist, and records how many continuation markers were seen. Continuation markers are not followed.
Output
The dataset contains one row per unique visible playlist video. Optional values are omitted when the source does not publish them; they are never inferred. No diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Record discriminator; always youtube_playlist_video. |
playlistId | string | Always | Playlist identifier from the public URL. |
playlistUrl | string | Always | Public playlist URL. |
playlistTitle | string | Always | Playlist title. |
playlistDescription | string | When published | Playlist description exposed by the page. |
playlistOwnerName | string | Always | Playlist owner name. |
playlistOwnerId | string | Always | Playlist owner channel identifier. |
playlistOwnerUrl | string | Always | Playlist owner channel URL. |
playlistVideoCountText | string | Always | Displayed playlist video count. |
playlistVideoCount | integer | Always | Parsed playlist video count. |
playlistViewCountText | string | Always | Displayed playlist view count. |
playlistViewCount | integer | Always | Parsed playlist view count. |
playlistLastUpdatedText | string | Always | Displayed playlist update label. |
playlistThumbnailUrl | string | Always | Playlist thumbnail URL. |
playlistThumbnailCount | integer | Always | Number of playlist thumbnail variants. |
videoId | string | Always | 11-character video ID. |
title | string | Always | Video title. |
url | string | Always | Canonical video URL. |
watchUrl | string | Always | Canonical YouTube watch URL. |
duration | string | Always | Displayed duration. |
durationSeconds | integer | Always | Duration parsed from the displayed label. |
channelName | string | Always | Channel or artist name. |
channelId | string | Always | Channel identifier. |
channelUrl | string | Always | Channel URL. |
viewCountText | string | When published | Displayed video view count. |
viewCount | integer | When published | Parsed video view count. |
publishedTimeText | string | Always | Relative publication label. |
metadataLines | string array | Always | Metadata labels exposed by the card, such as channel, subscribers, and age. |
accessibilityText | string | When published | Accessibility label exposed by the card. |
thumbnails | object array | Always | Thumbnail objects with url, width, and height when exposed. |
thumbnailUrl | string | Always | Preferred video thumbnail URL. |
thumbnailCount | integer | Always | Number of retained video thumbnails. |
position | integer | Always | One-based playlist position in the collected order. |
playlistIndex | integer | Always | Source playlist index, zero-based. |
playlistIndexSource | string | Always | public-watch-endpoint-index or public-initial-data-order. |
listedInPublicPlaylist | boolean | Always | Always true for emitted rows. |
isLive | boolean | Always | Whether the card marks the video as live. |
continuationDetected | boolean | Always | Whether the page exposed a continuation marker. |
continuationCount | integer | Always | Number of continuation markers observed; they are not followed. |
initialItemsExposed | integer | Always | Video cards exposed in the initial page payload. |
requestedMaxItems | integer | Always | maxItems used for this playlist. |
languageCode | string | Always | Language context sent to the page. |
countryCode | string | Always | Country context sent to the page. |
sourceUrl | string | Always | Exact public playlist page URL requested. |
metadataEnriched | boolean | Always | Always true for emitted rows. |
metadataSource | string | Always | Always youtube-public-playlist-page. |
extractionMethod | string | Always | Embedded initial-data extraction method. |
sourceType | string | Always | Always youtube-playlist. |
source | string | Always | Always youtube-public-playlist-page. |
itemSource | string | Always | Renderer family that supplied the card. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
Real saved row
This is the complete first row from the 2026-10-25 run. The playlist's displayed total was 13, while the initial payload exposed 13 and the run retained 5. No viewCount, viewCountText, accessibilityText, or playlistDescription was present for this row.
{"recordType": "youtube_playlist_video","playlistId": "PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd","playlistUrl": "https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd","playlistTitle": "30","playlistOwnerName": "Adele","playlistOwnerId": "UCsRM0YB_dabtEPGPTKo-gcw","playlistOwnerUrl": "https://www.youtube.com/channel/UCsRM0YB_dabtEPGPTKo-gcw","playlistVideoCountText": "13 videos","playlistVideoCount": 13,"playlistViewCountText": "4,301,150 views","playlistViewCount": 4301150,"playlistLastUpdatedText": "Last updated on Nov 19, 2021","playlistThumbnailUrl": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBRSlz-uLYXKH9UrZySDEo7TEvxnw","playlistThumbnailCount": 4,"videoId": "EFIfRhk8NRc","title": "Adele - Strangers By Nature (Official Lyric Video)","url": "https://www.youtube.com/watch?v=EFIfRhk8NRc","watchUrl": "https://www.youtube.com/watch?v=EFIfRhk8NRc","duration": "3:03","durationSeconds": 183,"channelName": "Adele","channelId": "UCsRM0YB_dabtEPGPTKo-gcw","channelUrl": "https://www.youtube.com/channel/UCsRM0YB_dabtEPGPTKo-gcw","publishedTimeText": "4y ago","metadataLines": ["Adele","9.5M","4y ago"],"thumbnails": [{"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAvkMhcBx_b3Y_MDFo1uWseDhdX_Q","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCZW31YzGBjQbeuhXgCbY69tcKiag","width": 196,"height": 110},{"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLASp-FxfZUjMqeIFi3N56sZOIJoCw","width": 246,"height": 138},{"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCKU_f17RSHfdH8tu9HnR3CHAe0_A","width": 336,"height": 188}],"thumbnailUrl": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCKU_f17RSHfdH8tu9HnR3CHAe0_A","thumbnailCount": 4,"position": 1,"playlistIndex": 0,"playlistIndexSource": "public-watch-endpoint-index","listedInPublicPlaylist": true,"isLive": false,"continuationDetected": true,"continuationCount": 1,"initialItemsExposed": 13,"requestedMaxItems": 5,"languageCode": "en","countryCode": "US","sourceUrl": "https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd&hl=en&gl=US","metadataEnriched": true,"metadataSource": "youtube-public-playlist-page","extractionMethod": "youtube-public-playlist-page-embedded-initial-data","sourceType": "youtube-playlist","source": "youtube-public-playlist-page","itemSource": "ytInitialData.lockupViewModel","scrapedAt": "2026-10-25T20:51:36.279Z"}
Run summary
Run summary is stored separately from the dataset in the run key-value store under OUTPUT.
| Field | Meaning |
|---|---|
runType | Summary record discriminator. |
status | Actor outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether source-backed rows were saved. |
requestedPlaylistCount | Playlist URLs requested. |
playlistsWithItems | Playlists that produced at least one saved row. |
maxItems | Per-playlist video cap. |
pagesFetched | Public playlist pages fetched. |
itemCount | Rows saved to the dataset. |
diagnosticCount | Unique bounded diagnostics recorded; diagnostics are not dataset rows. |
failedCount | Failed page requests or extractions. |
blockedCount | Responses classified as blocked. |
continuationDetected | Whether any page exposed a continuation marker. |
continuationCount | Continuation markers observed; they are not followed. |
initialItemsExposed | Initial video cards exposed across processed playlists. |
proxyRequested | Whether proxy use or fallback was requested. |
proxyConfigured | Whether Apify Proxy was configured. |
includeDiagnostics | Whether bounded diagnostics were recorded. |
languageCode | Language context used. |
countryCode | Country context used. |
requestDelayMs | Pacing delay between playlist requests. |
requestTimeoutSecs | Per-request timeout. |
paginationMethod | Pagination method label. |
extractionMethod | Embedded-data extraction method. |
durationMs | Actor runtime in milliseconds. |
finishedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Eligible videos were saved without a later extraction problem. |
SUCCEEDED | PARTIAL | Some rows were saved, but a later playlist failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The run completed cleanly and returned no visible videos. |
FAILED | FAILED | A fatal error occurred before any usable row was saved. |
Example OUTPUT from the 2026-10-25 run:
{"runType": "youtube-public-playlist-run","status": "SUCCEEDED","runStatus": "SUCCEEDED","dataStatus": "COMPLETE","dataAvailable": true,"requestedPlaylistCount": 1,"playlistsWithItems": 1,"maxItems": 5,"pagesFetched": 1,"itemCount": 5,"diagnosticCount": 0,"failedCount": 0,"blockedCount": 0,"continuationDetected": true,"continuationCount": 1,"initialItemsExposed": 13,"proxyRequested": false,"proxyConfigured": false,"includeDiagnostics": true,"languageCode": "en","countryCode": "US","requestDelayMs": 0,"requestTimeoutSecs": 60,"paginationMethod": "public-playlist-page-initial-data","extractionMethod": "youtube-public-playlist-page-embedded-initial-data","durationMs": 721,"finishedAt": "2026-10-25T20:51:36.865Z"}
Coverage and limitations
The Actor reads each playlist URL once and parses the cards exposed in that public page payload. It does not follow continuation markers, so a playlist may show more videos than the Actor returns even when maxItems is high. maxItems is applied per playlist. continuationDetected and continuationCount tell you that more content was exposed but not retrieved.
The initial page may omit playlist descriptions, video view counts, accessibility text, owner details, or other modules for some playlists. Those fields are omitted rather than inferred. Playlist counts, view counts, and update labels are displayed values and can change after the run. playlistIndexSource records whether the index came from a public watch endpoint or from initial-data order.
The Actor uses a fixed ordinary browser user agent, public HTML, bounded retries, and optional proxy fallback. It does not sign in, use private APIs, solve CAPTCHAs, bypass access controls, or download media. Blocked, empty, or partial responses are recorded in OUTPUT and logs rather than written as dataset rows.
Usage and support
Cost depends on Apify compute, the number of playlist URLs, and optional proxy traffic. Start with one playlist and a small maxItems, inspect the dataset and OUTPUT, then add playlists or raise the cap. Requesting more videos than the initial page exposes will not make the Actor retrieve them. See the Actor's Pricing tab for current account rates.
Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by YouTube or Google. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.