# StableMusic - Albums Info by Artist

> StableMusic - Albums 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 a list of albums for a given artist from Last.fm, with pagination support.

## Facts

- Endpoint: POST https://stablemusic.dev/api/albums/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-albums-info-by-artist-6634d6d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-0mcIOH0AjGGtJZVc3QBS

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-albums-info-by-artist-6634d6d9 -d '<json body>'
```

Example prompt: Can you pull up the list of albums by Radiohead from Last.fm — show me the first 20 results?

## When to prefer this

Use this endpoint when you need to enumerate or browse an artist's album catalog via Last.fm data, especially when pagination over large discographies is needed. Prefer this over general search endpoints when you already know the artist name and specifically want album-level information.

## Known failure modes

- Artist not found on Last.fm — empty or error response
- Misspelled artist name with autocorrect disabled — no results returned
- Page number out of range — empty results page
- Rate limit or payment failure — request rejected
- Invalid or missing artist field — validation error

## 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 albums associated with the given artist, including album titles and related metadata sourced from Last.fm. Optionally includes the raw upstream Last.fm API response payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "album": {
   "type": "string",
   "minLength": 1,
   "description": "Album name."
  },
  "artist": {
   "type": "string",
   "minLength": 1,
   "description": "Artist name."
  },
  "autocorrect": {
   "type": "boolean",
   "default": true,
   "description": "Ask Last.fm to correct misspelled artist/album 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-albums-info-by-artist-6634d6d9/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)
