Discogs Master Release Versions API
Use the Discogs Master Release Versions API to retrieve pressings, formats and reissues of a music master release, with labels, catalogue numbers, countries and release dates. Provide source record ID (id); refine the result with release format (format), record-label filter (label). Compare pressings and reissues, match format or catalogue numbers and distinguish editions of the same master release. Versions are pressings, formats or reissues of a musical master release; format and catalogue identity should stay attached to each version. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Discogs Master Release 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
- Pricing
On this page
Overview
Discogs Master Release Versions API
Use the Discogs Master Release Versions API to retrieve pressings, formats and reissues of a music master release, with labels, catalogue numbers, countries and release dates. Provide source record ID (id); refine the result with release format (format), record-label filter (label). Compare pressings and reissues, match format or catalogue numbers and distinguish editions of the same master release. Versions are pressings, formats or reissues of a musical master release; format and catalogue identity should stay attached to each version. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
Discogs Master Release Versions API
Purpose and returned data
Use the Discogs Master Release Versions API to retrieve pressings, formats and reissues of a music master release, with labels, catalogue numbers, countries and release dates.
Compare pressings and reissues, match format or catalogue numbers and distinguish editions of the same master release.
Returned field references: master_id, filters, filter_facets, per_page, total_pages, versions.
Input selection and parameters
Provide source record ID (id); refine the result with release format (format), record-label filter (label).
The table preserves the source’s parameter wording in English; names and wire values retain their native spelling. Product-specific output restrictions are included.
| Parameter | Type | Required | Meaning and constraints |
|---|---|---|---|
id | string | Yes | Master id or a discogs.com/master/<id> link. |
format | string | No | e.g. Vinyl, CD. |
label | string | No | Label. |
released | string | No | Release year. |
country | string | No | Country. |
sort | string | No | Sort field. Allowed: released, title, format, label, catno, country. |
order | string | No | Sort order. Allowed: asc, desc. |
limit | integer | No | Results per page (1-100, default 50). |
page | integer | No | Page number (1-based). |
raw | string | No | 0 leaves out the bulky raw source blocks (often 10-30x smaller). Allowed: 0, 1. |
fields | string | No | Comma-separated fields to return, e.g. posts.id,posts.title. Call metadata is always included. |
fresh | string | No | 1 skips the 24-hour cache and fetches live. Allowed: 1. |
output | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. Allowed: json. |
records | string | No | Native CSV/NDJSON record selector; it has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions?id=42473&output=json" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
The supplier publishes a shortened response: lists and long text may be truncated, and raw blocks are omitted. The example panel preserves that published payload exactly; it is not a complete response or a verified OpenAny call.
Inspect the paired request and response in the Examples panel; that request fixes the filters, selected fields and pagination used for its response.
Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed call fee. A zero-credit response has zero usage cost. This operation currently lists 1 credit(s) per call; up to USD 0.002 is reserved, and the final cost follows reported credits within that limit. Valid empty results, cache hits and lookups that return no match may still consume credits. Calls refused before running and supplier-side failures are free according to the source billing guide.
Coverage and limits
Versions are pressings, formats or reissues of a musical master release; format and catalogue identity should stay attached to each version.
Continue with the returned continuation value using these declared inputs: page. Stop when the corresponding continuation is null; each subsequent page is a separate request.
Requests have a 120-second time budget and an 8 MiB response limit. raw=0 omits bulky raw blocks; fields selects fields while retaining call metadata; fresh=1 bypasses the usual 24-hour cache. This product accepts only JSON output; CSV and NDJSON are not exposed.
Playground
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cached?: boolean;
count?: number;
credits_used?: number;
filter_facets?: Array<{
allows_multiple_values?: boolean;
id?: string;
title?: string;
values?: Array<{
count?: number;
title?: string;
value?: string;
} | string>;
} | string>;
filters?: {
applied?: Record<string, unknown>;
available?: {
country?: {
Algeria?: number;
Argentina?: number;
Australia?: number;
Belarus?: number;
Brazil?: number;
Bulgaria?: number;
Canada?: number;
Chile?: number;
China?: number;
Colombia?: number;
Europe?: number;
Hungary?: number;
India?: number;
Indonesia?: number;
Israel?: number;
Italy?: number;
Japan?: number;
Malaysia?: number;
Mexico?: number;
Philippines?: number;
Poland?: number;
Russia?: number;
"Russia & CIS"?: number;
Singapore?: number;
"Singapore & Malaysia"?: number;
"South Africa"?: number;
"South Korea"?: number;
Spain?: number;
Taiwan?: number;
Thailand?: number;
Turkey?: number;
UK?: number;
"UK & US"?: number;
US?: number;
Ukraine?: number;
Unknown?: number;
Venezuela?: number;
Worldwide?: number;
};
format?: {
Advance?: number;
Album?: number;
"All Media"?: number;
CD?: number;
"CD-ROM"?: number;
CDr?: number;
Cassette?: number;
"Club Edition"?: number;
Compilation?: number;
DVD?: number;
"DVD-Video"?: number;
Etched?: number;
File?: number;
LP?: number;
"Limited Edition"?: number;
MP3?: number;
Misprint?: number;
NTSC?: number;
Numbered?: number;
"Partially Unofficial"?: number;
"Picture Disc"?: number;
Promo?: number;
Reissue?: number;
Remastered?: number;
Repress?: number;
"Single Sided"?: number;
"Special Edition"?: number;
Stereo?: number;
"Test Pressing"?: number;
"Unofficial Release"?: number;
Vinyl?: number;
};
label?: {
Bmg?: number;
"Bmg Ariola De Colombia S.A."?: number;
"Bmg Australia Limited"?: number;
"Bmg Direct"?: number;
Cinram?: number;
"Civic Center, Springfield"?: number;
"Columbia House"?: number;
Dadc?: number;
"Del Mar Fairgrounds"?: number;
Dgc?: number;
"Emi Virgin Songs, Inc."?: number;
"Fujisankei Communications International Inc."?: number;
"Gateway Mastering"?: number;
"Geffen Records"?: number;
"Geffen Records, Inc."?: number;
"Global Music"?: number;
"Great Western Forum"?: number;
"London Astoria"?: number;
"Mca Music Entertainment"?: number;
"Mca Records"?: number;
"Mca Victor, Inc."?: number;
"Paradiso Amsterdam"?: number;
"Paramount Theatre, Seattle"?: number;
"Pier 48"?: number;
"Pt. Ris Music Wijaya International"?: number;
"Seattle Center Arena"?: number;
Stereoral?: number;
"Teatro Castello, Roma"?: number;
"The End Of Music"?: number;
"The Reading Festival"?: number;
"Um³/Usm Japan"?: number;
"Uni Distribution Corp."?: number;
Universal?: number;
"Universal International Music B.V."?: number;
"Universal Music"?: number;
"Universal Music K.K."?: number;
"Universal Music Llc"?: number;
Vpro?: number;
"Vpro Tv Studio \"De Plantage\""?: number;
"Westwood One"?: number;
"…"?: string;
};
released?: {
"1996"?: number;
"1997"?: number;
"1999"?: number;
"2000"?: number;
"2002"?: number;
"2003"?: number;
"2005"?: number;
"2006"?: number;
"2007"?: number;
"2009"?: number;
"2010"?: number;
"2011"?: number;
"2012"?: number;
"2015"?: number;
"2016"?: number;
"2021"?: number;
"2023"?: number;
};
};
};
master_id?: number;
next_page?: number;
page?: number;
per_page?: number;
total?: number;
total_pages?: number;
versions?: Array<{
catno?: string;
country?: string;
format?: string;
id?: number;
label?: string;
major_formats?: Array<string>;
released?: string;
stats?: {
community?: {
in_collection?: number;
in_wantlist?: number;
};
};
status?: string;
title?: string;
url?: string;
} | string>;
};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: 2. 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
curl \
'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'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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
]
}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.
View API Markdown
# Discogs Master Release Versions API
Use the Discogs Master Release Versions API to retrieve pressings, formats and reissues of a music master release, with labels, catalogue numbers, countries and release dates. Provide source record ID (id); refine the result with release format (format), record-label filter (label). Compare pressings and reissues, match format or catalogue numbers and distinguish editions of the same master release. Versions are pressings, formats or reissues of a musical master release; format and catalogue identity should stay attached to each version. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
## Available implementations
apish · Discogs Master Release Versions API: https://openany.si/markets/apis/capabilities/discogs-master-release-versions-api?offering=a38b166a-5e9e-4464-ac42-db3dd6ecc39c · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/discogs-master-release-versions-api
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'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'
```
## API contract
```json
{
"resource_type": "api",
"name": "Discogs Master Release Versions API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/discogs/v1/master/versions",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Master id or a discogs.com/master/<id> link.",
"location": "query",
"name": "id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "e.g. Vinyl, CD.",
"location": "query",
"name": "format",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Label.",
"location": "query",
"name": "label",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Release year.",
"location": "query",
"name": "released",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Country.",
"location": "query",
"name": "country",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Sort field.",
"enum_values": [
"released",
"title",
"format",
"label",
"catno",
"country"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Sort order.",
"enum_values": [
"asc",
"desc"
],
"location": "query",
"name": "order",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Results per page (1-100, default 50).",
"location": "query",
"name": "limit",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Page number (1-based).",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits consumed",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Official documentation response · Supplier-tr",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"id": "42473",
"output": "json"
}
},
"response_body": {
"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"
]
}
}
]
}
```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" ] }