Skip to main content
POST
/
api
/
discogs
/
labels
/discogs/labels
curl --request POST \
  --url https://api.anysite.io/api/discogs/labels \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "label": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "name": "<string>",
    "url": "<string>",
    "@type": "@discogs_label",
    "description": "<string>",
    "contact_info": "<string>",
    "parent_label": {
      "@type": "@discogs_label_ref",
      "id": 123,
      "name": "<string>",
      "resource_url": "<string>"
    },
    "sublabels": [],
    "urls": [],
    "images": [],
    "image": "<string>",
    "releases_url": "<string>",
    "data_quality": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
label
string
required

Discogs label ID (e.g. '895') or full label URL

Minimum string length: 1
Examples:

"895"

"https://www.discogs.com/label/895-RCA"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
name
string
required
url
string
required
@type
string
default:@discogs_label
description
string | null
contact_info
string | null
parent_label
DiscogsLabelRef · object
sublabels
DiscogsLabelRef · object[]
urls
string[]
images
DiscogsImage · object[]
image
string | null
releases_url
string | null
data_quality
string | null