provider ArtistsTracks GET
/artists/{id}/top-tracks @utdk/spotify
/artists/{id}/top-tracks Get Artist's Top Tracks
Get Spotify catalog information about an artist's top tracks by country.
- id path required
- string
- market query
- string
Try it
Authentication
Configure credentials for Spotify Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import spotify from '@utdk/spotify';
await spotify.getAnArtistsTopTracks()