Discogs API endpoint
Returns a Discogs artist profile: real name, bio, links, name variations, aliases, and group memberships.
/discogs/artist/{id}Path parameters:
id (required) — Discogs artist id.Response includes real_name, profile, urls[], name_variations[], aliases[], groups[], members[] (for group/band artists), images[], data_quality, uri, source_url.
| Field | In the sample | Value in the sample |
|---|---|---|
| id | Has a value | |
| name | Has a value | “Rick Astley” |
| real_name | Has a value | |
| profile | Has a value | 639 characters |
| urls | Has a value | 7 entries |
| name_variations | Has a value | 23 entries |
| aliases | Has a value | 1 entry |
| groups | Has a value | 3 entries |
| images | Has a value | 12 entries |
| data_quality | Has a value | “Needs Vote” |
| uri | Has a value | discogs.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Discogs artist id | 1289 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/discogs/artist/1289" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"id": 72872,
"name": "Rick Astley",
"real_name": "Richard Paul Astley",
"profile": "Rick Astley (b. February 6, 1966 in Newton-le-Willows, Lancashire, United Kingdom)...",
"urls": [
"http://www.rickastley.co.uk"
],
"name_variations": [
"Astley",
"R. Astley"
],
"aliases": [
{
"id": 1141583,
"name": "Dick Spatsley"
}
],
"groups": [
{
"id": 146979,
"name": "Band Aid II",
"active": true
}
],
"data_quality": "Needs Vote",
"uri": "https://www.discogs.com/artist/72872-Rick-Astley",
"source_url": "https://api.discogs.com/artists/72872"
}
}Request schema
No body schema
Response schema
#/definitions/discogs.artistResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | discogs.ArtistResponse | No | ||||
| data.aliases | array | No | Other artist names this artist is known under, each with its Discogs id. | |||
| data.aliases[].active | boolean | No | True when Discogs marks the related artist as currently active. Omitted when inactive or when Discogs gives no status. | |||
| data.aliases[].id | integer | No | Discogs artist id. Use it with the artist endpoint. | |||
| data.aliases[].name | string | No | Name of the artist as Discogs lists it. | |||
| data.data_quality | string | No | Discogs data quality rating of the profile, for example `Needs Vote`. | |||
| data.groups | array | No | Groups or bands the artist belongs to or has belonged to. | |||
| data.groups[].active | boolean | No | True when Discogs marks the related artist as currently active. Omitted when inactive or when Discogs gives no status. | |||
| data.groups[].id | integer | No | Discogs artist id. Use it with the artist endpoint. | |||
| data.groups[].name | string | No | Name of the artist as Discogs lists it. | |||
| data.id | integer | No | 1289 | Discogs artist id. | ||
| data.images | array | No | Photos of the artist. | |||
| data.images[].height | integer | No | Height of the image in pixels. | |||
| data.images[].type | string | No | primary | Kind of image, for example `primary`. | ||
| data.images[].uri | string | No | URL of the full-size image. | |||
| data.images[].uri150 | string | No | URL of a 150 pixel version of the image. | |||
| data.images[].width | integer | No | Width of the image in pixels. | |||
| data.members | array | No | Members of the artist, when the artist is a group or band. | |||
| data.members[].active | boolean | No | True when Discogs marks the related artist as currently active. Omitted when inactive or when Discogs gives no status. | |||
| data.members[].id | integer | No | Discogs artist id. Use it with the artist endpoint. | |||
| data.members[].name | string | No | Name of the artist as Discogs lists it. | |||
| data.name | string | No | Daft Punk | Artist name as Discogs lists it. | ||
| data.name_variations | array | No | Other spellings and variations of the artist name. | |||
| data.profile | string | No | Biography text from the artist's Discogs profile. | |||
| data.real_name | string | No | Real name of the artist, when Discogs lists one. | |||
| data.source_url | string | No | URL the data was read from. | |||
| data.uri | string | No | Link to the artist's page on Discogs. | |||
| data.urls | array | No | External web links listed on the artist's profile. | |||
| 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/artist/1289" \
-H "x-api-key: $CRAWLORA_API_KEY"