OpenAny
Get API keyAPI Key
APIData

discogs logo
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
USE THIS API

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
Connect your agent
On this page

Overview

Overview
Discogs Master Versions API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Master id or a discogs.com/master/<id> link.
Optional parameters (13)
e.g. Vinyl, CD.
Label.
Release year.
Country.
Sort field.
Sort order.
Results per page (1-100, default 50).
Page number (1-based).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Discogs Master Release Versions API · GET · View API reference
$0.002 / billing credit—
—successP50—
Selected pricing · apishUSD / billing credit
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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
idURL query parametersquerystringYes

Master id or a discogs.com/master/<id> link.

formatURL query parametersquerystringNo

e.g. Vinyl, CD.

labelURL query parametersquerystringNo

Label.

releasedURL query parametersquerystringNo

Release year.

countryURL query parametersquerystringNo

Country.

sortURL query parametersquerystringNo

Sort field.

enum: "released", "title", "format", "label", "catno", "country"

orderURL query parametersquerystringNo

Sort order.

enum: "asc", "desc"

limitURL query parametersqueryintegerNo

Results per page (1-100, default 50).

pageURL query parametersqueryintegerNo

Page number (1-based).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

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

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • filter_facets(object | string)[]
    • allows_multiple_valuesboolean
    • idstring
    • titlestring
    • values(object | string)[]
      • countinteger
      • titlestring
      • valuestring
  • filtersobject
    • appliedobject
    • availableobject
      • countryobject
        • Algeriainteger
        • Argentinainteger
        • Australiainteger
        • Belarusinteger
        • Brazilinteger
        • Bulgariainteger
        • Canadainteger
        • Chileinteger
        • Chinainteger
        • Colombiainteger
        • Europeinteger
        • Hungaryinteger
        • Indiainteger
        • Indonesiainteger
        • Israelinteger
        • Italyinteger
        • Japaninteger
        • Malaysiainteger
        • Mexicointeger
        • Philippinesinteger
        • Polandinteger
        • Russiainteger
        • Russia & CISinteger
        • Singaporeinteger
        • Singapore & Malaysiainteger
        • South Africainteger
        • South Koreainteger
        • Spaininteger
        • Taiwaninteger
        • Thailandinteger
        • Turkeyinteger
        • UKinteger
        • UK & USinteger
        • USinteger
        • Ukraineinteger
        • Unknowninteger
        • Venezuelainteger
        • Worldwideinteger
      • formatobject
        • Advanceinteger
        • Albuminteger
        • All Mediainteger
        • CDinteger
        • CD-ROMinteger
        • CDrinteger
        • Cassetteinteger
        • Club Editioninteger
        • Compilationinteger
        • DVDinteger
        • DVD-Videointeger
        • Etchedinteger
        • Fileinteger
        • LPinteger
        • Limited Editioninteger
        • MP3integer
        • Misprintinteger
        • NTSCinteger
        • Numberedinteger
        • Partially Unofficialinteger
        • Picture Discinteger
        • Promointeger
        • Reissueinteger
        • Remasteredinteger
        • Repressinteger
        • Single Sidedinteger
        • Special Editioninteger
        • Stereointeger
        • Test Pressinginteger
        • Unofficial Releaseinteger
        • Vinylinteger
      • labelobject
        • Bmginteger
        • Bmg Ariola De Colombia S.A.integer
        • Bmg Australia Limitedinteger
        • Bmg Directinteger
        • Cinraminteger
        • Civic Center, Springfieldinteger
        • Columbia Houseinteger
        • Dadcinteger
        • Del Mar Fairgroundsinteger
        • Dgcinteger
        • Emi Virgin Songs, Inc.integer
        • Fujisankei Communications International Inc.integer
        • Gateway Masteringinteger
        • Geffen Recordsinteger
        • Geffen Records, Inc.integer
        • Global Musicinteger
        • Great Western Foruminteger
        • London Astoriainteger
        • Mca Music Entertainmentinteger
        • Mca Recordsinteger
        • Mca Victor, Inc.integer
        • Paradiso Amsterdaminteger
        • Paramount Theatre, Seattleinteger
        • Pier 48integer
        • Pt. Ris Music Wijaya Internationalinteger
        • Seattle Center Arenainteger
        • Stereoralinteger
        • Teatro Castello, Romainteger
        • The End Of Musicinteger
        • The Reading Festivalinteger
        • Um³/Usm Japaninteger
        • Uni Distribution Corp.integer
        • Universalinteger
        • Universal International Music B.V.integer
        • Universal Musicinteger
        • Universal Music K.K.integer
        • Universal Music Llcinteger
        • Vprointeger
        • Vpro Tv Studio "De Plantage"integer
        • Westwood Oneinteger
        • …string
      • releasedobject
        • 1996integer
        • 1997integer
        • 1999integer
        • 2000integer
        • 2002integer
        • 2003integer
        • 2005integer
        • 2006integer
        • 2007integer
        • 2009integer
        • 2010integer
        • 2011integer
        • 2012integer
        • 2015integer
        • 2016integer
        • 2021integer
        • 2023integer
  • master_idinteger
  • next_pageinteger
  • pageinteger
  • per_pageinteger
  • totalinteger
  • total_pagesinteger
  • versions(object | string)[]
    • catnostring
    • countrystring
    • formatstring
    • idinteger
    • labelstring
    • major_formatsstring[]
    • releasedstring
    • statsobject
      • communityobject
        • in_collectioninteger
        • in_wantlistinteger
    • statusstring
    • titlestring
    • urlstring

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 itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 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.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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"
      ]
    }

Common questions

Can I filter vinyl or CD editions?

Yes. Use format, alongside label, released and country when needed.

Does released take an exact full date?

It is the release-year filter for this endpoint.

How large can a page be?

limit defaults to 50 and allows 1–100; page starts at 1.

Which ID goes into the Release endpoint?

Use a specific release ID from the returned versions, not the parent master ID.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use Discogs Master Versions API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.