Find a release by UPC or EAN
get_release_by_upcFind the release behind a UPC, EAN, or GTIN barcode and get title, artist, label, date, formats, and digital UPC; returns 404 if no match.
Instructions
Find the release behind a UPC, EAN or GTIN barcode: title, artist, label, release date, the formats that carry the barcode (cd, vinyl, digital, ...) and its digital_upc. Accepts 8 to 14 digits; spaces and hyphens are ignored, and a 12-digit UPC-A finds the same release as its 13-digit EAN form with a leading zero. Only barcodes with title evidence on the release are matched, so a barcode reused across unrelated compilations does not return them. Returns an error with status 404 when no release carries the barcode. Use get_release with the returned id for the tracklist. To go the other way (album to UPC), use search_releases and read digital_upc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"upc": "<upc>"
},
"name": "get_release_by_upc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upc | Yes | The barcode: UPC-A, EAN-13 or GTIN-14, e.g. 724384960650 |