# Discogs Album Metadata Lookup

> Discogs Album Metadata Lookup is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Looks up canonical album metadata from the Discogs database by artist/title, free-text query, or Discogs ID, returning tracklist, genres, year, labels, cover art, and community stats.

## Facts

- Endpoint: GET https://api.webbersites.com/api/music/album
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/discogs-album-metadata-lookup-ed28f73b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GptZoAMKpwK0fFbfcXHMf

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 discogs-album-metadata-lookup-ed28f73b
```

Example prompt: Can you look up the album metadata for 'Kind of Blue' by Miles Davis from Discogs — I need the tracklist with durations, genres, release year, labels, and a cover art URL.

## When to prefer this

Use this endpoint when you need rich, canonical album metadata sourced from the Discogs community database — especially tracklists with durations, genre/style tags, label info, format details, and cover art. Prefer it over generic music search APIs when cataloging, building playlists, or needing community have/want/rating data. Best when you have artist + title or a known Discogs ID.

## Known failure modes

- Album not found in Discogs database — returns empty or error result
- Ambiguous search returns wrong album when artist/title are not specific enough
- Discogs ID not found or incorrect kind parameter yields no results
- Free-text query matches unintended release or compilation
- Rate limiting or upstream Discogs API unavailability causes timeout

## How this service works

Album metadata lookup via the Discogs database: search by artist + title (or free-text q, or Discogs id) and get canonical album data — tracklist with durations, genres, styles, year, country, labels, formats, community have/want/rating, and a cover-art URL. For music, playlist, and cataloging agents.

## Output

Returns canonical album data including title, artist(s), release year, country, labels, formats, genres, styles, a full tracklist with track durations, a cover art URL, and Discogs community statistics (have count, want count, average rating).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "description": "Free-text search alternative"
      },
      "id": {
       "type": "string",
       "description": "Direct Discogs id (with optional kind)"
      },
      "kind": {
       "type": "string",
       "description": "master (default) or release, for id lookups"
      },
      "title": {
       "type": "string",
       "description": "Album title (with artist)"
      },
      "artist": {
       "type": "string",
       "description": "Artist name (with title)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "year": {
       "type": "number"
      },
      "title": {
       "type": "string"
      },
      "artists": {
       "type": "array"
      },
      "cover_url": {
       "type": "string"
      },
      "tracklist": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 1997,
  "title": "OK Computer",
  "genres": [
   "Electronic",
   "Rock"
  ],
  "artists": [
   "Radiohead"
  ],
  "community": {
   "have": 120000,
   "want": 45000,
   "rating": 4.6
  },
  "tracklist": [
   {
    "title": "Airbag",
    "duration": "4:44",
    "position": "1"
   }
  ],
  "cover_endpoint": "/api/music/cover?id=32063&kind=master"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/discogs-album-metadata-lookup-ed28f73b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
