Discogs API endpoint
Returns a Discogs master release: the version-agnostic grouping of a release across pressings/reissues (artists, tracklist, genres/styles, videos, images, marketplace stats).
/discogs/master/{id}Path parameters:
id (required) — Discogs master release id.Response includes artists[], tracklist[], videos[], images[], main_release_id, most_recent_release_id, num_for_sale, lowest_price, data_quality, uri, source_url.
| Field | Filled in, of 28 checked | Values in the sample |
|---|---|---|
| uri | 28 | youtube.com |
| title | 28 | “One More Time” and 27 other values |
| description | 28 | median 255 characters |
| duration | 26 | 105 to 407, median 228 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Discogs master release id | 26647 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/discogs/master/26647" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"id": 26647,
"title": "Discovery",
"year": 2001,
"genres": [
"Electronic"
],
"styles": [
"Disco",
"House",
"Electro",
"French House"
],
"artists": [
{
"id": 1289,
"name": "Daft Punk"
}
],
"main_release_id": 2879,
"most_recent_release_id": 37177023,
"num_for_sale": 852,
"lowest_price": 1.14,
"data_quality": "Correct",
"uri": "https://www.discogs.com/master/26647-Daft-Punk-Discovery",
"source_url": "https://api.discogs.com/masters/26647"
}
}Request schema
No body schema
Response schema
#/definitions/discogs.masterResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | discogs.MasterResponse | No | ||||
| data.artists | array | No | ArtistCredit record, 6 fields: anv, id, join, name, role, tracks. Described under Discogs Release API. | |||
| data.data_quality | string | No | ||||
| data.genres | array | No | Electronic | |||
| data.id | integer | No | 26647 | |||
| data.images | array | No | Image record, 5 fields: height, type, uri, uri150, width. Described under Discogs Artist API. | |||
| data.lowest_price | number | No | ||||
| data.main_release_id | integer | No | 2879 | |||
| data.most_recent_release_id | integer | No | ||||
| data.notes | string | No | ||||
| data.num_for_sale | integer | No | ||||
| data.source_url | string | No | ||||
| data.styles | array | No | House,Disco | |||
| data.title | string | No | Discovery | |||
| data.tracklist | array | No | Track record, 11 fields: duration, extra_artists, position, title, type. Described under Discogs Release API. | |||
| data.uri | string | No | ||||
| data.videos | array | No | Video record, 4 fields: description, duration, title, uri. Described under Discogs Release API. | |||
| data.year | integer | No | 2001 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/discogs/master/26647" \
-H "x-api-key: $CRAWLORA_API_KEY"