![YouTube Music Song Scraper π΅ avatar](https://images.apifyusercontent.com/NPKEjFUCRBNcOk6X2r__dnmAWVUjZneSFlI5otpI7qY/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vdkVMYzlxVFRpNFBGcU50RlUtYWN0b3ItQWZzOW41TkRobXdneUFVangtR1Y4RHl1VGFudi15b3V0dWJlLW11c2ljLWxvZ28ucG5n.webp)
YouTube Music Song Scraper π΅
2 hours trial then $19.99/month - No credit card required now
![YouTube Music Song Scraper π΅](https://images.apifyusercontent.com/NPKEjFUCRBNcOk6X2r__dnmAWVUjZneSFlI5otpI7qY/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vdkVMYzlxVFRpNFBGcU50RlUtYWN0b3ItQWZzOW41TkRobXdneUFVangtR1Y4RHl1VGFudi15b3V0dWJlLW11c2ljLWxvZ28ucG5n.webp)
YouTube Music Song Scraper π΅
2 hours trial then $19.99/month - No credit card required now
Scrape song details from YouTube Music search results, including title, artist, album info, duration, play counts, and more. Perfect for music data analysis and tracking.
Scrape detailed song information from YouTube Music search results. This actor helps you gather comprehensive music data including song titles, artists, albums, play counts, and more.
Features β¨
- π Search for songs using keywords
- π Get detailed song metadata
- π¨ Multiple thumbnail sizes
- π Complete URLs for songs, artists, and albums
- β±οΈ Duration and play count information
- π Timestamp for when data was scraped
Use Cases π‘
- Music trend analysis
- Artist popularity tracking
- Playlist creation and management
- Music catalog building
- Research and data analysis
Output π
The actor provides detailed information for each song, including:
- Song title and video ID
- Artist name and channel ID
- Album name and ID
- Thumbnail images in different sizes
- Song duration
- Play count statistics
- Complete URLs for all entities
- Timestamp of data collection
Input Parameters ποΈ
Parameter | Type | Description |
---|---|---|
keywords | Array | List of search terms to scrape songs for |
maxItems | Integer | Maximum number of songs to scrape per keyword |
Tips π‘
- Use specific keywords for more targeted results
- Adjust
maxItems
based on your data needs - Consider rate limiting for large-scale scraping
Limitations β οΈ
- Results depend on YouTube Music's search algorithm
- Some songs might have incomplete data
- Play counts are approximate values
Need help or have questions? Feel free to reach out through Apify's platform!
Input Example
A full explanation of an input example in JSON.
1{ 2 "keywords": [ 3 "u2" 4 ], 5 "maxItems": 100 6}
Output sample
The results will be wrapped into a dataset which you can always find in theΒ StorageΒ tab. Here's an excerpt from the data you'd get if you apply the input parameters above:
And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.
1[ 2 { 3 "keyword": "u2", 4 "data": { 5 "title": "With Or Without You", 6 "videoId": "oNvWDP_GkiY", 7 "thumbnails": [ 8 { 9 "url": "https://lh3.googleusercontent.com/wJlCrdtCtp9vkjWNFurUqhxrppYKGcDcN0ZpwP0CC3z-dhtjw1yMQkFszwe4SZTMiukr7YSvWZ6Sh9Ec=w60-h60-l90-rj", 10 "width": 60, 11 "height": 60 12 }, 13 { 14 "url": "https://lh3.googleusercontent.com/wJlCrdtCtp9vkjWNFurUqhxrppYKGcDcN0ZpwP0CC3z-dhtjw1yMQkFszwe4SZTMiukr7YSvWZ6Sh9Ec=w120-h120-l90-rj", 15 "width": 120, 16 "height": 120 17 } 18 ], 19 "artist": { 20 "name": "U2", 21 "id": "UCqIQRxCUGi7hyJisyzv9zYQ", 22 "url": "https://music.youtube.com/channel/UCqIQRxCUGi7hyJisyzv9zYQ" 23 }, 24 "album": { 25 "name": "The Joshua Tree (Super Deluxe)", 26 "id": "MPREb_Q8UrZ760tV6", 27 "url": "https://music.youtube.com/browse/MPREb_Q8UrZ760tV6" 28 }, 29 "duration": "4:56", 30 "plays": "487M plays", 31 "url": "https://music.youtube.com/watch?v=oNvWDP_GkiY" 32 }, 33 "scrapedAt": "2025-02-09T12:17:04.580Z" 34 }, 35 ... 36]
Actor Metrics
1 monthly user
-
0 No stars yet
>99% runs succeeded
Created in Feb 2025
Modified 3 days ago