Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Discogs is ending unauthenticated API use, and search already requires authentication, so this entry always sends the token.
- Rate limit: 60 requests per minute authenticated, as a moving 60-second window; X-Discogs-Ratelimit, -Used and -Remaining headers report it.
- Lists page with page and per_page (max 100); pagination.urls.next in the answer, or the Link header, gives the next page.
- Image URLs are only returned to authenticated requests.
Endpoints
Search the database
Get a release
Get a master release
List a master’s versions
Get an artist
List an artist’s releases
Get a label
List a label’s releases
Get a release’s marketplace stats
- lowest_price and num_for_sale are null when nothing is for sale or the release is blocked.
Get price suggestions for a release
- The token’s user must have filled out their seller settings; an empty object means no suggestions.