---
title: "Album cover art via Discogs"
method: GET
path: "/api/music/cover"
tags: ["Music"]
---

# Album cover art via Discogs

`GET /api/music/cover`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/music/cover`
- Auth: API key in header `X-PAYMENT`

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.

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `artist` string
- `title` string
- `q` string
- `id` string
- `kind` string

## Response `200`

Success

- object
  - `content_type` string
  - `bytes` number
  - `image_base64` string
  - `data_uri` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
