# 2s Music Release Search

> 2s Music Release 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 releases (albums, singles, EPs) by artist, album title, barcode, or free-text query, returning structured metadata from MusicBrainz.

## Facts

- Endpoint: GET https://2s.io/api/music/release
- 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-release-search-5414325d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_95NUm7MGEDTfycqpvLE7w

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-release-search-5414325d
```

Example prompt: Search for the album OK Computer by Radiohead and return its release date, label, catalog number, barcode, and track count — limit results to 5.

## When to prefer this

Use this endpoint when you need structured, ground-truth music release metadata — including release dates, labels, catalog numbers, barcodes, and track counts — especially when you need to look up by UPC/EAN barcode or want MusicBrainz-sourced canonical data. Prefer this over streaming service APIs when you need open, CC0-licensed discography data without authentication setup.

## Known failure modes

- No matching releases found — items array is empty and total is 0
- Query too vague returns unrelated releases with low score values
- Invalid limit parameter (outside 1–25) returns a validation error
- Payment not provided or insufficient USDC results in 402 response
- MusicBrainz upstream unavailability causes delayed or error response

## How this service works

Resolve an album/release from MusicBrainz (CC0). Pass a barcode (UPC/EAN), or artist + album, or a free-text query. Returns ranked releases with MusicBrainz ID (MBID), title, primary artist, release date, country, barcode, status, track count, label, and catalog number. Keyless, public-domain core data. Barcode → album is the differentiated lookup (resolve a physical product to its metadata).

## Output

Returns a JSON array of up to 25 release records, each with title, artist, release date, label, catalog number, barcode, country, track count, official status, and MusicBrainz ID (mbid), plus a relevance score. Also includes total result count and source attribution (MusicBrainz, CC0 license).

## 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": {
      "album": {
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1
      },
      "query": {
       "type": "string",
       "description": "Free-text / Lucene query (overrides the others)."
      },
      "artist": {
       "type": "string"
      },
      "barcode": {
       "type": "string",
       "description": "UPC/EAN barcode."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-music-release-search-5414325d/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)
