AgentAPIGate
Back to Catalog
GET /v1/music/spotify/artistPack: social·MCP Tool: music_spotify_artist

Spotify Artist Profile & Top Tracks

Retrieve Spotify artist metadata including followers, popularity score, verified badge, biography, top tracks, and discography albums.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Spotify artist URL (e.g. https://open.spotify.com/artist/3DiDSECUqqY1AuBP8qtaIa) or artist ID
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/music/spotify/artist" \
  --data-urlencode "url=https://open.spotify.com/artist/3DiDSECUqqY1AuBP8qtaIa" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-88% tokens
# Spotify Artist Profile & Top Tracks (`music.spotify.artist`)
**id**: 3DiDSECUqqY1AuBP8qtaIa · **name**: Alicia Keys · **followers**: 14234894 · **popularity**: 83 · **verified**: true

## top_tracks
- [1] artistName: JAŸ-Z, durationMs: 276920, id: 2igwFfvr1OAGX9SKDCPBwO, image: https://i.scdn.co/image/ab67616d00001e02fec1b815bb3c50a64a90fd10, name: Empire State Of Mind
- [2] artistName: Alicia Keys, durationMs: 228706, id: 3XVBdLihbNbxUwZosxcGuJ, image: https://i.scdn.co/image/ab67616d00001e0256ff19308ebeb48e2ba6094b, name: If I Ain't Got You
- [3] artistName: Alicia Keys, durationMs: 254523, id: 0mZ5GyrHG908lqrHaTw4hi, image: https://i.scdn.co/image/ab67616d00001e02b9ce268630bea28fbd453651, name: No One
- [4] artistName: Alicia Keys, durationMs: 282026, id: 4o4wEDRqotccDTXiQ7TORu, image: https://i.scdn.co/image/ab67616d00001e024b48a4de5f65fcf44f04663a, name: Un-thinkable (I'm Ready) (feat. Drake) - Remix
- [5] artistName: Alicia Keys, durationMs: 210200, id: 0KQx6HOpJueiSkztcS0r7D, image: https://i.scdn.co/image/ab67616d00001e026d684b553a40e4a11e1db96d, name: Fallin'
- [6] artistName: USHER, durationMs: 223440, id: 68vgtRHr7iZHpzGpon6Jlo, image: https://i.scdn.co/image/ab67616d00001e02365b3fb800c19f7ff72602da, name: My Boo
- [7] artistName: Alicia Keys, durationMs: 224920, id: 4esOae7i4rqTbAu9o5Pxco, image: https://i.scdn.co/image/ab67616d00001e0296d9ec747db8f8f15c78e4f6, name: Girl on Fire
- [8] artistName: Alicia Keys, durationMs: 249240, id: 4JOP8ELK6AaeySe7sKe996, image: https://i.scdn.co/image/ab67616d00001e02fe6a98e875958c7d7080584e, name: Un-thinkable (I'm Ready)
- [9] artistName: Alicia Keys, durationMs: 216480, id: 5sra5UY6sD658OabHL3QtI, image: https://i.scdn.co/image/ab67616d00001e02fe6a98e875958c7d7080584e, name: Empire State of Mind (Part II) Broken Down
- [10] artistName: Alicia Keys, durationMs: 366733, id: 6LGwYMXXgURfaequXipzHx, image: https://i.scdn.co/image/ab67616d00001e0256ff19308ebeb48e2ba6094b, name: You Don't Know My Name

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: music.spotify.artist · Method: GET
ParameterTypeReqSample / DefaultDescription
urlstringrequiredhttps://open.spotify.com/artist/3DiDSECUqqY1AuBP8qtaIaSpotify artist URL (e.g. https://open.spotify.com/artist/3DiDSECUqqY1AuBP8qtaIa) or artist ID
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0030 / call$0/mo · Balance never expires
Remote MCP Toolmusic_spotify_artistOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency4588 ms$0 billed on empty or 4xx/5xx
Token Economy4334t → 533t (-88%)Partner credit: paid_usd / x402

More music.spotify Sibling Endpoints

Frequently Asked Questions

How do I call Spotify Artist Profile & Top Tracks (music.spotify.artist) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/music/spotify/artist with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool music_spotify_artist on https://mcp.agentapigate.ai/mcp.

What does music.spotify.artist cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on music.spotify.artist?

Passing ?format=md transforms the response into normalized Markdown (~533 tokens vs ~4334 raw tokens, saving 88% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only social endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["music.spotify.artist"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.