agentleFS
carabain-digitalcarabain-digital/apify-agent-skills/skills/discogs-marketplace/SKILL.md

discogs-marketplace

Skill1 starsChanged 10 days agoMITView on GitHub

Scrape the Discogs marketplace: every record copy for sale per release, master or seller. Price, shipping, converted price, media and sleeve condition, seller notes and rating, plus release have/want, last sold and low/median/high price. Reliable, no login. Runs the Apify Actor carabain-digital/discogs-marketplace. Use for tasks like: Cheapest copies of a Discogs release for sale; All versions of a Discogs master for sale.

  • Installs packages
  • Sends data out

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Discogs Marketplace Scraper

Scrape the Discogs marketplace: every record copy for sale per release, master or seller. Price, shipping, converted price, media and sleeve condition, seller notes and rating, plus release have/want, last sold and low/median/high price. Reliable, no login.

Runs on Apify as the Actor carabain-digital/discogs-marketplace, billed per result to the user's own Apify account.

Setup

The user needs an Apify API token in APIFY_TOKEN (console.apify.com/settings/integrations). No Apify account yet? Sign up free: no credit card needed, and the Free plan includes $5 of credit every month, enough for about 3,333 marketplace listings with this Actor.

Run it

Apify API, waits for the run and returns the items (up to 5 minutes; for bigger runs start it with POST /v2/acts/carabain-digital~discogs-marketplace/runs and read the dataset afterwards):

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}'

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

MCP: add the Apify MCP server with this Actor as a tool: https://mcp.apify.com/?actors=carabain-digital/discogs-marketplace.

Input

FieldTypeDescription
start_urlsarrayRelease, 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. Format: [{"url": "https://..."}].
searchstringFree-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.
limitintegerStop after this many marketplace listings in total. Example: 200. Discogs shows up to 250 copies per request, so large releases are fast. Default: 100.
sortstringOrder 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_releasesintegerFor 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_tokenstringA 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.

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
}

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
}

Output

One dataset item per result. Main fields: title, price, currency, converted_price, shipping_price, media_condition, sleeve_condition, seller_name, seller_rating_pct, ships_from, url.

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)

Price

Pay per result: $1.50 per 1,000 marketplace listings on the Apify Free plan, less on paid plans. No subscription; Apify bills the run to the user's account.

Store page, reviews and full documentation: Discogs Marketplace Scraper

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.