Skip to content
Scrappa Get API key
Spotify API 1 credit/request

Spotify Related Artists

GET https://scrappa.co/api/spotify/artist/related

Get the artists Spotify considers similar to a given artist.

Spotify Related Artists 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/spotify/artist/related
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "related": [
        {
            "id": "3yDIp0kaq9EFKe07X1X2rz",
            "uri": "spotify:artist:3yDIp0kaq9EFKe07X1X2rz",
            "profile": {
                "name": "Nile Rodgers"
            },
            "visuals": {
                "avatarImage": {
                    "sources": [
                        {
                            "url": "https://i.scdn.co/image/ab6761610000e5ebede7b4f5a5316f0cf586ec7e",
                            "width": 640,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

Spotify artist id or full spotify:artist: URI.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

related artist_id search_parameters

Common related fields

id uri profile visuals
JSON Response
200 OK
{
    "related": [
        {
            "id": "3yDIp0kaq9EFKe07X1X2rz",
            "uri": "spotify:artist:3yDIp0kaq9EFKe07X1X2rz",
            "profile": {
                "name": "Nile Rodgers"
            },
            "visuals": {
                "avatarImage": {
                    "sources": [
                        {
                            "url": "https://i.scdn.co/image/ab6761610000e5ebede7b4f5a5316f0cf586ec7e",
                            "width": 640,
                            "height": 640
                        },
                        {
                            "url": "https://i.scdn.co/image/ab6761610000f178ede7b4f5a5316f0cf586ec7e",
                            "width": 160,
                            "height": 160
                        },
                        {
                            "url": "https://i.scdn.co/image/ab67616100005174ede7b4f5a5316f0cf586ec7e",
                            "width": 320,
                            "height": 320
                        }
                    ]
                }
            }
        },
        {
            "id": "1rAv1GhTQ2rmG94p9lU3rB",
            "uri": "spotify:artist:1rAv1GhTQ2rmG94p9lU3rB",
            "profile": {
                "name": "Julian Casablancas"
            },
            "visuals": {
                "avatarImage": {
                    "sources": [
                        {
                            "url": "https://i.scdn.co/image/ab6761610000e5eb97357a72fc531a2c2d3ee47a",
                            "width": 640,
                            "height": 640
                        },
                        {
                            "url": "https://i.scdn.co/image/ab6761610000f17897357a72fc531a2c2d3ee47a",
                            "width": 160,
                            "height": 160
                        },
                        {
                            "url": "https://i.scdn.co/image/ab6761610000517497357a72fc531a2c2d3ee47a",
                            "width": 320,
                            "height": 320
                        }
                    ]
                }
            }
        }
    ],
    "artist_id": "4tZwfgrHOc3mvqYlEYSvVi",
    "search_parameters": {
        "id": "4tZwfgrHOc3mvqYlEYSvVi",
        "engine": "spotify_artist_related"
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

No Spotify data exists for the requested id or chart key. Failed requests are never charged.

422

Validation Error

A required parameter is missing or invalid. See the errors object for the offending field.

503

Upstream Unavailable

Spotify could not be reached or returned an unusable response. This is a failed request and is never charged; it is safe to retry.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.