Spotify Songs Scraper avatar

Spotify Songs Scraper

Try for free

2 hours trial then $19.99/month - No credit card required now

Go to Store
Spotify Songs Scraper

Spotify Songs Scraper

easyapi/spotify-songs-scraper
Try for free

2 hours trial then $19.99/month - No credit card required now

Scrape Spotify tracks data by keywords. Extract comprehensive track information including artist details, album info, cover art, duration, and more. Perfect for music data analysis and playlist generation.

Spotify Songs Scraper 🎵

🎯 Features

  • Search and scrape Spotify tracks by keywords
  • Extract detailed track information including:
    • Track name and ID
    • Artist details
    • Album information
    • Cover art in multiple resolutions
    • Track duration
    • Content rating
    • Playability status
    • URI and other metadata

📊 Output Dataset Structure

Each record in the output dataset contains comprehensive track information:

  • __typename: Type of the record
  • albumOfTrack: Detailed album information including:
    • Cover art with various resolutions
    • Album ID, name, and URI
    • Extracted color information
  • artists: List of artists with their profiles
  • associations: Related content information
  • contentRating: Content rating label
  • duration: Track duration in milliseconds
  • id: Unique track identifier
  • name: Track name
  • playability: Track availability status
  • uri: Spotify URI
  • keyword: The search keyword used to find this track

💡 Use Cases

  • Music catalog analysis
  • Playlist generation
  • Music trend research
  • Content aggregation
  • Music recommendation systems
  • Market research

🔧 Input Parameters

  • keywords: Array of search terms to find tracks
  • maxItems: Maximum number of tracks to scrape

Input Example

A full explanation of an input example in JSON.

1{
2    "keywords": ["punk"],
3    "maxItems": 100
4}

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		"__typename": "Track",
4		"albumOfTrack": {
5			"coverArt": {
6				"extractedColors": {
7					"colorDark": {
8						"hex": "#535353",
9						"isFallback": true
10					}
11				},
12				"sources": [
13					{
14						"height": 300,
15						"url": "https://i.scdn.co/image/ab67616d00001e026dfdabd8d791c3fc94baf463",
16						"width": 300
17					},
18					{
19						"height": 64,
20						"url": "https://i.scdn.co/image/ab67616d000048516dfdabd8d791c3fc94baf463",
21						"width": 64
22					},
23					{
24						"height": 640,
25						"url": "https://i.scdn.co/image/ab67616d0000b2736dfdabd8d791c3fc94baf463",
26						"width": 640
27					}
28				]
29			},
30			"id": "5L1RkN1nh5m18ZuXCktUbc",
31			"name": "PUNK TACTICS",
32			"uri": "spotify:album:5L1RkN1nh5m18ZuXCktUbc"
33		},
34		"artists": {
35			"items": [
36				{
37					"profile": {
38						"name": "Joey Valence & Brae"
39					},
40					"uri": "spotify:artist:1q4618qKswelCGLoanFKQh"
41				}
42			]
43		},
44		"associations": {
45			"associatedVideos": {
46				"totalCount": 1
47			}
48		},
49		"contentRating": {
50			"label": "NONE"
51		},
52		"duration": {
53			"totalMilliseconds": 143609
54		},
55		"id": "2jQ1P0aGT4WkNyJCeoQnb9",
56		"name": "PUNK TACTICS",
57		"playability": {
58			"playable": true,
59			"reason": "PLAYABLE"
60		},
61		"uri": "spotify:track:2jQ1P0aGT4WkNyJCeoQnb9",
62		"keyword": "punk"
63	},
64	{
65		"__typename": "Track",
66		"albumOfTrack": {
67			"coverArt": {
68				"extractedColors": {
69					"colorDark": {
70						"hex": "#701028",
71						"isFallback": false
72					}
73				},
74				"sources": [
75					{
76						"height": 300,
77						"url": "https://i.scdn.co/image/ab67616d00001e0270a92ddbe10010f1c2f95da1",
78						"width": 300
79					},
80					{
81						"height": 64,
82						"url": "https://i.scdn.co/image/ab67616d0000485170a92ddbe10010f1c2f95da1",
83						"width": 64
84					},
85					{
86						"height": 640,
87						"url": "https://i.scdn.co/image/ab67616d0000b27370a92ddbe10010f1c2f95da1",
88						"width": 640
89					}
90				]
91			},
92			"id": "1aYcfMrpGIuPNZhDWMJcnV",
93			"name": "Dutty Rock (20th Anniversary)",
94			"uri": "spotify:album:1aYcfMrpGIuPNZhDWMJcnV"
95		},
96		"artists": {
97			"items": [
98				{
99					"profile": {
100						"name": "Sean Paul"
101					},
102					"uri": "spotify:artist:3Isy6kedDrgPYoTS1dazA9"
103				}
104			]
105		},
106		"associations": {
107			"associatedVideos": {
108				"totalCount": 0
109			}
110		},
111		"contentRating": {
112			"label": "NONE"
113		},
114		"duration": {
115			"totalMilliseconds": 215266
116		},
117		"id": "2haxvmy6n8quJtJRuORGBh",
118		"name": "Punkie - Español Version",
119		"playability": {
120			"playable": true,
121			"reason": "PLAYABLE"
122		},
123		"uri": "spotify:track:2haxvmy6n8quJtJRuORGBh",
124		"keyword": "punk"
125	},
126    ...
127]
Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Oct 2024

  • Modified 2 months ago