Carabain Digital Apify Actors

Discogs Marketplace Scraper

Discogs Marketplace Scraper exports the copies for sale of a release, master or seller on the Discogs marketplace, with price, shipping, the price in USD, media and sleeve condition and seller rating. Each listing also carries the release's have/want counts and its low, median and high price paid, for record pricing and resale research.

Run it on ApifyCreate a free Apify account

The Apify Free plan includes $5 of credit every month, no credit card needed.

One marketplace listing in your dataset
title
Listing title as shown on the marketplace, Artist - Title (format)
price
Asking price in the seller's currency (currency), without shipping
currency
Currency code of price and shipping_price (e.g. GBP, EUR, USD, SEK)
converted_price
Price converted by Discogs to the viewer's currency (USD with the default US proxy), the figure to sort and compare on
shipping_price
Shipping cost to the buyer country of the proxy (US by default) in currency; 0 = free, null = the seller does not ship there
media_condition
Condition of the record/disc, e.g. Near Mint (NM or M-), Very Good Plus (VG+)
sleeve_condition
Condition of the sleeve, or Generic, No Cover, Not Graded
seller_name
Seller's Discogs username (public store name)

and 36 more fields, see Output

Who it is for

Record dealers and shop owners who price stock against the Discogs market. Collectors who hunt for a pressing or value a collection. Resellers who look for copies listed below what the release usually sells for.

What you can do with the data

Spot copies priced below the market

Every row has converted_price, Discogs' USD figure for the copy, next to release_price_median, the median price paid for that release. Sort by converted_price and flag copies far under the median, then check media_condition and seller_comments before you buy.

Compare all pressings of an album

Paste a master URL and the Actor expands it into its versions, up to max_releases, skipping versions with nothing for sale. Compare price, release_have and release_want per pressing to see which one collectors chase.

Value a record collection

Run the release URLs of a collection and read release_last_sold with the low, median and high price paid. That gives a range per record for insurance, an estate sale or a shop buy-in, without opening each release page.

Monitor a seller's inventory

A seller profile URL returns that seller's listings with price and grades. Schedule it and compare listing_ids with the last run to see which copies are new and which are gone.

Tutorial

How to find the cheapest Near Mint copies of a release

  1. Open a free Apify account and use the Run it on Apify button on this page.
  2. On discogs.com, open the release and copy its URL, for example https://www.discogs.com/release/249504. Paste it into start_urls.
  3. For Near Mint only, open the release's marketplace list on Discogs, set the media condition filter and paste that /sell/list?release_id=... URL instead. The Actor keeps the filters in the URL.
  4. Leave sort on price_asc and set limit to 50.
  5. Start the run and compare rows on converted_price, the USD figure Discogs shows a US buyer with the default proxy. shipping_price is in the seller's currency, so do not add it to the USD figure.
  6. Export to CSV, or schedule the run daily and alert on a new listing_id under your target price.

Examples

Cheapest copies of a Discogs release for sale

Scrape every copy for sale of a Discogs release (example: Rick Astley, Never Gonna Give You Up, UK 7 inch): price and shipping, converted price in USD, media and sleeve condition, seller rating and ships-from, plus have/want, last sold and median price. Export to JSON, CSV or Excel.

{
  "start_urls": [
    {
      "url": "https://www.discogs.com/release/249504-Rick-Astley-Never-Gonna-Give-You-Up"
    }
  ],
  "sort": "price_asc",
  "limit": 100
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~discogs-marketplace/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"start_urls": [{"url": "https://www.discogs.com/release/249504-Rick-Astley-Never-Gonna-Give-You-Up"}], "sort": "price_asc", "limit": 100}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/discogs-marketplace").call(run_input={'start_urls': [{'url': 'https://www.discogs.com/release/249504-Rick-Astley-Never-Gonna-Give-You-Up'}], 'sort': 'price_asc', 'limit': 100})
items = client.dataset(run["defaultDatasetId"]).list_items().items

All versions of a Discogs master for sale

Scrape the marketplace listings of every version of a Discogs master release (example: Queen, Back Chat) in one run: price, shipping, media and sleeve condition, seller notes and rating, ships-from, plus per-release have/want, last sold and low/median/high price. Compare pressings and spot underpriced copies.

{
  "start_urls": [
    {
      "url": "https://www.discogs.com/master/13509-Queen-Back-Chat"
    }
  ],
  "max_releases": 10,
  "sort": "price_asc",
  "limit": 200
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~discogs-marketplace/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"start_urls": [{"url": "https://www.discogs.com/master/13509-Queen-Back-Chat"}], "max_releases": 10, "sort": "price_asc", "limit": 200}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/discogs-marketplace").call(run_input={'start_urls': [{'url': 'https://www.discogs.com/master/13509-Queen-Back-Chat'}], 'max_releases': 10, 'sort': 'price_asc', 'limit': 200})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Set APIFY_TOKEN to your token from Apify Console, Settings, Integrations. The curl call waits up to 5 minutes; for bigger runs see running from the API and Python. AI agents can call it through the Apify MCP server: https://mcp.apify.com/?actors=carabain-digital/discogs-marketplace.

Input

