# StableMusic Artist Top Tags

> StableMusic Artist Top Tags 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 the top tags applied to a specific artist on Last.fm, with optional pagination and autocorrect.

## Facts

- Endpoint: POST https://stablemusic.dev/api/artists/top-tags
- 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-artist-top-tags-3b642ded
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oEJPxemrjKl3WB7gx4mO3

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-artist-top-tags-3b642ded -d '<json body>'
```

Example prompt: What are the top Last.fm tags for Radiohead? Give me the top 20 tags and correct any spelling mistakes automatically.

## When to prefer this

Use this endpoint when you need to understand how an artist is categorized or described by Last.fm's user community via folksonomy tags, useful for genre discovery, music recommendation context, or enriching artist metadata. Prefer this over a general music search when you specifically need tag/genre classification for a known artist.

## Known failure modes

- Unknown or misspelled artist name returns empty results or error (autocorrect can mitigate misspellings)
- Limit out of range (1-100) returns validation error
- Page number exceeding available results returns empty list
- Last.fm upstream API unavailable causes request failure
- Missing required 'artist' field returns 400-level error

## How this service works

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

## Output

A ranked list of tags (e.g. genre labels, mood descriptors, era tags) that Last.fm users have applied to the specified artist, including tag names and counts, optionally with the raw Last.fm API 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": {
  "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-artist-top-tags-3b642ded/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)
