get_artist_top_tracks
Retrieve the top tracks for a specific artist by their Spotify ID, including track names, album, and popularity.
Instructions
Get top tracks for an artist
Arguments: artist_id (str): Spotify artist ID to get top tracks for market (str, optional): Market/country code for track availability (default: "US")
Returns: Dict[str, Any]: - success (bool): Whether the operation was successful - artist (Dict): Information about the artist: - id (str): Artist ID - name (str): Artist name - tracks (List[Dict]): List of track objects containing: - id (str): Spotify track ID - name (str): Track name - album (str): Album name - popularity (int): Track popularity score (0-100) - duration_ms (int): Track duration in milliseconds - spotify_url (str): Spotify track URL - message (str): Success message - error (str, optional): Error message if failed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artist_id | Yes | ||
| market | No | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |