Discogs Master Versions API
Get Discogs Master Versions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including requested master identifier, release version identifier, release format, release country, and available filter dimensions for library matching, and catalogue enrichment, ready for production pipelines and AI agent automation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Statistics unavailable
- Success rate · 30d
- —Statistics unavailable
Discogs Master Versions API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
Discogs Master Versions API
id accepts a master ID or master URL. format, label, released and country narrow the versions list; sort and order control ordering. Returned filters and filter_facets describe available choices. limit defaults to 50 and allows 1–100; page is 1-based.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required: id. Optional: format, label, released, country, sort, order, limit, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · Discogs Master Release Versions API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Library matching: Keep resource types and source identifiers when matching entries across a music library.
- Catalogue enrichment: Use the returned metadata and source links to enrich a catalogue record without assuming media-playback or reuse rights.
Returned Data
| Field | Meaning |
|---|---|
master_id |
Requested master identifier |
versions[].id |
Release version identifier |
versions[].format |
Release format |
versions[].country |
Release country |
filter_facets |
Available filter dimensions |
next_page |
Next versions page |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode id=42473 \
--data-urlencode output=json
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published Discogs Master Versions API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Discogs Master Release Versions API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
id | URL query parametersquery | string | Yes | Master id or a discogs.com/master/<id> link. |
format | URL query parametersquery | string | No | e.g. Vinyl, CD. |
label | URL query parametersquery | string | No | Label. |
released | URL query parametersquery | string | No | Release year. |
country | URL query parametersquery | string | No | Country. |
sort | URL query parametersquery | string | No | Sort field. enum: "released", "title", "format", "label", "catno", "country" |
order | URL query parametersquery | string | No | Sort order. enum: "asc", "desc" |
limit | URL query parametersquery | integer | No | Results per page (1-100, default 50). |
page | URL query parametersquery | integer | No | Page number (1-based). |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. enum: "json" |
records | URL query parametersquery | string | No | Native CSV/NDJSON record selector; it has no effect on this JSON-only product. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
cachedbooleancountintegercredits_usedintegerfilter_facets(object | string)[]allows_multiple_valuesbooleanidstringtitlestringvalues(object | string)[]countintegertitlestringvaluestring
filtersobjectappliedobjectavailableobjectcountryobjectAlgeriaintegerArgentinaintegerAustraliaintegerBelarusintegerBrazilintegerBulgariaintegerCanadaintegerChileintegerChinaintegerColombiaintegerEuropeintegerHungaryintegerIndiaintegerIndonesiaintegerIsraelintegerItalyintegerJapanintegerMalaysiaintegerMexicointegerPhilippinesintegerPolandintegerRussiaintegerRussia & CISintegerSingaporeintegerSingapore & MalaysiaintegerSouth AfricaintegerSouth KoreaintegerSpainintegerTaiwanintegerThailandintegerTurkeyintegerUKintegerUK & USintegerUSintegerUkraineintegerUnknownintegerVenezuelaintegerWorldwideinteger
formatobjectAdvanceintegerAlbumintegerAll MediaintegerCDintegerCD-ROMintegerCDrintegerCassetteintegerClub EditionintegerCompilationintegerDVDintegerDVD-VideointegerEtchedintegerFileintegerLPintegerLimited EditionintegerMP3integerMisprintintegerNTSCintegerNumberedintegerPartially UnofficialintegerPicture DiscintegerPromointegerReissueintegerRemasteredintegerRepressintegerSingle SidedintegerSpecial EditionintegerStereointegerTest PressingintegerUnofficial ReleaseintegerVinylinteger
labelobjectBmgintegerBmg Ariola De Colombia S.A.integerBmg Australia LimitedintegerBmg DirectintegerCinramintegerCivic Center, SpringfieldintegerColumbia HouseintegerDadcintegerDel Mar FairgroundsintegerDgcintegerEmi Virgin Songs, Inc.integerFujisankei Communications International Inc.integerGateway MasteringintegerGeffen RecordsintegerGeffen Records, Inc.integerGlobal MusicintegerGreat Western ForumintegerLondon AstoriaintegerMca Music EntertainmentintegerMca RecordsintegerMca Victor, Inc.integerParadiso AmsterdamintegerParamount Theatre, SeattleintegerPier 48integerPt. Ris Music Wijaya InternationalintegerSeattle Center ArenaintegerStereoralintegerTeatro Castello, RomaintegerThe End Of MusicintegerThe Reading FestivalintegerUm³/Usm JapanintegerUni Distribution Corp.integerUniversalintegerUniversal International Music B.V.integerUniversal MusicintegerUniversal Music K.K.integerUniversal Music LlcintegerVprointegerVpro Tv Studio "De Plantage"integerWestwood Oneinteger…string
releasedobject1996integer1997integer1999integer2000integer2002integer2003integer2005integer2006integer2007integer2009integer2010integer2011integer2012integer2015integer2016integer2021integer2023integer
master_idintegernext_pageintegerpageintegerper_pageintegertotalintegertotal_pagesintegerversions(object | string)[]catnostringcountrystringformatstringidintegerlabelstringmajor_formatsstring[]releasedstringstatsobjectcommunityobjectin_collectionintegerin_wantlistinteger
statusstringtitlestringurlstring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Official documentation response · Supplier-tr
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 14
Review these request fields before running. Keep the published provider and request method unchanged.
id- Master id or a discogs.com/master/<id> link.
format- e.g. Vinyl, CD.
label- Label.
released- Release year.
country- Country.
sort- Sort field.
order- Sort order.
limit- Results per page (1-100, default 50).
page- Page number (1-based).
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
records- Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions?id=42473&output=json' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "cached": false, "count": 50, "credits_used": 1, "filter_facets": [ { "allows_multiple_values": true, "id": "format", "title": "Format", "values": [ { "count": 174, "title": "Album", "value": "Album" }, { "count": 90, "title": "CD", "value": "CD" }, "… 29 more" ] }, { "allows_multiple_values": true, "id": "label", "title": "Label", "values": [ { "count": 98, "title": "Geffen Records", "value": "Geffen+Records" }, { "count": 89, "title": "Geffen Records, Inc.", "value": "Geffen+Records%2C+Inc." }, "… 167 more" ] }, "… 2 more" ], "filters": { "applied": {}, "available": { "country": { "Algeria": 1, "Argentina": 6, "Australia": 3, "Belarus": 2, "Brazil": 2, "Bulgaria": 2, "Canada": 7, "Chile": 1, "China": 2, "Colombia": 3, "Europe": 27, "Hungary": 1, "India": 4, "Indonesia": 5, "Israel": 1, "Italy": 4, "Japan": 12, "Malaysia": 2, "Mexico": 4, "Philippines": 1, "Poland": 4, "Russia": 22, "Russia & CIS": 1, "Singapore": 1, "Singapore & Malaysia": 1, "South Africa": 2, "South Korea": 4, "Spain": 2, "Taiwan": 2, "Thailand": 2, "Turkey": 1, "UK": 2, "UK & US": 1, "US": 31, "Ukraine": 4, "Unknown": 4, "Venezuela": 1, "Worldwide": 1 }, "format": { "Advance": 1, "Album": 174, "All Media": 2, "CD": 90, "CD-ROM": 1, "CDr": 3, "Cassette": 68, "Club Edition": 13, "Compilation": 1, "DVD": 1, "DVD-Video": 1, "Etched": 1, "File": 1, "LP": 14, "Limited Edition": 12, "MP3": 1, "Misprint": 1, "NTSC": 1, "Numbered": 2, "Partially Unofficial": 1, "Picture Disc": 1, "Promo": 10, "Reissue": 47, "Remastered": 2, "Repress": 5, "Single Sided": 1, "Special Edition": 1, "Stereo": 15, "Test Pressing": 1, "Unofficial Release": 38, "Vinyl": 14 }, "label": { "Bmg": 15, "Bmg Ariola De Colombia S.A.": 3, "Bmg Australia Limited": 7, "Bmg Direct": 4, "Cinram": 4, "Civic Center, Springfield": 42, "Columbia House": 6, "Dadc": 3, "Del Mar Fairgrounds": 44, "Dgc": 47, "Emi Virgin Songs, Inc.": 35, "Fujisankei Communications International Inc.": 7, "Gateway Mastering": 41, "Geffen Records": 98, "Geffen Records, Inc.": 89, "Global Music": 3, "Great Western Forum": 40, "London Astoria": 42, "Mca Music Entertainment": 6, "Mca Records": 7, "Mca Victor, Inc.": 3, "Paradiso Amsterdam": 39, "Paramount Theatre, Seattle": 46, "Pier 48": 42, "Pt. Ris Music Wijaya International": 4, "Seattle Center Arena": 42, "Stereoral": 8, "Teatro Castello, Roma": 40, "The End Of Music": 34, "The Reading Festival": 79, "Um³/Usm Japan": 4, "Uni Distribution Corp.": 27, "Universal": 5, "Universal International Music B.V.": 4, "Universal Music": 4, "Universal Music K.K.": 6, "Universal Music Llc": 4, "Vpro": 6, "Vpro Tv Studio \"De Plantage\"": 5, "Westwood One": 12, "…": "129 more fields" }, "released": { "1996": 92, "1997": 5, "1999": 3, "2000": 2, "2002": 1, "2003": 5, "2005": 2, "2006": 2, "2007": 2, "2009": 2, "2010": 1, "2011": 2, "2012": 2, "2015": 1, "2016": 3, "2021": 1, "2023": 1 } } }, "master_id": 42473, "next_page": 2, "page": 1, "per_page": 50, "total": 176, "total_pages": 4, "versions": [ { "catno": "GEC 25105", "country": "Hungary", "format": "Album", "id": 6816327, "label": "DGC", "major_formats": [ "Cassette" ], "released": "1996", "stats": { "community": { "in_collection": 14, "in_wantlist": 92 } }, "status": "Accepted", "title": "From The Muddy Banks Of The Wishkah", "url": "https://www.discogs.com/release/6816327" }, { "catno": "GEFC-25105", "country": "Argentina", "format": "Album, Stereo", "id": 28375483, "label": "Geffen Records", "major_formats": [ "Cassette" ], "released": "1996", "stats": { "community": { "in_collection": 3, "in_wantlist": 26 } }, "status": "Accepted", "title": "From The Muddy Banks Of The Wishkah", "url": "https://www.discogs.com/release/28375483" }, "… 48 more" ] }