Spotify Music Scraper
Extract playlist tracks, artist profiles, album metadata, and popularity scores from Spotify open web player.
curl -X POST https://api.spider.cloud/scrape \
-H "Content-Type: application/json" \
-d '{"url": "https://open.spotify.com", "return_format": "markdown"}'Returns open.spotify.com as markdown, live. Get a key →
We have not stored a capture of open.spotify.com, so there is nothing real to show here yet. Run the call above and you get the live page back as markdown.
The same call, in code.
The keyless call above returns markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on open.spotify.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M");
await page.content(12000);
const data = await page.evaluate(`(() => {
const tracks = [];
document.querySelectorAll("[data-testid='tracklist-row']").forEach(el => {
const title = el.querySelector("[data-testid='internal-track-link'] div")?.textContent?.trim();
const artist = el.querySelector("[data-testid='tracklist-row__artist-name-link']")?.textContent?.trim();
const duration = el.querySelector("[data-testid='tracklist-row__duration']")?.textContent?.trim();
if (title) tracks.push({ title, artist, duration });
});
return JSON.stringify({ total: tracks.length, tracks: tracks.slice(0, 15) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
What open.spotify.com costs to scrape.
Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so most pages land at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
More Music & Podcasts scrapers.
Apple Music Scraper
Extract album tracklists, artist discographies, playlist contents, and editorial notes from Apple Music catalog.
Deezer Scraper
Extract music catalogs, playlist data, artist bios, and chart rankings from Deezer streaming platform.
Bandcamp Scraper
Extract independent music releases, artist pages, album pricing, and fan purchase data from Bandcamp platform.
Start scraping open.spotify.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.