Skip to main content

Spotify

Base URL: https://drain.lat/api/v1/spotify
Search for artists on Spotify by name.
string
required
Artist name to search.
string
The search query used.
array
Response
Get a Spotify artist by their Spotify ID.
string
required
Spotify artist ID (e.g. 3TVXtAsR1Inumwj472S9r4 for Drake).
Response
Get an artist’s top 10 tracks.
string
required
Spotify artist ID.
string
Spotify artist ID.
array
Response
Search for tracks on Spotify.
string
required
Track name or search query.
string
The search query used.
array
Response
Search for albums on Spotify.
string
required
Album name or search query.
Response
Get an artist’s albums and singles.
string
required
Spotify artist ID.
Response
Get info for a single Spotify track.
string
required
Spotify track ID.
Response
Get a full album with tracklist.
string
required
Spotify album ID.
string
Album ID.
string
Album name.
string
Album type (album, single, compilation).
array
List of artists.
string
Release date.
number
Total track count.
string
Album cover URL.
string
Record label.
number
Popularity score (0-100).
array
Response