Spotify API
spotify.com
Spotify - artists, tracks, albums, playlists, and discographies.
- Actions
- 8
- Category
- Entertainment
- Login
- Not required
- Output
- JSON
Call the Spotify API
Submit a task, then poll the job until it settles. This example runs sp_album.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "sp_album",
"params": {
"album_id": "6a7nrbUhXwFEJQ1xWCbNnh"
}
}'8 actions on spotify.com
Read
Album Details
sp_albumread1 credit / callReturns album details and the full tracklist.
- album_id
- string · required
Artist Discography
sp_artist_discographyread1 credit / callReturns an artist's full discography including albums, singles, and compilations.
- artist_id
- string · required
Artist Overview
sp_artistread1 credit / callReturns an artist overview with profile, stats, top tracks, discography, and related artists.
- artist_id
- string · required
Catalog Search
sp_searchread1 credit / callReturns artists, tracks, albums, and playlists matching a search query.
- query
- string · required
- limit
- integer
- offset
- integer
Playlist Details
sp_playlistread1 credit / callReturns playlist details and tracks.
- playlist_id
- string · required
- limit
- integer
- offset
- integer
Related Artists
sp_related_artistsread1 credit / callReturns related and similar artists for a given artist.
- artist_id
- string · required
Track Details
sp_trackread1 credit / callReturns track details including title, artist, album, duration, and preview.
- track_id
- string · required
URL Metadata
sp_oembedread1 credit / callReturns quick metadata for any Spotify URL including title, thumbnail, and artist.
- url
- string · required
Spotify API questions
- Is there an API for Spotify?
- Spotify does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for spotify.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Spotify data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when spotify.com changes its markup, Anakin updates the action.
- Do I need a Spotify account?
- No. Every Spotify action listed here runs anonymously — no account and no credentials required.
- What does the Spotify API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Entertainment APIs
8notes UK
8notes - sheet music by instrument, score previews, lessons, and theory.
911Tabs
911Tabs - guitar tab search, popular tabs, artist listings, and tablature pages.
Allocine France
Allocine - French movie and series search, ratings, reviews, showtimes, and cast.
AllPoetry
AllPoetry - poems by theme, full poem pages, and poet profiles.
AMC Theatres
AMC Theatres - theatres by ZIP, showtimes, movie details, and ticket prices.
Anime Planet
Anime-Planet - anime and manga search, recommendations, ratings, and rankings.