# StableMusic – Get Similar Artists

> StableMusic – Get Similar Artists is a paid API for AI agents from stablemusic.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns a list of artists similar to a given artist, powered by Last.fm data, via pay-per-request API.

## Facts

- Endpoint: POST https://stablemusic.dev/api/artists/similar
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablemusic-get-similar-artists-936c1362
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kV6tV0ljxI2jE0CtfKy_9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablemusic-get-similar-artists-936c1362 -d '<json body>'
```

Example prompt: Using StableMusic, find me 10 artists similar to Radiohead — and make sure to autocorrect the name if I've spelled it wrong.

## When to prefer this

Use this endpoint when you need artist similarity data sourced from Last.fm's extensive listening graph, particularly for music recommendation features, playlist generation, or music discovery workflows. Prefer this over building your own Last.fm integration when you want pay-per-use pricing without API key management.

## Known failure modes

- Artist not found on Last.fm — returns empty or error response
- Misspelled artist name with autocorrect disabled — may return no results
- Invalid pagination parameters (page or limit out of range) — returns 400 validation error
- Payment not processed (x402 protocol failure) — request rejected before reaching Last.fm
- Last.fm upstream outage — service unavailable or degraded response

## How this service works

Pay-per-request Last.fm music discovery for tags, tracks, artists, albums, charts, and country charts.

## Output

A paginated list of artists similar to the queried artist, including similarity scores, artist names, and optionally the raw Last.fm upstream response payload.

## Example request

```json
{
 "page": 1,
 "limit": 10,
 "artist": "The Beatles",
 "autocorrect": true,
 "include_raw": false
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "page": {
   "type": "integer",
   "default": 1,
   "maximum": 9007199254740991,
   "minimum": 1,
   "description": "Last.fm page number. Defaults to 1."
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 100,
   "minimum": 1,
   "description": "Number of results to return. Defaults to 10, max 100."
  },
  "artist": {
   "type": "string",
   "minLength": 1,
   "description": "Artist name."
  },
  "autocorrect": {
   "type": "boolean",
   "default": true,
   "description": "Ask Last.fm to correct misspelled artist names."
  },
  "include_raw": {
   "type": "boolean",
   "default": false,
   "description": "Include the upstream Last.fm response payload."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablemusic-get-similar-artists-936c1362/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablemusic.dev](https://www.zero.xyz/host/stablemusic.dev/llms.txt)
