Screenshot Spotify with an API
Capture Spotify’s pages with one API call. No browser to run.

100 screenshots free · No credit card required
What makes Spotify hard to capture
Spotify renders without stealth mode, with a cookie banner and a JavaScript-heavy layout. blockCookieBanners clears the prompt and a short delay lets the page settle. Public pages capture cleanly; player content behind a login needs session cookies.
- Cookie banner
- Heavy JavaScript
- Login prompts
The request that works
curl -X POST https://api.allscreenshots.com/v1/screenshots \
-H "X-API-Key: $ALLSCREENSHOTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.spotify.com",
"blockCookieBanners": true,
"viewport": {
"width": 1440,
"height": 1000
},
"waitUntil": "networkidle",
"delay": 3000
}' \
--output screenshot.pngFAQ
Can you screenshot Spotify with an API?
Yes. Send a spotify.com URL to the Allscreenshots API and you get back a PNG of the rendered page — no browser to run.
How do I remove the Spotify cookie banner from a screenshot?
Set blockCookieBanners: true and the prompt is dismissed before capture, so it never appears in the image.
Can I screenshot the Spotify web player when logged in?
Public pages capture without an account. Player content behind a login needs authenticated session cookies, which you can pass with the request.
Do I need stealth mode for Spotify?
No. Spotify pages render with a standard capture, so stealth mode is not needed — and they count toward the 100 free screenshots on every plan.
Screenshot other sites
See all screenshot guides →Capture Spotify.
And everything else.
Start with 100 free screenshots every month. No credit card required.
Get started free