Fast JSON API for Spotify - search, artists with monthly listeners, top cities and play counts, albums, tracks with credits, playlists, podcasts, audiobooks, user profiles, home feed, browse categories, charts and concerts.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns an album: name, type, artists, cover, release date, record label, copyrights, number of tracks and discs, its first 50 tracks with play counts and the other popular releases of its artist. Use the /album/tracks endpoint for the rest of the tracks.
Request schema
Spotify album id (e.g. "2noRn2Aes5aoNVsU6iWThc"), album link or URI.
Response schema
Returns the tracks of an album in order, with their id, name, artists, duration, play count, track and disc number, explicit flag and link. Page through the tracks with "offset".
Request schema
Spotify album id (e.g. "2noRn2Aes5aoNVsU6iWThc"), album link or URI.
Optional number of tracks to skip (defaults to 0); use "next_offset" of the previous page.
Optional number of tracks, from 1 to 300 (defaults to 50).
Response schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/spotify/v1/album/details" \
-d '{"album_id":"2noRn2Aes5aoNVsU6iWThc"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/spotify/v1/album/details \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Spotify.