# Discogs.com Scraper (`devcake/discogs-com-scraper`) Actor

Scrape Discogs for vinyl records, original pressings, and collector data. Get marketplace prices, matrix numbers, and pressing plant info.

- **URL**: https://apify.com/devcake/discogs-com-scraper.md
- **Developed by:** [devcake](https://apify.com/devcake) (community)
- **Categories:** Other, E-commerce
- **Stats:** 13 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Discogs Scraper - Extract Releases, Artists, Labels & Marketplace Data

**API-free Discogs data extraction tool.** Search the world's largest music database for releases, artists, labels, and master recordings - with optional full details including tracklists, credits, marketplace pricing, and pressing information.

> **No API key required** | **Up to 1,000 results per run** | **Export to JSON/CSV/Excel**

---

### What This Tool Does

Discogs is the world's largest **music database and vinyl marketplace** with over **18 million releases**, **9 million artists**, and **2 million labels**. This **Discogs API scraper** extracts structured data using public endpoints - no authentication needed.

#### Perfect For:

- **Record shops** researching catalogs, pricing, and inventory
- **Vinyl collectors** identifying original pressings vs reissues
- **Music producers** hunting for samples and original credits
- **Researchers** building discography datasets
- **Developers** creating music apps or price monitoring tools
- **Marketplace sellers** analyzing demand and competition

---

### Data You Can Extract

The scraper returns comprehensive **Discogs release data** based on your search:

#### Core Release Data
| Field | Description |
|-------|-------------|
| **Title & Artist** | Release name with artist credits |
| **Year & Country** | Release year and country of origin |
| **Genres & Styles** | Music classification (House, Techno, Jazz, etc.) |
| **Labels & Catalog#** | Record label and catalog number |
| **Formats** | Vinyl (12", 7", LP), CD, cassette, digital |

#### Marketplace & Pricing Data
| Field | Description |
|-------|-------------|
| **Lowest Price** | Current lowest marketplace price (USD) |
| **Copies For Sale** | Number of copies available |
| **Want/Have Counts** | Community demand (collectors wanting vs owning) |

#### Collector & Pressing Details
| Field | Description |
|-------|-------------|
| **Barcodes** | UPC and other barcode identifiers |
| **Matrix/Runout** | Etched identifiers for pressing identification |
| **Pressing Plants** | Which plant manufactured the record |
| **Estimated Weight** | Vinyl weight in grams (180g, 140g, etc.) |

#### Credits & Production
| Field | Description |
|-------|-------------|
| **Artist Credits** | Main artists and collaborations |
| **Extra Credits** | Producers, engineers, mixers, writers |
| **Companies** | Record companies, publishers, copyright holders |

#### Audio & Media
| Field | Description |
|-------|-------------|
| **Tracklist** | Full track listing with durations |
| **YouTube Videos** | Linked video previews |

---

### Input Options

#### Required
- **Query** - Artist name, album title, label, or any search term (supports multiple queries)

#### Search Type
- **Type** - `release`, `master`, `artist`, or `label` (default: `release`)

#### Filters
- **Country** - Filter by country (`UK`, `US`, `Japan`, `Germany`, `France`, etc.)

#### Advanced
- **Max Results** - 1 to 1,000 results per run (default: 50)
- **Get Full Details** - Fetch complete details including tracklists, credits, identifiers, and marketplace data (default: enabled)

---

### Why Use This Scraper

| Problem | Solution |
|---------|----------|
| Manual data entry | Automated bulk extraction from Discogs database |
| API registration required | No API key - uses public endpoints |
| Rate limiting issues | Built-in rate limiting respects Discogs limits |
| Pagination complexity | Smart pagination handles large result sets |
| Scattered data | All data in one structured export |
| Pricing research | Marketplace prices and demand data included |

---

### Frequently Asked Questions

#### Is this Discogs scraper free?
Yes. The scraper uses Discogs' free public API. Apify's free tier includes monthly compute time.

#### Do I need a Discogs API key?
**No API key required.** This tool accesses public search endpoints without authentication.

#### How many results can I extract?
Extract up to **1,000 results per run**. For larger datasets, run multiple times with different queries or use country filters.

#### What export formats are available?
Data exports to **JSON** (full structured data), **CSV** (spreadsheet/Excel compatible), and **HTML** tables.

#### Can I search by country?
Yes. Filter by country to find original pressings, regional releases, or imports (UK originals, Japanese pressings, etc.).

#### Does this include marketplace pricing?
Yes. Each release includes the current lowest price and number of copies for sale on Discogs Marketplace.

#### Can I identify original pressings?
Yes. Full details include matrix numbers, pressing plants, barcodes, and estimated weight - key data for identifying specific pressings.

---

### Output Formats

Your scraped **Discogs data** exports in multiple formats:

- **JSON** - Full structured data for developers and applications
- **CSV** - Spreadsheet-compatible for Excel, Google Sheets, analysis
- **HTML** - Human-readable tables

Data pushes directly to your Apify dataset for download, API access, or integration.

---

### Start Scraping Now

1. **Enter your search query** - artist, label, catalog number, or any term
2. **Choose search type** - release, master, artist, or label
3. **Set max results** - up to 1,000 per run
4. **Click Run** - get structured data in seconds

---

<p align="center">
  <strong>Built for vinyl collectors, record shops, music producers, researchers, and developers</strong>
</p>

# Actor input Schema

## `query` (type: `array`):

Search term to look up on Discogs. For multiple queries, enter as JSON array: ['Beatles', 'Madonna', 'Prince']
## `type` (type: `string`):

What type of content to search for
## `maxResults` (type: `integer`):

Maximum number of results to return per query (1-1000). Total results = maxResults * number of queries.
## `getDetails` (type: `boolean`):

Enrich each result with full details (tracklist, credits, etc.). Increases API calls but provides comprehensive data.
## `country` (type: `string`):

Filter by country of release (e.g., 'UK', 'US', 'Germany', 'Japan')
## `yearMin` (type: `integer`):

Filter: minimum release year
## `yearMax` (type: `integer`):

Filter: maximum release year
## `genre` (type: `string`):

Filter by genre (e.g., 'Electronic', 'Rock', 'Jazz')
## `format` (type: `string`):

Filter by format (e.g., 'Vinyl', 'CD', 'Cassette')
## `label` (type: `string`):

Filter by record label name
## `proxyConfig` (type: `object`):

Use Apify proxies for faster scraping without rate limits. RECOMMENDED: Use Datacenter proxies for best performance. Each request gets a different IP for concurrent scraping.

## Actor input object example

```json
{
  "query": [
    "Beatles"
  ],
  "type": "release",
  "maxResults": 30,
  "getDetails": false,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [],
    "apifyProxyCountry": ""
  }
}
````

# Actor output Schema

## `results` (type: `string`):

All scraped Discogs data with full details including tracklists, credits, marketplace prices, and pressing information

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": [
        "Beatles"
    ],
    "proxyConfig": {
        "useApifyProxy": true,
        "apifyProxyGroups": [],
        "apifyProxyCountry": ""
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devcake/discogs-com-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": ["Beatles"],
    "proxyConfig": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
        "apifyProxyCountry": "",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("devcake/discogs-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": [
    "Beatles"
  ],
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [],
    "apifyProxyCountry": ""
  }
}' |
apify call devcake/discogs-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=devcake/discogs-com-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Discogs.com Scraper",
        "description": "Scrape Discogs for vinyl records, original pressings, and collector data. Get marketplace prices, matrix numbers, and pressing plant info.",
        "version": "2.1",
        "x-build-id": "z2n6hTN9ori3Gd2ux"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/devcake~discogs-com-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-devcake-discogs-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/devcake~discogs-com-scraper/runs": {
            "post": {
                "operationId": "runs-sync-devcake-discogs-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/devcake~discogs-com-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-devcake-discogs-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Search Query",
                        "type": "array",
                        "description": "Search term to look up on Discogs. For multiple queries, enter as JSON array: ['Beatles', 'Madonna', 'Prince']",
                        "items": {
                            "type": "string"
                        }
                    },
                    "type": {
                        "title": "Search Type",
                        "enum": [
                            "release",
                            "master",
                            "artist",
                            "label"
                        ],
                        "type": "string",
                        "description": "What type of content to search for",
                        "default": "release"
                    },
                    "maxResults": {
                        "title": "Maximum Results",
                        "minimum": 20,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of results to return per query (1-1000). Total results = maxResults * number of queries.",
                        "default": 30
                    },
                    "getDetails": {
                        "title": "Fetch Full Details",
                        "type": "boolean",
                        "description": "Enrich each result with full details (tracklist, credits, etc.). Increases API calls but provides comprehensive data.",
                        "default": false
                    },
                    "country": {
                        "title": "Country Filter",
                        "type": "string",
                        "description": "Filter by country of release (e.g., 'UK', 'US', 'Germany', 'Japan')"
                    },
                    "yearMin": {
                        "title": "Year From",
                        "minimum": 1900,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Filter: minimum release year"
                    },
                    "yearMax": {
                        "title": "Year To",
                        "minimum": 1900,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Filter: maximum release year"
                    },
                    "genre": {
                        "title": "Genre",
                        "type": "string",
                        "description": "Filter by genre (e.g., 'Electronic', 'Rock', 'Jazz')"
                    },
                    "format": {
                        "title": "Format",
                        "type": "string",
                        "description": "Filter by format (e.g., 'Vinyl', 'CD', 'Cassette')"
                    },
                    "label": {
                        "title": "Label",
                        "type": "string",
                        "description": "Filter by record label name"
                    },
                    "proxyConfig": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Use Apify proxies for faster scraping without rate limits. RECOMMENDED: Use Datacenter proxies for best performance. Each request gets a different IP for concurrent scraping.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [],
                            "apifyProxyCountry": ""
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
