Vinted, Reverb, TCGPlayer & Discogs Scraper — Sold Comps
Pricing
$2.50 / 1,000 marketplace comp or listing delivereds
Vinted, Reverb, TCGPlayer & Discogs Scraper — Sold Comps
Compute real sold market comps (P25, Median, P75, 30d velocity) and live buy/resell arbitrage margins across Vinted, Reverb, TCGPlayer, and Discogs using Chrome TLS & JSON APIs. Built for pro resellers, collectibles shops, Discord/Telegram deal bots, and n8n arbitrage alerts.
Pricing
$2.50 / 1,000 marketplace comp or listing delivereds
Rating
0.0
(0)
Developer
Xavier Richard
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 hours ago
Last modified
Categories
Features
Share
Reseller Arbitrage & Sold Comps (reseller-arbitrage-sold-comps)
Production Apify Actor for resellers, thrift/pawn/record/card shops, collectors, and Discord/Telegram/n8n deal bots to compute real sold market value (P25, Median, P75, 30-day velocity) and detect underpriced active listings (spreadPct, isUnderpriced, estimatedGrossMargin) across underserved high-arbitrage verticals.
Built on Python 3.12, apify (~=4.1), curl_cffi (Chrome TLS/HTTP2 impersonation), selectolax (LexborHTMLParser), pydantic v2, and Python statistics. Target memory: 256–512 MB, proxy-free by default.
Verified Marketplaces (Live HTTP/TLS Verification)
Every marketplace endpoint was tested live with curl_cffi before implementation:
| Marketplace | Status (No Proxy) | Data Source | Sold Comps | Active Asks | Auth / Proxy Notes |
|---|---|---|---|---|---|
| Reverb | 200 HAL+JSON | api.reverb.com/api/listings/all?show_only_sold=true & /api/listings | ✅ Individual sales | ✅ Live asks | No proxy or API key required |
| TCGPlayer | 200 JSON | mp-search-api.tcgplayer.com + mpapi.tcgplayer.com/v2/product/{id}/latestsales | ✅ Individual sales | ✅ Standard asks | No proxy or API key required |
| Discogs | 200 JSON + 200 HTML | api.discogs.com (/database/search, /releases/{id}, /marketplace/stats/{id}) + www.discogs.com/release/{id}-{slug} | ✅ Release Median + Last Sold date | ✅ Lowest ask | Optional free discogsToken increases limit (25 → 60 req/min) & enables /marketplace/price_suggestions/{id} fallback |
| Vinted | 200 HTML (SSR Flight JSON) | www.vinted.{fr,com,co.uk,de,es,it,nl,be}/catalog (self.__next_f.push + DOM fallback) | ❌ Removed on Vinted | ✅ Live asks (96/page) | Great sourcing feed paired with sold anchors; no proxy required |
Platforms Explicitly Excluded from Proxy-Free Defaults
- eBay (
ebay.com,.fr,.co.uk,.de): Tested withchrome124,chrome131, andsafari17_0TLS impersonation — returns403 Error Pagefrom Akamai Bot Manager (Server: AkamaiGHost,bm_s/bm_socookies) on datacenter/non-residential connections. Requires residential proxies or official eBay Browse/Marketplace Insights OAuth API. - Discogs
/sell/history&/sell/listweb routes: Gated behind Cloudflare JS Challenge (Just a moment...). The Actor cleanly usesapi.discogs.com+www.discogs.com/release/{id}-{slug}(200 OK) instead.
Architecture & Output
1. Unified Dataset Schema (ListingComp)
Every item pushed to the Apify Dataset conforms to:
query,marketplace(reverb|tcgplayer|discogs|vinted)itemId,title,condition,listingType(sold|active_ask)price,shippingPrice,totalPrice,currency(kept in native listing currency)soldDate(ISO timestamp/date forsold,nullforactive_ask)sellerCountry,url,imageUrlisUnderpriced(bool),estimatedGrossMargin(float | nullintargetCurrency),discountBelowMedianPct(float | null)
2. Arbitrage Analytics & Relevance Filtering (KEY_VALUE_STORE / MARKET_SUMMARY)
For every query, src/relevance.py filters out off-topic search hits (strictQueryMatch: true) and accessory/parts noise (excludeAccessories: true — adapters, knobs, manuals, empty boxes, posters, pins, sleeves, etc. unless present in your query) before src/analytics.py normalizes currencies to targetCurrency (USD, EUR, GBP, or CAD) and stores MARKET_SUMMARY in the Default Key-Value Store:
soldCount,activeCount,soldVelocity30d,filteredNoiseCountp25SoldPrice,medianSoldPrice,p75SoldPriceminActivePricespreadPct:((medianSoldPrice - minActivePrice) / medianSoldPrice) * 100underpricedCount& topunderpricedDeals
3. Delta Mode (onlyNew) & Discord / n8n Webhook Alerts
- Enable
onlyNew: truefor scheduled cron monitoring (e.g., every 10–15 minutes). - Seen keys (
marketplace:listingType:itemId) persist in the named Key-Value Storereseller-arbitrage-sold-comps-state. - Smart design: Fresh sold comps are always evaluated to compute an accurate
medianSoldPrice, while previously seen listings are skipped from dataset delivery, Pay-Per-Event billing, and webhook notifications. - If
webhookUrlis set, newisUnderpricedactive deals are sent automatically:- Discord (
discord.com/api/webhooks/...): rich green embeds (chunked 10/message) with ask price, sold median, estimated margin, discount %, condition, and thumbnail. - n8n / Make / Telegram relay: structured JSON payload (
event: "underpriced_deals_detected").
- Discord (
4. Pay-Per-Event Billing
Charges comp-item via Actor.get_charging_manager() in batches of 25 and enforces maxTotalChargeUsd strictly before each batch.
Local Development & Testing
# Run unit & fixture integration testspython -m pytest -v# Run Actor locally with Apify CLIapify run