How to get Spotify artist
GET request to /v1/spotify/artist with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. Fetch Spotify artist — display name, bio, counts, and verification as structured JSON.How to get Spotify artist (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Spotify Artist API
Send an authenticated GET request to /v1/spotify/artist with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02%3Fsi%3DMq7OMKD4TLGuRgNctzV7oA" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "spotify",
"type": "artist",
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02",
"url": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02?si=Mq7OMKD4TLGuRgNctzV7oA",
"name": "Taylor Swift",
"description": "And, baby, that’s show business for you. New album The Life of a Showgirl. Available now ❤️🔥",
"followers": 161422754,
"monthlyListeners": 100897315,
"image": "https://i.scdn.co/image/ab6761610000e5ebe2e8e7ff002a4afda1c7147e",
"raw": {
"__typename": "Artist",
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02",
"name": "Taylor Swift",
"id": "06HL4z0CvFAxyc27GXpf02",
"stats": {
"followers": 161422754,
"monthlyListeners": 100897315,
"topCities": {
"items": [
{
"city": "London",
"country": "GB",
"numberOfListeners": 1614334,
"region": "ENG"
},
{
"city": "Quezon City",
"country": "PH",
"numberOfListeners": 1224227,
"region": "00"
},
{
"city": "São Paulo",
"country": "BR",
"numberOfListeners": 1113446,
"region": "SP"
},
{
"city": "Sydney",
"country": "AU",
"numberOfListeners": 1062106,
"region": "NSW"
},
{
"city": "Jakarta",
"country": "ID",
"numberOfListeners": 1027997,
"region": "JK"
}
]
},
"worldRank": 7
},
"sharingInfo": {
"shareId": "Mq7OMKD4TLGuRgNctzV7oA",
"shareUrl": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02?si=Mq7OMKD4TLGuRgNctzV7oA"
},
"profile": {
"biography": {
"text": "And, baby, that’s show business for you. New album The Life of a Showgirl. Available now ❤️🔥",
"type": "AUTOBIOGRAPHY"
},
"externalLinks": {
"items": [
{
"name": "FACEBOOK",
"url": "https://facebook.com/TaylorSwift"
},
{
"name": "INSTAGRAM",
"url": "https://instagram.com/taylorswift"
},
{
"name": "TWITTER",
"url": "https://twitter.com/taylorswift13"
}
]
},
"name": "Taylor Swift",
"pinnedItem": {
"comment": "From Toy Story 5 ",
"itemV2": {
"__typename": "AlbumResponseWrapper",
"data": {
"__typename": "Album",
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02a35a1d4983e2b4fd0094f910",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d00004851a35a1d4983e2b4fd0094f910",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b273a35a1d4983e2b4fd0094f910",
"width": 640
}
]
},
"name": "I Knew It, I Knew You (From \"Toy Story 5\")",
"type": "SINGLE",
"uri": "spotify:album:3ZLIShtR6Fjs4nTWFpBUB6"
}
},
"subtitle": "Single • New Release",
"thumbnailImage": {
"data": {
"sources": [
{
"url": "https://image-cdn-ak.spotifycdn.com/image/ab67616d000075a0a35a1d4983e2b4fd0094f910"
},
{
"url": "https://image-cdn-ak.spotifycdn.com/image/ab67616d000090d5a35a1d4983e2b4fd0094f910"
},
{
"url": "https://image-cdn-ak.spotifycdn.com/image/ab67616d0000ab87a35a1d4983e2b4fd0094f910"
}
]
}
},
"title": "I Knew It, I Knew You (From \"Toy Story 5\")",
"type": "ALBUM",
"uri": "spotify:album:3ZLIShtR6Fjs4nTWFpBUB6"
},
"playlistsV2": {
"items": [
{
"data": {
"__typename": "Playlist",
"images": {
"items": [
{
"sources": [
{
"url": "https://image-cdn-fa.spotifycdn.com/image/ab67706c0000da84dcef9bbc0ba7be550664fe13"
}
]
}
]
},
"name": "And, baby, that’s show business for you ❤️🔥",
"ownerV2": {
"data": {
"__typename": "User",
"name": "Taylor Swift"
}
},
"uri": "spotify:playlist:65uAjFTt4N8sEJeonhNOBL"
}
},
{
"data": {
"__typename": "Playlist",
"description": "Everything <a href=\"https://www.taylorswift.com/\">Taylor Swift</a> Right Here",
"images": {
"items": [
{
"sources": [
{
"url": "https://image-cdn-fa.spotifycdn.com/image/ab67706c0000da8450c3581c282b1b2871248e85"
}
]
}
]
},
"name": "Taylor Swift Complete Collection",
"ownerV2": {
"data": {
"__typename": "User",
"name": "Taylor Swift"
}
},
"uri": "spotify:playlist:4GtQVhGjAwcHFz82UKy3Ca"
}
},
{
"data": {
"__typename": "Playlist",
"description": "Songs From Lover Performed Live In Paris ",
"images": {
"items": [
{
"sources": [
{
"url": "https://image-cdn-fa.spotifycdn.com/image/ab67706c0000d72c8810d6b470de5a439b491000"
}
]
}
]
},
"name": "Live From Paris",
"ownerV2": {
"data": {
"__typename": "User",
"name": "Taylor Swift"
}
},
"uri": "spotify:playlist:1Ew1IbrHjmNedkANLw1jdr"
}
},
{
"data": {
"__typename": "Playlist",
"description": "The complete setlist from the Taylor Swift reputation Stadium Tour including special guests",
"images": {
"items": [
{
"sources": [
{
"url": "https://image-cdn-fa.spotifycdn.com/image/ab67706c0000d72cd17e192d4a08b8d87b6baa18"
}
]
}
]
},
"name": "rep Tour and Friends",
"ownerV2": {
"data": {
"__typename": "User",
"name": "Taylor Swift"
}
},
"uri": "spotify:playlist:074AoVXFnnlKmSpz28uqe0"
}
}
],
"totalCount": 4
}
},
"visuals": {
"avatarImage": {
"extractedColors": {
"colorRaw": {
"hex": "#50A080"
}
},
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761610000e5ebe2e8e7ff002a4afda1c7147e",
"width": 640
},
{
"height": 160,
"url": "https://i.scdn.co/image/ab6761610000f178e2e8e7ff002a4afda1c7147e",
"width": 160
},
{
"height": 320,
"url": "https://i.scdn.co/image/ab67616100005174e2e8e7ff002a4afda1c7147e",
"width": 320
}
]
},
"gallery": {
"items": [
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761670000ecd42bf054eaed60a69249718908",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761670000ecd464d14cdfef28e4d6f1662b92",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761670000ecd4cfb500c2d2059c6cf61f507c",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761670000ecd409089d68fc0ca6159308501f",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761670000ecd4e2ce92c3e52e64888165b515",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/c58123a1be80feff0618700a1513b935bb533534",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/53352eaa695ba3f9bdcb85f854db74647dbf13d5",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ff4274a6ba4a992bf6559b8a1c2ed89a88520277",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/0d210fdaebb1898d91d7fe4ee3d94e96474695aa",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/41b04a780de285bb7ddcb5762034a27f18f7ec14",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/bf8710e22941026e0236ae06342dd0fa124ce5a9",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/9c833978203ca62ea13202e9d729b1a574e16f4b",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/c2d1c283624213760bc32ec8adce1fe144ae5b1a",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/e2789900977e1eadc0d39430c0be8ccc3423eecb",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/5dc490f10f4bad0c71fa9d873b9aca79ade3607a",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/074730a7c319fcb3f4fd6bda7bbc5c7c5cb4e04a",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/b5c6fec7aaea0e70715e86b6aefe1d21330425e7",
"width": 640
}
]
},
{
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/1188cc78e9174abaa112c1bc436a94b3000b9f0d",
"width": 640
}
]
}
]
}
}
}
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Spotify URL, URI, or ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Spotify Artist API do?
The Spotify Artist API lets you fetch profile or page details and audience stats from a public Spotify profile or page using one GET request to /v1/spotify/artist. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Spotify Artist API cost?
Each successful call costs 2 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Spotify API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Spotify Artist API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to get Spotify artist?
Start free with 100 credits — no credit card required.
Get your free API key