YouTube Music Playlist Scraper
Pricing
from $2.99 / 1,000 playlists
YouTube Music Playlist Scraper
Search YouTube Music playlists or browse playlist URLs directly. Saves rich playlist and deduplicated track metadata through first-party YouTube Music endpoints.
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
2 days ago
Last modified
Categories
Features
Share
YouTube Music Public Playlist Snapshot Scraper
Collects rich records for public YouTube and YouTube Music playlists. The actor searches ordinary public result pages and fetches one initial public playlist-page snapshot for each selected playlist. It parses the page’s embedded ytInitialData; it does not call private YouTube services, replay opaque playlist continuation commands, or retrieve signed media URLs.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Set
searchQueriesor paste public playliststartUrls, then choosemaxItemsandmaxTracks. - Keep
maxItemsand the other limits small for the first run. - Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (
OUTPUT) to check the outcome and counts.
Input
All fields are optional, but supply at least one searchQueries entry, startUrls URL, or playlistUrls URL. 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 |
|---|---|---|---|---|
searchQueries | string array | Optional | Not supplied | Search terms used with YouTube's public playlist filter. up to 50 items. |
startUrls | string array | Optional | Not supplied | Public YouTube or YouTube Music playlist URLs. This is the preferred direct-URL field. up to 50 items. |
playlistUrls | string array | Optional | Not supplied | Backward-compatible alias for startUrls. up to 50 items. |
maxItems | integer | Optional | 20 | Maximum unique playlist records saved globally (1–100). 1–100. |
maxTracks | integer | Optional | 100 | Maximum deduplicated track records included from the initial public playlist page (1–100). 1–100. |
maxPages | integer | Optional | 3 | Bounded number of ordinary public search result pages per query (1–10). Playlist-page continuation is not replayed. 1–10. |
languageCode | string | Optional | en | Language context sent to public pages. |
countryCode | string | Optional | US | Two-letter country context sent to public pages. |
proxyConfiguration | object | Optional | {"useApifyProxy":false} | Optional account-authorized Apify Proxy or credential-free HTTP/SOCKS URLs. |
enableProxyFallback | boolean | Optional | true | After a direct public-page failure, try one ordinary configured Apify Proxy request. |
requestDelayMs | integer | Optional | 250 | Bounded pacing delay between public page requests. |
requestTimeoutSecs | integer | Optional | 60 | Timeout for each public page request. 15–180. |
maxRetries | integer | Optional | 1 | Bounded retries after a public page request fails. 0–3. |
Full default input:
{"maxItems": 20,"maxTracks": 100,"maxPages": 3,"languageCode": "en","countryCode": "US","proxyConfiguration": {"useApifyProxy": false},"enableProxyFallback": true,"requestDelayMs": 250,"requestTimeoutSecs": 60,"maxRetries": 1}
The values above are the schema defaults; add at least one searchQueries entry, startUrls URL, or playlistUrls URL before running. The Actor reads public data from YouTube. Optional proxyConfiguration uses the standard Apify Proxy settings.
Output
The dataset contains one row per saved result. The dataset schema declares views but no field properties, so the table documents the union of keys observed in the saved rows. Optional information appears only when the source publishes it; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Fixed discriminator: youtube_music_playlist. |
playlistId | string | Always | YouTube playlist identifier. |
playlistUrl | string | Always | Public YouTube playlist URL. |
canonicalUrl | string | Always | Canonical public playlist URL. |
title | string | Always | Playlist title visible on the public page. |
description | string | When published | Playlist description visible on the public page. |
descriptionLength | number | When published | Character count of the normalized description. |
channelName | string | Always | Playlist owner or channel display name. |
channelId | string | Always | YouTube channel identifier for the owner. |
channelUrl | string | Always | Public channel URL for the owner. |
videoCountText | string | When published | Playlist video-count label as displayed. |
videoCount | number | When published | Integer parsed from videoCountText. |
viewCountText | string | When published | Playlist view-count label as displayed; no numeric total is inferred. |
thumbnails | object array | Always | Playlist thumbnails with url, width, and height. |
thumbnailUrl | string | Always | Largest playlist thumbnail URL. |
thumbnailCount | number | Always | Number of distinct thumbnails retained. |
tracks | object array | Always | Tracks visible on the initial public playlist page, capped by maxTracks. |
trackCount | number | Always | Number of tracks retained in tracks. |
tracksCollected | number | Always | Number of tracks collected after de-duplication and the cap. |
reportedTrackCount | number | Always | Track total reported by the playlist page, which may exceed tracksCollected. |
reportedTrackCountText | string | Always | Reported track total as displayed. |
tracksReported | number | Always | Reported track total retained as a numeric value. |
source | string | Always | Input source type: search or startUrl. |
searchQuery | string | When published | Search query, for search-sourced rows only. |
sourceUrl | string | Always | Public search or playlist URL associated with the row. |
sourceRank | number | Always | One-based rank of the playlist within its source page. |
searchPage | number | Always | Public search page represented by the row. |
sourceTransport | string | Always | HTML transport: public-rendered-html or the Apify Proxy fallback variant. |
extractionMethod | string | Always | Parser path: youtube-public-page-embedded-initial-data. |
metadataSource | string | Always | Public detail source: youtube-public-playlist-page. |
metadataEnriched | boolean | Always | Whether the public playlist page was fetched and merged. |
playlistPageStatus | string | Always | Playlist-page outcome, such as available. |
initialTrackItemsExposed | number | Always | Track renderers exposed by the initial playlist page before the cap. |
requestedMaxItems | number | Always | Global playlist cap used for the run. |
requestedMaxTracks | number | Always | Per-playlist track cap used for the run. |
playlistSnapshotOnly | boolean | Always | Whether the row is based on a single initial playlist snapshot. |
playlistContinuationSupported | boolean | Always | Whether later playlist pages were requested; false for this Actor. |
snapshotStopReason | string | Always | Why collection stopped, such as max-tracks. |
continuationDetected | boolean | Always | Whether the page exposed continuation metadata. |
continuationCount | number | Always | Continuation markers observed; no continuation request is replayed. |
languageCode | string | Always | Language context used for public pages. |
countryCode | string | Always | Country context used for public pages. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
The example below is a real saved row from the 2026-10-25 run; long arrays or strings are shortened.
{"recordType": "youtube_music_playlist","playlistId": "PLp_G0HWfCo5p8aOw9DpTSHvciPCnzdKIP","playlistUrl": "https://www.youtube.com/playlist?list=PLp_G0HWfCo5p8aOw9DpTSHvciPCnzdKIP","canonicalUrl": "https://www.youtube.com/playlist?list=PLp_G0HWfCo5p8aOw9DpTSHvciPCnzdKIP","title": "Adele Songs Playlist. Adele Greatest Hits.","description": "Adele Songs Playlist. The Best of Adele Songs.","descriptionLength": 46,"channelName": "Greatest Hits","channelId": "UC7j6mGtqGkXLSYBCBirXBug","channelUrl": "https://www.youtube.com/channel/UC7j6mGtqGkXLSYBCBirXBug","videoCountText": "45 videos","videoCount": 45,"viewCountText": "1,254,288 views","thumbnails": [{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLARc3x9HIa7hjxX7wdDl1fIIgRfKg","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEWCMQBEG5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLCCvc-hvUD13B03Ol_s912pP8HUMw","width": 196,"height": 110},{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLCvf_PYWe8QQccPDIk8g1xHIy65iw","width": 246,"height": 138}],"thumbnailUrl": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBIoRclneT9jkp3y0V9f5zi-dhuVw","thumbnailCount": 4,"tracks": [{"videoId": "YQHsXMglC9A","title": "Adele - Hello (Official Music Video)","artists": [{"name": "Adele"}],"artist": "Adele","duration": "6:07","durationSeconds": 367,"publishedTimeText": "11y ago","thumbnails": [{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLA1F79kJnfwlmV1d0AnKHD4OdvQcw","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCeEZTsp3ZmtAUafxcH8MY6izBlCg","width": 196,"height": 110},{"url": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBqwcqimZ5FqaGinFtYljoHVTLhew","width": 246,"height": 138}],"thumbnailUrl": "https://i.ytimg.com/vi/YQHsXMglC9A/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBHIaAiwwKIoemqKx3F7AhSTKRjPg","thumbnailCount": 4},{"videoId": "U3ASj1L6_sY","title": "Adele - Easy On Me (Official Video)","artists": [{"name": "Adele"}],"artist": "Adele","duration": "5:32","durationSeconds": 332,"publishedTimeText": "5y ago","thumbnails": [{"url": "https://i.ytimg.com/vi/U3ASj1L6_sY/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBXB7P2YLQWDxoy15tJLvPOWkzCIA","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi/U3ASj1L6_sY/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAojAYZqvxxRYN9ikUDkzPpHsyrKQ","width": 196,"height": 110},{"url": "https://i.ytimg.com/vi/U3ASj1L6_sY/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCnBbwmwEQOj76_of8ETMaAN05nBA","width": 246,"height": 138}],"thumbnailUrl": "https://i.ytimg.com/vi/U3ASj1L6_sY/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAKkariTuOnYiHheeL31o5WVqQL0A","thumbnailCount": 4},{"videoId": "hLQl3WQQoQ0","title": "Adele - Someone Like You (Official Music Video)","artists": [{"name": "Adele"}],"artist": "Adele","duration": "4:45","durationSeconds": 285,"publishedTimeText": "15y ago","thumbnails": [{"url": "https://i.ytimg.com/vi/hLQl3WQQoQ0/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAcip5yLBIgLjYL6w2dK-Y93L3xgg","width": 168,"height": 94},{"url": "https://i.ytimg.com/vi/hLQl3WQQoQ0/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAICpAvBO303GDIAggWPdsdAqgXWw","width": 196,"height": 110},{"url": "https://i.ytimg.com/vi/hLQl3WQQoQ0/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA0pk1ZofbGULQCfE5VM2CUxp7ejw","width": 246,"height": 138}],"thumbnailUrl": "https://i.ytimg.com/vi/hLQl3WQQoQ0/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBQDfyMDNJ6-U7yAdW3PaO7ghHSZA","thumbnailCount": 4}],"trackCount": 5,"tracksCollected": 5,"reportedTrackCount": 45,"reportedTrackCountText": "45 videos","tracksReported": 45,"source": "search","searchQuery": "Adele playlists","sourceUrl": "https://www.youtube.com/results?search_query=Adele+playlists&sp=EgIQAw%3D%3D&hl=en&gl=US","sourceRank": 1,"searchPage": 1,"sourceTransport": "public-rendered-html","extractionMethod": "youtube-public-page-embedded-initial-data","metadataSource": "youtube-public-playlist-page","metadataEnriched": true,"playlistPageStatus": "available","initialTrackItemsExposed": 44,"requestedMaxItems": 1,"requestedMaxTracks": 5,"playlistSnapshotOnly": true,"playlistContinuationSupported": false,"snapshotStopReason": "max-tracks","continuationDetected": true,"continuationCount": 2,"languageCode": "en","countryCode": "US","scrapedAt": "2026-10-25T20:46:12.738Z"}
tracksentries containvideoId,title,artists,artist,duration,durationSeconds,publishedTimeText,thumbnails,thumbnailUrl,thumbnailCount,channelName,isLive,isUpcoming,videoUrl,youtubeMusicUrl,youtubeUrl,resultSource,sourceContext, andplaylistPosition, when exposed.thumbnailsentries containurl(string),width(integer), andheight(integer).
Run summary
Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.
| Field | Meaning |
|---|---|
runType | Fixed run discriminator: youtube-public-music-playlist-run. |
status | Actor process outcome: SUCCEEDED or FAILED. |
dataStatus | Completeness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether at least one playlist row was saved. |
sourceCount | Search queries plus direct playlist URLs supplied. |
sourcesWithItems | Sources that produced at least one playlist row. |
searchPagesFetched | Public search pages successfully fetched. |
playlistPagesFetched | Public playlist pages successfully fetched. |
pageAttempts | Total public page attempts, including retries and proxy fallback. |
playlistCount | Playlists saved. |
trackCount | Track rows retained across saved playlists. |
tracksCollected | Tracks collected across saved playlists. |
tracksReported | Track totals reported by the playlist pages, which may exceed what was collected. |
reportedPlaylistCount | Playlist total reported by the source. |
initialTrackItemsExposed | Track renderers exposed by initial playlist pages before caps. |
diagnosticCount | Bounded operational issues recorded in the summary. |
failedCount | Source requests or extractions that failed. |
blockedCount | Responses classified as public-access blocks. |
continuationDetected | Whether a fetched page exposed continuation metadata. |
continuationCount | Continuation markers observed; no continuation request is replayed. |
playlistSnapshotOnly | Whether rows come from a single initial playlist snapshot. |
playlistContinuationSupported | Whether later playlist pages were requested; false for this Actor. |
proxyRequested | Whether a proxy route was requested or supplied. |
proxyConfigured | Whether a proxy URL was successfully configured. |
includeDiagnostics | Whether diagnostic logging was enabled. |
maxItems | Global playlist cap used for the run, 1–100. |
maxTracks | Per-playlist track cap used for the run, 1–100. |
maxPages | Search-page bound per query, 1–10. |
maxRetries | Retry count used after a failed request, 0–3. |
requestDelayMs | Pacing delay used between requests, 0–5000 ms. |
requestTimeoutSecs | Per-request timeout, 15–180 seconds. |
languageCode | Language context used for public pages. |
countryCode | Country context used for public pages. |
paginationMethod | Page-request method recorded for the run. |
extractionMethod | Parser path used for embedded page data. |
durationMs | Elapsed run duration in milliseconds. |
finishedAt | Time the summary was written, in ISO UTC. |
runStatus | Canonical run status; matches status. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Eligible results were saved without an extraction problem. |
SUCCEEDED | PARTIAL | Some results were saved, but a later problem prevented a complete run. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The source completed cleanly and returned no matching results. |
FAILED | FAILED | A fatal error occurred before any usable result was saved. |
Example OUTPUT from the saved run:
{"runType": "youtube-public-music-playlist-run","status": "SUCCEEDED","dataStatus": "COMPLETE","dataAvailable": true,"sourceCount": 1,"sourcesWithItems": 1,"searchPagesFetched": 1,"playlistPagesFetched": 1,"pageAttempts": 2,"playlistCount": 1,"trackCount": 5,"tracksCollected": 5,"tracksReported": 45,"reportedPlaylistCount": 1,"initialTrackItemsExposed": 44,"diagnosticCount": 0,"failedCount": 0,"blockedCount": 0,"continuationDetected": true,"continuationCount": 14,"playlistSnapshotOnly": true,"playlistContinuationSupported": false,"proxyRequested": false,"proxyConfigured": false,"includeDiagnostics": true,"maxItems": 1,"maxTracks": 5,"maxPages": 1,"maxRetries": 1,"requestDelayMs": 0,"requestTimeoutSecs": 60,"languageCode": "en","countryCode": "US","paginationMethod": "bounded-search-pages-initial-playlist-snapshot","extractionMethod": "youtube-public-page-embedded-initial-data","durationMs": 1262,"finishedAt": "2026-10-25T20:46:12.888Z","runStatus": "SUCCEEDED"}
Coverage and limitations
The Actor accepts playlist searches (searchQueries) and direct playlist URLs (startUrls, or the playlistUrls alias). Direct URLs are the preferred deterministic path; search results use YouTube's public playlist filter and can be bounded by maxPages. maxItems caps unique playlists across all sources, and maxTracks caps the tracks retained from each initial playlist page.
The playlist page is read as a single public snapshot: playlistSnapshotOnly is true, playlistContinuationSupported is false, and continuationDetected/continuationCount report what the page offered without replaying a token. reportedTrackCount can be much larger than tracksCollected; snapshotStopReason explains why collection stopped. Nested tracks keep the fields the public renderer exposes, including videoId, title, artist, artists, duration, durationSeconds, publishedTimeText, and thumbnails. Signed media URLs are not requested or retained. Optional fields are omitted when the source does not publish them, and values are not inferred. Blocked, empty, or partial responses are reported in the run summary rather than written as data rows.
Usage and support
Cost is driven by the number of search pages, selected playlist pages, retries, pacing, proxy use, and the size of each nested initial track array. Start with small item and page limits, inspect the dataset and run summary, then scale gradually. 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 run summary; do not include tokens, cookies, or private data. The Actor is not affiliated with YouTube. 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.