---
title: "Album metadata lookup via the Discogs database"
method: GET
path: "/api/music/album"
tags: ["Music"]
---

# Album metadata lookup via the Discogs database

`GET /api/music/album`

## Request

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

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.

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
  - `title` string
  - `artists` unknown[]
    - unknown
  - `year` number
  - `tracklist` unknown[]
    - unknown
  - `cover_url` 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)
