Skip to main content
GET
/
api
/
spotify
/
artist
cURL
curl --request GET \
  --url https://api.recoupable.com/api/spotify/artist/ \
  --header 'Authorization: Bearer <token>'
{
  "artist": {
    "external_urls": {
      "spotify": "<string>"
    },
    "followers": {
      "href": "<string>",
      "total": 123
    },
    "genres": [
      "<string>"
    ],
    "href": "<string>",
    "id": "<string>",
    "images": [
      {
        "url": "<string>",
        "height": 123,
        "width": 123
      }
    ],
    "name": "<string>",
    "popularity": 123,
    "type": "artist",
    "uri": "<string>"
  },
  "error": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The Spotify ID of the artist

Response

Artist retrieved successfully

artist
object

The Spotify artist object (null if error)

error
object

Error object if request failed (null if successful)