# Webbersites Music Cover Art Fetcher

> Webbersites Music Cover Art Fetcher 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-13).

Fetches album cover art from Discogs and returns it as a base64-encoded data URI with dimensions and content type, ready to embed or save.

## Facts

- Endpoint: GET https://api.webbersites.com/api/music/cover
- 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/webbersites-music-cover-art-fetcher-011898ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FjfccRlpQrDc_JBGsHgdC

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 webbersites-music-cover-art-fetcher-011898ca
```

Example prompt: Can you grab the album cover for 'Kind of Blue' by Miles Davis from Discogs and give it back to me as a data URI I can embed directly in a page?

## When to prefer this

Choose this endpoint when you need album cover art pre-encoded as a base64 data URI — ready to embed in HTML or save to disk — rather than a raw image URL. Pairs naturally with the /api/music/album endpoint for full metadata + artwork workflows. Prefer over scraping or generic image searches when you need reliable, structured Discogs-sourced artwork.

## Known failure modes

- Album not found on Discogs — returns an error or empty result
- Ambiguous query matches wrong release — returns unexpected cover art
- Discogs rate limiting or upstream API unavailability — returns 5xx or timeout
- Invalid or unknown Discogs ID — returns not-found error
- No cover art available for the matched release — returns empty or placeholder response

## How this service works

Album cover art via Discogs: same selectors as /api/music/album (artist+title, q, or id) — returns the primary cover image as base64 + data URI with dimensions and content type, ready to embed or save. Pairs with /api/music/album.

## Output

Returns a JSON object containing the primary cover image as a base64-encoded string, a ready-to-use data URI, the content type (e.g. image/jpeg), image dimensions (width and height), and the byte size of the image.

## 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"
      },
      "kind": {
       "type": "string",
       "description": "master (default) or release"
      },
      "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": {
      "bytes": {
       "type": "number"
      },
      "data_uri": {
       "type": "string"
      },
      "content_type": {
       "type": "string"
      },
      "image_base64": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 1997,
  "bytes": 240311,
  "title": "OK Computer",
  "width": 600,
  "height": 600,
  "data_uri": "data:image/jpeg;base64,…",
  "content_type": "image/jpeg",
  "image_base64": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webbersites-music-cover-art-fetcher-011898ca/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)
