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.

9 endpoints REST & MCP JSON output No Discogs key required

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

EndpointWhat It Returns
/api/discogs/artistsArtist or group profile — name, biography, images, aliases, members, group affiliations, and official links
/api/discogs/artists/releasesFull artist discography — every release and master listed under the artist's name, sortable by year or format
/api/discogs/labelsRecord label profile — description, contact info, parent label, sublabels, and official URLs
/api/discogs/labels/releasesLabel release catalog — all releases on the label with artist, catalog number, format, and year
/api/discogs/marketplace/statsReal-time marketplace data — how many copies of a release are for sale and the current lowest price
/api/discogs/mastersMaster release record — the canonical entry grouping all pressings of a recording, with tracklist, artists, genres, and styles
/api/discogs/masters/versionsAll pressing variants of a master — by country, label, format, and year; sorted and paginated
/api/discogs/releasesSpecific release details — tracklist, formats, identifiers (barcode, matrix), community have/want counts, lowest price
/api/discogs/searchFull-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

Compare prices across pressing variants of a master
# 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 an artist profile then their discography
# 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

Do I need a Discogs account or OAuth credentials?
No. Anysite handles all upstream authentication. You authenticate once with your Anysite API key — no Discogs account, no OAuth registration, no consumer key/secret management on your side.
What is the difference between a release and a master release?
A master release is the canonical entry for a recording — for example, "Kind of Blue by Miles Davis." A release is a specific physical or digital pressing of that recording — the 1959 US Columbia LP, the 1997 Mobile Fidelity remaster, the 2008 Legacy Edition CD. The /masters endpoint returns the canonical record; /releases returns the pressing-specific details including tracklist, formats, and community counts.
How do I find a Discogs ID for an artist, release, or label?
Use /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.
How current is the marketplace pricing data?
The /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.
Can I use Discogs endpoints via MCP in Claude or Cursor?
Yes. All 9 Discogs endpoints are available in the MCP Unlimited plan as native tools in Claude, Cursor, and ChatGPT. Ask your AI assistant to look up a record, compare pressing values, or pull an artist discography — it routes the request automatically, no code required.

Related Endpoints

Start Pulling Discogs Data

Access the world's largest music catalog — artist profiles, pressing details, marketplace pricing — without the OAuth overhead.