# StableMusic Similar Tracks by Artist

> StableMusic Similar Tracks by Artist is a paid API for AI agents from stablemusic.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

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

## Facts

- Endpoint: POST https://stablemusic.dev/api/tracks/similar
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablemusic-similar-tracks-by-artist-cc480636
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tBbdPuFdoCzbGYAP0Jn58

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-similar-tracks-by-artist-cc480636 -d '<json body>'
```

Example prompt: Can you find me 10 tracks similar to Radiohead using StableMusic's Last.fm discovery?

## When to prefer this

Use this endpoint when you need track-level music recommendations similar to a specific artist, leveraging Last.fm's established similarity graph. Prefer this over generic music search endpoints when the user already knows an artist and wants sonically or stylistically related tracks. Best for music discovery flows, playlist generation, or recommendation engines.

## Known failure modes

- Artist not found on Last.fm — returns empty or error response
- Misspelled artist name with autocorrect disabled — no results returned
- Rate limit or payment failure — request rejected with payment-required error
- Invalid page or limit values outside allowed range — validation error
- Last.fm upstream unavailability — timeout or server error propagated

## 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 tracks (and their artists) that are similar to the given artist's music, sourced from Last.fm's similarity index. Optionally includes the raw upstream Last.fm response payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 100,
   "minimum": 1,
   "description": "Number of results to return. Defaults to 10, max 100."
  },
  "track": {
   "type": "string",
   "minLength": 1,
   "description": "Track name."
  },
  "artist": {
   "type": "string",
   "minLength": 1,
   "description": "Artist name."
  },
  "autocorrect": {
   "type": "boolean",
   "default": true,
   "description": "Ask Last.fm to correct misspelled artist/track 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-similar-tracks-by-artist-cc480636/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)