FieldTypeWhat it does
start_urls
Discogs URLs
arrayRelease, master or seller pages copied from discogs.com. Example: https://www.discogs.com/release/249504-Rick-Astley-Never-Gonna-Give-You-Up. A master (/master/13509) is expanded into its versions, a seller page (/seller/Ronan266/profile) gives that seller's inventory, /sell/list?release_id=249504&condition=...&ships_from=... keeps the filters in the URL. Leave empty to use Search.
search
Search (optional)
stringFree-text search in the Discogs database: the best matching releases are scraped. Example: daft punk discovery vinyl. Works together with the URLs above; set Max releases to control how many releases are used.
limit
Max listings
integerStop after this many marketplace listings in total. Example: 200. Discogs shows up to 250 copies per request, so large releases are fast.
Default: 100
sort
Sort order
stringOrder of the listings per release, by the price converted to the viewer's currency. Example: price_asc for the cheapest copies first. A sort in your URL wins.
Values: price_asc, price_desc
Default: "price_asc"
max_releases
Max releases
integerFor a master (its versions), a search, or a seller page: how many releases to scrape listings for or to add release data (have/want, last sold, price statistics) for. Example: 10.
Default: 10
discogs_token
Discogs API token (optional)
stringA personal access token from discogs.com/settings/developers raises the release-data rate limit from 25 to 60 requests per minute. Only useful for searches and masters with many releases. Leave empty for normal runs.

Output

One dataset item per marketplace listing. Export the dataset as JSON, CSV, Excel or XML from Apify Console or the API.

FieldTypeDescription
idstringStable listing ID, discogs:<listing id>
sourcestringAlways discogs
urlstringListing page on discogs.com (/sell/item/<id>)
listing_idstringDiscogs marketplace listing ID
release_idstringDiscogs release ID this copy belongs to
release_urlstringRelease page on discogs.com
titlestringListing title as shown on the marketplace, Artist - Title (format)
labelstringRecord label of the pressing
catalog_numberstringCatalog number of the pressing
pricenumberAsking price in the seller's currency (currency), without shipping
currencystringCurrency code of price and shipping_price (e.g. GBP, EUR, USD, SEK)
shipping_pricenumberShipping cost to the buyer country of the proxy (US by default) in currency; 0 = free, null = the seller does not ship there
converted_pricenumberPrice converted by Discogs to the viewer's currency (USD with the default US proxy), the figure to sort and compare on
converted_currencystringCurrency of converted_price
media_conditionstringCondition of the record/disc, e.g. Near Mint (NM or M-), Very Good Plus (VG+)
sleeve_conditionstringCondition of the sleeve, or Generic, No Cover, Not Graded
seller_commentsstringThe seller's own notes on this copy
seller_namestringSeller's Discogs username (public store name)
seller_urlstringSeller's public profile on discogs.com
seller_rating_pctnumberSeller's positive feedback in percent
seller_rating_countintegerNumber of ratings the seller has
ships_fromstringCountry the seller ships from
unavailable_instringCountry in which Discogs says the copy cannot be bought (the buyer country of the proxy), else null
accepts_offersbooleanTrue when the seller accepts offers (Make Offer)
scraped_atstringUTC timestamp of the scrape
artiststringRelease artist (Discogs API)
release_titlestringRelease title (Discogs API)
yearintegerRelease year
countrystringRelease country of pressing
formatsarrayRelease formats, e.g. Vinyl (7", 45 RPM, Single, Stereo)
genresarrayRelease genres
stylesarrayRelease styles
master_idintegerMaster release ID, when the release belongs to one
release_haveintegerDiscogs users who have the release in their collection
release_wantintegerDiscogs users who want the release
release_ratingnumberAverage community rating of the release (0-5)
release_rating_countintegerNumber of community ratings
release_num_for_saleintegerCopies for sale of the release right now (all sellers)
release_lowest_pricenumberLowest asking price right now, in USD (Discogs API)
release_last_soldstringDate the release last sold (YYYY-MM-DD), null when it never sold
release_price_lownumberLowest price paid in the past, from the release page statistics
release_price_mediannumberMedian price paid
release_price_highnumberHighest price paid
release_price_currencystringCurrency of the three statistics prices (USD with the default US proxy)

Frequently asked questions

What does it cost to scrape 2,000 Discogs listings?

You pay $1.50 per 1,000 listings, so 2,000 listings cost $3. The release statistics on each row (have/want, last sold, price paid) are included in that price.

Do I need a proxy or a Discogs login?

No login. A proxy is needed because the marketplace sits behind Cloudflare; the Apify datacenter proxy in the US is preselected and usually passes. Switch to residential if a run is blocked. A Discogs API token is optional and only speeds up runs over many releases.

Why is the shipping price empty on some copies?

Shipping is shown for a buyer in the proxy's country, the US by default. When the seller does not ship there, shipping_price is empty and unavailable_in names the country. Pick another proxy country to see costs for buyers elsewhere.

Does it give the full sales history of a release?

No. The list of past sales and Discogs' price suggestions need a login. What you do get, on every row, is the release page's summary: when it last sold, and the lowest, median and highest price buyers paid.

Can I scrape the whole marketplace, for example all vinyl for sale?

No. Discogs blocks general marketplace searches without a release. Use release, master or seller URLs, or the search field, which picks the best matching releases.

How do I see only new listings?

Discogs blocks the newest-first sort for automated clients, so results are by price. Schedule the run and compare listing_id with the previous run to find new copies.

Is it legal to scrape the Discogs marketplace?

The Actor reads only listings that anyone can see on discogs.com. Seller usernames and notes can be personal data under rules such as the GDPR, so how you store and use them matters. Check your use case with a lawyer. More: Is web scraping legal?