Skip to main content
POST
/
api
/
discogs
/
marketplace
/
stats
/discogs/marketplace/stats
curl --request POST \
  --url https://api.anysite.io/api/discogs/marketplace/stats \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "release": "<string>",
  "timeout": 300,
  "curr_abbr": "USD"
}
'
[
  {
    "release_id": 123,
    "url": "<string>",
    "@type": "@discogs_marketplace_stats",
    "for_sale_count": 0,
    "lowest_price": {
      "@type": "@discogs_marketplace_price",
      "value": 123,
      "currency": "<string>"
    },
    "is_blocked_from_sale": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
release
string
required

Discogs release ID (e.g. '249504') or full release URL

Minimum string length: 1
Examples:

"249504"

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

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
curr_abbr
string | null

Currency for the lowest price (e.g. USD, EUR, GBP)

Example:

"USD"

Response

Successful Response

release_id
integer
required
url
string
required
@type
string
default:@discogs_marketplace_stats
for_sale_count
integer
default:0
lowest_price
DiscogsMarketplacePrice · object
is_blocked_from_sale
boolean
default:false