Discogs artist

GET https://api.api.sh/discogs/v1/artist
1 credit / call e-commerce try it in the playground →

An artist: name, real name, profile text, name variations, aliases, group members or the groups the artist belongs to, and links.

Every response includes credits_used: the credits this call cost.

Part of the Discogs API: 13 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
idrequired string Artist id or a discogs.com/artist/<id> link. Example: 125246

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/discogs/v1/artist?id=125246" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"id": 125246,"name": "Nirvana","real_name": null,"profile": "Rock/grunge band from Aberdeen, Washington, USA, formed in 1987. Emerging from the Seattle grunge scene of the late 1980s/early 1990s, Nirva…","name_variations": ["Nervana","Nirvahna","… 4 more"],"aliases": [{"id": 11962655,"name": "Skid Row (6)","resource_url": "https://api.discogs.com/artists/11962655"},{"id": 11962658,"name": "Bliss (108)","resource_url": "https://api.discogs.com/artists/11962658"},"… 2 more"],"members": [{"id": 203017,"name": "Dave Grohl","resource_url": "https://api.discogs.com/artists/203017","active": true},{"id": 251654,"name": "Chad Channing","resource_url": "https://api.discogs.com/artists/251654","active": false},"… 8 more"],"groups": [],"urls": ["https://www.nirvana.com","https://www.facebook.com/Nirvana","… 5 more"],"data_quality": "Needs Vote","url": "https://www.discogs.com/artist/125246-Nirvana","cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.