Spotify artist by id or URL — followers, genres
scrapecreators.x.v1-spotify-artistRetrieves detailed information about a Spotify artist by their handle, including name, followers count, genres, and related artists.
- Price
- $0.00188/callAt provider cost
- Success rate
- 98.6%Last 30 days · 4,185 calls
- Latency p50
- 2.8 sp95 9 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-artist?id=0cGUm45nv7Z6M6qdXYQGTXPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
id | string | Optional | Spotify artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. | 0cGUm45nv7Z6M6qdXYQGTX |
url | string | Optional | Spotify artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. | https://open.spotify.com/artist/0cGUm45nv7Z6M6qdXYQGTX |
- Query parameters
idstringOptionalSpotify artist id. If you'd prefer to use the URL instead, you can use the url parameter instead.
Example:
0cGUm45nv7Z6M6qdXYQGTXurlstringOptionalSpotify artist URL. If you'd prefer to use the id instead, you can use the id parameter instead.
Example:
https://open.spotify.com/artist/0cGUm45nv7Z6M6qdXYQGTX
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-artist?id=0cGUm45nv7Z6M6qdXYQGTX' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-artist?id=0cGUm45nv7Z6M6qdXYQGTX",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-artist?id=0cGUm45nv7Z6M6qdXYQGTX", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.