API Anything

Spotify APIunofficial

Public track, album, playlist, artist and podcast episode metadata from Spotify embed documents.

all live 5 operations, checked by the installs that call them.

Seeded by the maintainers.

Try it

Set up API Anything for your agents:

npx -y api-anything setup

Then ask your agent, which finds this site by itself, or call it from a shell:

api-anything pull spotify
api-anything call spotify getAlbum albumId=5Z9iiGl2FcIfa3BMiv6OIw

Operations

OperationMethodLoginWritesStatus
getAlbum(albumId) -> id, name, artists, tracks

Read public album and track metadata from the Spotify embed document

GET no no Live0 confirmations · success unknown; last worked unknown
getArtist(artistId) -> id, name, tracks

Read public artist metadata and top tracks from the Spotify embed document

GET no no Live0 confirmations · success unknown; last worked unknown
getEpisode(episodeId) -> id, title, show, durationMs, releaseDate, explicit, previewUrl

Read public podcast episode metadata from the Spotify embed document

GET no no Live0 confirmations · success unknown; last worked unknown
getPlaylist(playlistId) -> id, name, owner, description, tracks

Read public playlist metadata and tracks from the Spotify embed document

GET no no Live0 confirmations · success unknown; last worked unknown
getTrack(trackId) -> id, name, artists, durationMs, releaseDate, explicit, previewUrl

Read public track metadata from the Spotify embed document

GET no no Live0 confirmations · success unknown; last worked unknown

Notes

No account is needed. Supply the ID portion of a Spotify URL or URI, not the whole URL. Track album information and album release dates and labels are not available from these embed documents. Preview URLs may be absent. Album artist names are a display string; track durations are in milliseconds and track URIs contain their IDs. Album track lists can be truncated by the response size limit.

Playlist owners and track artists are display strings; descriptions may be absent. Playlist and artist track lists contain the embed's track objects, and long lists can be truncated by the response size limit. Artist tracks are the top tracks shown by the embed, not a full discography.

Episode durations are in milliseconds; the show is a display name. Episode descriptions were not present in the sampled embed documents, and preview URLs may be absent.

Search, show lookup, playback and account actions are not provided.

About these operations

Each operation is a request learned from Spotify's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.

← All shared sites