# 2s Music Artist Search

> 2s Music Artist Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Search for music artists by name or free-text query, returning MusicBrainz ground-truth metadata including MBID, type, country, and lifespan.

## Facts

- Endpoint: GET https://2s.io/api/music/artist
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-music-artist-search-8d33e843
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LXLH6k9ipsghwQNdOw0xp

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 2s-music-artist-search-8d33e843
```

Example prompt: Look up the MusicBrainz artist record for 'Radiohead' and give me their MBID, country, and the year they were formed — return up to 5 results.

## When to prefer this

Use this endpoint when you need ground-truth, structured artist metadata from MusicBrainz — especially when you need the canonical MBID for downstream music API calls, need to disambiguate similarly-named artists, or need factual data like country of origin, artist type, or formation/disbandment year. Prefer over general web search when structured, licensed music metadata is required.

## Known failure modes

- No results found if name is too obscure or misspelled — returns empty items array with total=0
- Invalid limit parameter (outside 1-25) returns a validation error
- Missing required name or query parameter returns an error
- Payment failure via x402 if insufficient USDC balance

## How this service works

Resolve a music artist from MusicBrainz (CC0). Pass a name (or free-text/Lucene query). Returns ranked artists with MusicBrainz ID (MBID), name, sort name, type (Person/Group), country, gender, life span (begin/end/ended), and disambiguation. Keyless, public-domain core data. Use to canonicalize an artist to its MBID.

## Output

Returns a paginated list of matching artist records from MusicBrainz, each with MBID, canonical name, sort name, artist type (Group/Person/etc.), country of origin, active status (ended), lifespan begin/end dates, disambiguation note, and a relevance score. Also includes source attribution (MusicBrainz URL and CC0 license info).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "name": {
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1
      },
      "query": {
       "type": "string",
       "description": "Free-text / Lucene query (overrides name)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-music-artist-search-8d33e843/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
