# Discogs Scraper — Music Releases & Prices (`ponderable_hydrometer/discogs-scraper`) Actor

Search Discogs for music releases — artist, label, genre, tracklist, ratings, lowest price & copies for sale. Free API, no key. For collectors, resellers & apps.

- **URL**: https://apify.com/ponderable\_hydrometer/discogs-scraper.md
- **Developed by:** [Ponderable Hydrometer](https://apify.com/ponderable_hydrometer) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 — Music Releases & Prices

**Search the world's largest music database and marketplace, and get catalogue data plus real price/supply signals** — artist, label, year, genre, format, tracklist, community ratings, **lowest marketplace price** and copies for sale. Free Discogs API, no key, no proxies.

For record collectors and resellers tracking prices, music apps building catalogs, and market research on the vinyl/CD market.

### What you get

**Search view** (always) — `id`, `type`, `title`, `year`, `country`, `genres[]`, `styles[]`, `labels[]`, `formats[]`, `catno`, `barcode`, `masterId`, `thumb`, `url`.

**Full detail** (`includeDetails`) — adds `artist`, `released`, `tracklist[]` (position/title/duration), community `rating` + `ratingCount`, `haveCount`, `wantCount`, **`numForSale`**, **`lowestPrice`**, `notes`.

### Output sample (with `includeDetails`)

```json
{
  "id": 4819086,
  "type": "release",
  "title": "Nirvana - Nevermind",
  "artist": "Nirvana",
  "year": 1991,
  "released": "1991-09-26",
  "country": "US",
  "genres": ["Rock"],
  "styles": ["Grunge", "Alternative Rock"],
  "labels": ["DGC", "Sub Pop"],
  "formats": ["Vinyl", "LP", "Album"],
  "tracklist": [
    { "position": "A1", "title": "Smells Like Teen Spirit", "duration": "5:01" }
  ],
  "rating": 4.64,
  "ratingCount": 1200,
  "haveCount": 74825,
  "wantCount": 30000,
  "numForSale": 218,
  "lowestPrice": 32.0,
  "notes": "Gatefold sleeve.",
  "url": "https://www.discogs.com/release/4819086"
}
```

Without `includeDetails`, rows are the lighter search view (no tracklist/price).

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `searchTerms` | array | — | Keywords, e.g. `daft punk discovery` |
| `releaseIds` | array | — | Specific Discogs release ids (full detail) |
| `artist` | string | — | Filter by artist, e.g. `Radiohead` |
| `genre` | string | — | Filter by genre, e.g. `Electronic` |
| `year` | string | — | Filter by release year, e.g. `1997` |
| `format` | string | — | Filter by format, e.g. `Vinyl`, `CD` |
| `includeDetails` | boolean | `false` | Fetch tracklist, ratings, lowest price & copies for sale |
| `maxResults` | integer | `100` | Cap per search |

Provide `searchTerms`, `releaseIds`, or at least one filter.

### Example input

```json
{
  "searchTerms": ["nirvana nevermind"],
  "format": "Vinyl",
  "includeDetails": true,
  "maxResults": 50
}
```

### Why this actor

- **Price + demand signals** — `lowestPrice`, `numForSale`, `haveCount`/`wantCount`: the fields collectors and resellers actually pay for, a step above thin/dead Discogs actors.
- **Rich catalogue** — full tracklist, styles, labels and community ratings in one row.
- **Reliable under rate limits** — Discogs throttles unauthenticated use (~60/min); the actor retries on 429s and paginates automatically.

### Pricing

Pay per result — **$3.00 per 1,000 results** (one result = one release). No subscription; you pay only for what you get.

### Notes & limits

- Marketplace price/quantity reflect Discogs at fetch time and change constantly.
- Large `includeDetails` runs are slower (one request per release).
- Data © Discogs / its contributors — attribute and use per their terms. Not affiliated with Discogs.

### Related actors

- **Apple Podcasts Scraper** — podcast catalogs and episodes.
- **Steam Scraper** — game catalog and prices.
- **App Store Scraper** — apps, ratings and reviews.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search releases, e.g. "daft punk discovery", "nirvana nevermind".

## `releaseIds` (type: `array`):

Specific Discogs release ids to look up (full detail incl. tracklist & price).

## `artist` (type: `string`):

Filter by artist, e.g. "Radiohead".

## `genre` (type: `string`):

Filter by genre, e.g. "Electronic", "Rock".

## `year` (type: `string`):

Filter by release year, e.g. "1997".

## `format` (type: `string`):

Filter by format, e.g. "Vinyl", "CD".

## `includeDetails` (type: `boolean`):

Fetch each release's full data — tracklist, ratings, lowest price and copies for sale (slower; more requests).

## `maxResults` (type: `integer`):

Cap on releases returned per search.

## Actor input object example

```json
{
  "searchTerms": [
    "daft punk discovery"
  ],
  "includeDetails": false,
  "maxResults": 100
}
```

# 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 = {
    "searchTerms": [
        "daft punk discovery"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ponderable_hydrometer/discogs-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 = { "searchTerms": ["daft punk discovery"] }

# Run the Actor and wait for it to finish
run = client.actor("ponderable_hydrometer/discogs-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 '{
  "searchTerms": [
    "daft punk discovery"
  ]
}' |
apify call ponderable_hydrometer/discogs-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/TRrM78PbCqNuw1sho/builds/gpjeVUbOI7EBq6aqw/openapi.json
