# 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
- **Features:** Limited permissions
- **Stats:** 27 total users, 3 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# 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(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devcake/discogs-com-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nHv3qVU4kV30VA1dx/builds/z2n6hTN9ori3Gd2ux/openapi.json
