extractr docs
Spotify

Get artist profile

GET
/spotify/get_artist

Artist profile with genres, follower counts, monthly listeners and top tracks.

Costs 2 credits per request.

Authorization

ApiKeyAuth
X-API-Key<token>

API key created in the extractr dashboard (ext_live_...). Also accepted as Authorization: Bearer.

In: header

Query Parameters

id*string

Spotify artist ID.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/spotify/get_artist?id=4gzpq5DPGxSnKTe4SA8HAU"
{  "id": "string",  "name": "Glass Harbour",  "genres": [    "synthpop",    "indie rock"  ],  "followers": 1204512,  "monthly_listeners": 4871226,  "popularity": 0,  "verified": true,  "images": [    {      "url": "http://example.com",      "width": 0,      "height": 0    }  ],  "top_tracks": [    {      "id": "string",      "title": "string",      "plays": 0    }  ]}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}