Get release

Read one release: tracklist, formats, labels, and how many copies are for sale.

GET https://cotlet.dev/api/v1/discogs/releases/{release_id}

read

Returns the tracklist, formats, label and catalog number, plus the number of copies for sale and the lowest price. Use it to confirm the pressing before you add it to a collection or wantlist.

Parameters

Parameters: get_release
NameTypeDescription
release_id integer required integer Release ID from search_releases. The number in discogs.com/release/{id}.

Request

cURL
curl https://cotlet.dev/api/v1/discogs/releases/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("discogs", "get_release", {"release_id":1})
Node.js
const result = await cotlet.call('discogs', 'get_release', {"release_id":1});
CLI
cotlet call discogs get_release --data '{"release_id":1}'

Example response

JSON

{
  "release_id": 4417820,
  "title": "Night Drive / Blue Room",
  "artist": "The Sample Quartet",
  "year": 1998,
  "labels": [
    {
      "name": "Example Records",
      "catalog_number": "EX-001"
    }
  ],
  "tracklist": [
    {
      "position": "A",
      "title": "Night Drive"
    },
    {
      "position": "B",
      "title": "Blue Room"
    }
  ],
  "num_for_sale": 6,
  "lowest_price": 12
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.