MyStats

Get Artist

Get information about an artist

Endpoint

GET https://api.stats.skylerx.ir/v1/artists/{artistId}

Input

The artistId has to be based on the the Spotify Artist Id. You can get this id using the SpotifyAPI or by using the Spotify Web Player.

{
  artistId: string;
}
PropTypeDefault
artistId
string
-

Output

Artist

PropTypeDefault
relatedTo
Array<{ artistId: string; relatedArtistId: string; matchScore: string; source: string }>
-
followerAmount
number
-
popularity
number
-
imageUrl
string
-
genres
string[]
-
name
string
-
artistId
string
-

Top Tracks

PropTypeDefault
artists
Array<{ artistId: string; name: string }>
-
popularity
number
-
track_id
string
-
album_id
string
-
cover_image
string
-
album_name
string
-
name
string
-

Top Albums

PropTypeDefault
artists
Array<{ id: string; name: string }>
-
total_tracks
number
-
release_date
string
-
cover_image
string
-
album_title
string
-

On this page