Discogs API
Structured access to the world's largest music database and marketplace — artist profiles, release details, pressing variants, label catalogs, and real-time marketplace pricing via a single REST API.
Discogs Data Without the Credential Overhead
Discogs has catalogued over 16 million releases since 2000 — every vinyl pressing, CD edition, cassette, and digital release, cross-referenced by artist, label, country, and year. Its API requires OAuth registration, per-request user-agent strings, and OAuth token management even for public read operations. Anysite wraps the entire Discogs catalog behind a single authenticated endpoint family: one access-token header, no Discogs account, no OAuth flow. All 9 endpoints — from full artist discographies to real-time marketplace pricing — respond to the same POST-plus-JSON pattern as every other Anysite source.
All Discogs Endpoints
| Endpoint | What It Returns |
|---|---|
/api/discogs/artists | Artist or group profile — name, biography, images, aliases, members, group affiliations, and official links |
/api/discogs/artists/releases | Full artist discography — every release and master listed under the artist's name, sortable by year or format |
/api/discogs/labels | Record label profile — description, contact info, parent label, sublabels, and official URLs |
/api/discogs/labels/releases | Label release catalog — all releases on the label with artist, catalog number, format, and year |
/api/discogs/marketplace/stats | Real-time marketplace data — how many copies of a release are for sale and the current lowest price |
/api/discogs/masters | Master release record — the canonical entry grouping all pressings of a recording, with tracklist, artists, genres, and styles |
/api/discogs/masters/versions | All pressing variants of a master — by country, label, format, and year; sorted and paginated |
/api/discogs/releases | Specific release details — tracklist, formats, identifiers (barcode, matrix), community have/want counts, lowest price |
/api/discogs/search | Full-text search across the Discogs database — filter by type, artist, label, genre, style, country, format, and year |
What You Can Build
Record Collection Management Tools
Build apps that let users search their collection by artist, label, or format. Use /discogs/search to resolve a record name to its Discogs ID, then /discogs/releases for the full pressing details — tracklist, matrix numbers, and community condition counts.
Vinyl Pricing & Valuation
Pull real-time marketplace data for any release via /discogs/marketplace/stats — for-sale count and lowest current price in any currency. Combine with /discogs/masters/versions to compare pricing across all pressings of the same master recording.
Artist & Label Research
Fetch a complete artist discography with /discogs/artists/releases, or pull every release on a label via /discogs/labels/releases. Useful for music journalism, catalog licensing research, or building recommendation engines grounded in release history.
Music Database Enrichment
Enrich existing datasets with Discogs metadata — genres, styles, country of origin, and pressing details from /discogs/releases. The community have/want counts serve as a proxy for collector demand when building popularity signals.
Common Workflows
# Step 1 — search for a release by title and artist
curl -s -X POST https://anysite.io/api/discogs/search -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"q": "Kind of Blue", "artist": "Miles Davis", "type": "master", "count": 3}'
# Response: [{ "id": 9059, "type": "master", "title": "Miles Davis - Kind Of Blue", "year": "1959", ... }]
# Step 2 — fetch full master details using the master id
curl -s -X POST https://anysite.io/api/discogs/masters -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"master": "9059"}'
# List all pressing variants of a master — sorted by year, oldest first
curl -s -X POST https://anysite.io/api/discogs/masters/versions -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"master": "9059", "count": 20, "sort": "released", "sort_order": "asc"}'
# Returns each pressing: id, title, label, country, format, catno, released, image
# Fetch marketplace stats for a specific pressing (release id from above)
curl -s -X POST https://anysite.io/api/discogs/marketplace/stats -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"release": "1234567", "curr_abbr": "USD"}'
# Returns: { "for_sale_count": 42, "lowest_price": { "value": 18.50, "currency": "USD" } }
# Fetch artist profile by Discogs artist ID
curl -s -X POST https://anysite.io/api/discogs/artists -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"artist": "72872"}'
# Returns: name, realname, biography, images, aliases, groups, namevariations, urls
# Fetch their full discography — main releases sorted newest first
curl -s -X POST https://anysite.io/api/discogs/artists/releases -H "access-token: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"artist": "72872", "count": 50, "sort": "year", "sort_order": "desc"}'
Plans
Every endpoint is included in all Anysite plans — there's no per-endpoint pricing to track. Use MCP Unlimited for flat-rate access through your AI tools, or a credit plan for REST & CLI at scale.
Frequently Asked Questions
/masters endpoint returns the canonical record; /releases returns the pressing-specific details including tracklist, formats, and community counts./api/discogs/search with a keyword, artist name, or release title. The response includes the Discogs ID for each result. You can then pass that ID to the profile endpoints (/artists, /releases, /labels, /masters) to get the full record./marketplace/stats endpoint reflects the current live state of the Discogs marketplace — it returns the real-time for-sale count and lowest listed price for a given release at the time of the request.Related Endpoints
Start Pulling Discogs Data
Access the world's largest music catalog — artist profiles, pressing details, marketplace pricing — without the OAuth overhead.