Reprice a listing with sold comps
A listing that has sat for weeks is usually priced above what buyers pay. This guide checks one listing against three numbers, then applies a simple repricing rule you can run every night on your whole inventory:
- what the item sold for lately (the sold median),
- what it is listed for now by other sellers (the competition),
- how many sold, which tells you how fast it moves.
Step 1: the sold median
Use the shared format: it returns a ready median, and clean=true leaves out lots, parts and empty boxes. Match your
listing’s condition.
import requests
API = "https://api.sellercomps.com"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
def sold_summary(keyword, condition):
r = requests.get(
f"{API}/sold",
params={"source": "ebay", "keyword": keyword, "itemCondition": condition, "clean": "true", "bestOfferPrice": "true"},
headers=HEADERS,
timeout=90,
)
r.raise_for_status()
return r.json()["summary"]bestOfferPrice=true counts sales that ended with an accepted Best Offer at what the buyer paid, not the asking price,
so the median is not inflated. See Best Offer prices.
Step 2: the live competition
def listed_prices(keyword, condition):
r = requests.get(
f"{API}/scrape",
params={"keyword": keyword, "sold": "false", "itemCondition": condition, "sortOrder": "pricePlusPostageLowest"},
headers=HEADERS,
timeout=90,
)
r.raise_for_status()
return sorted(float(x["currentPrice"]) for x in r.json()["results"] if x.get("currentPrice"))Sorted cheapest first, shipping included: the first few rows are what a buyer sees before your listing. See active listings.
Step 3: the rule
def new_price(my_price, keyword, condition, floor):
sold = sold_summary(keyword, condition)
listed = listed_prices(keyword, condition)
if sold["count"] < 5:
return my_price, "too few sales to decide"
median = sold["median"]
cheapest = listed[0] if listed else None
target = round(median * 0.98, 2) # just under the typical sale
if cheapest is not None and cheapest < target:
target = round(max(cheapest - 0.01, median * 0.9), 2) # meet the cheapest, never 10% under the median
target = max(target, floor) # never below your floor
if abs(target - my_price) < 0.5:
return my_price, "already priced right"
return target, f"median {median} over {sold['count']} sales, cheapest listed {cheapest}"
print(new_price(279.99, "nintendo switch oled", "used", floor=200))Tune the numbers to your margins. The rule never drops below your floor or more than 10% under the sold median, and does nothing when there are too few sales to trust.
Step 4: run it on your inventory
For a whole inventory, price the keywords in batch jobs of up to 100 keywords, then compare. A list of 300 listings is three jobs and 300 requests for the sold side, plus 300 for the live side if you check competition.
Read the speed of sale
count over a short window says how fast an item moves. With soldAfter set to 30 days ago, 40 sales means more than
one a day: price near the median and it sells. 3 sales means a slow item: a lower price may sell it, but buyers are
few at any price.
Other marketplaces
The same rule works anywhere the shared format reads: source=mercari, poshmark, grailed for clothing, stockx
for sneakers, tcgplayer for cards. See one format for all.
FAQ
How often should I reprice?
Daily for fast items, weekly for slow ones. Each check is one or two requests per listing.
Should I match the cheapest listing?
Not always. The cheapest listing may have worse condition or high shipping. Compare totalPrice, and look at the
sold median first: if the cheapest listing sits far below it, it may sell before you whatever you do.
Can SellerComps change my eBay price for me?
No. SellerComps gives you the prices; your listing tool or eBay’s own tools change the listing.