# StableMusic – Get Top Tags for Artist

> StableMusic – Get Top Tags for 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-13).

Returns the top tags applied by Last.fm users to a specific artist, with pagination support.

## Facts

- Endpoint: POST https://stablemusic.dev/api/charts/top-tags
- 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-top-tags-for-artist-d2288d6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rf9sSr4GfBk1r877mTfRy

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

Example prompt: What are the top 20 Last.fm tags associated with Radiohead? Use autocorrect in case I've spelled it wrong.

## When to prefer this

Use this endpoint when you need to discover how the Last.fm community categorizes or describes an artist via user-applied tags (genres, moods, descriptors). Ideal for music recommendation workflows, genre classification, or enriching artist metadata. Prefer this over artist bio or similar-artists endpoints when you specifically want folksonomy/tag-based metadata.

## Known failure modes

- Artist name not found on Last.fm — returns empty tag list or error
- Misspelled artist name with autocorrect disabled — no results returned
- Limit exceeds maximum of 100 — validation error
- Page number out of range — empty result set
- Last.fm upstream service unavailable — propagated error response
- Payment not processed (x402) — request rejected before reaching Last.fm

## How this service works

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

## Output

A list of top tags that Last.fm users have applied to the specified artist, typically including tag name, tag count/weight, and a URL to the tag page on Last.fm. Supports pagination for retrieving additional tags beyond the first page.

## 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."
  },
  "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-top-tags-for-artist-d2288d6a/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)
