Skip to main content
POST
/
api
/
discogs
/
masters
/discogs/masters
curl --request POST \
  --url https://api.anysite.io/api/discogs/masters \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "master": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "url": "<string>",
    "title": "<string>",
    "@type": "@discogs_master",
    "year": 123,
    "artists": [],
    "genres": [],
    "styles": [],
    "tracklist": [],
    "images": [],
    "videos": [],
    "data_quality": "<string>",
    "main_release_id": 123,
    "main_release_url": "<string>",
    "most_recent_release_id": 123,
    "most_recent_release_url": "<string>",
    "versions_url": "<string>",
    "for_sale_count": 0,
    "lowest_price": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
master
string
required

Discogs master ID (e.g. '96559') or full master URL

Minimum string length: 1
Examples:

"96559"

"https://www.discogs.com/master/96559-Rick-Astley-Never-Gonna-Give-You-Up"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
url
string
required
title
string
required
@type
string
default:@discogs_master
year
integer | null
artists
DiscogsReleaseArtist · object[]
genres
string[]
styles
string[]
tracklist
DiscogsTrack · object[]
images
DiscogsImage · object[]
videos
DiscogsVideo · object[]
data_quality
string | null
main_release_id
integer | null
main_release_url
string | null
most_recent_release_id
integer | null
most_recent_release_url
string | null
versions_url
string | null
for_sale_count
integer
default:0
lowest_price
number | null