# StableMusic Track Info by Artist

> StableMusic Track Info 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).

Retrieves track information and discography for a given artist from Last.fm via pay-per-request API

## Facts

- Endpoint: POST https://stablemusic.dev/api/tracks/info
- 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-track-info-by-artist-2acf9d77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_woPjXxJp9BzaDtSzAoOJ-

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-track-info-by-artist-2acf9d77 -d '<json body>'
```

Example prompt: Can you pull up the top 20 tracks for Radiohead from Last.fm? Make sure to autocorrect the artist name if I spelled it wrong.

## When to prefer this

Use this endpoint when you need to retrieve track listings or track metadata for a specific artist from Last.fm, especially in pay-per-use agentic workflows where you want on-demand music discovery without a subscription. Prefer this over direct Last.fm API calls when using the x402 micropayment protocol.

## Known failure modes

- Artist name not found on Last.fm even after autocorrect — returns empty or error response
- Invalid pagination parameters (page or limit out of range) — returns validation error
- Last.fm upstream service unavailable — propagated error from upstream
- Payment not fulfilled (x402 protocol) — request rejected before processing

## How this service works

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

## Output

A list of tracks associated with the specified artist, including track metadata such as track names and related Last.fm data. If include_raw is enabled, the full upstream Last.fm API response payload is also returned. Results are paginated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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-track-info-by-artist-2acf9d77/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)
