# Spotify Related Artists

Get the artists Spotify considers similar to a given artist.

- **Documentation:** [https://scrappa.co/docs/spotify-api/spotify_artist_related](https://scrappa.co/docs/spotify-api/spotify_artist_related)
- **API group:** Spotify API
- **Endpoint:** `GET https://scrappa.co/api/spotify/artist/related`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | <p>Spotify artist id or full spotify:artist: URI.</p> |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 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. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
