Skip to Content
Sold listings
Open in ChatGPTOpen in ClaudeUpdated November 29, 2026

Sold listings

Send a keyword to GET /scrape and you get up to 240 completed eBay sales for it, newest first: what each item sold for, the day it sold, its condition, shipping, how it sold (auction, Buy It Now, accepted Best Offer), the seller and the photo. It works on 8 eBay countries, each in its own currency, and returns JSON or a CSV file.

GEThttps://api.sellercomps.com/scrape
curl -G "https://api.sellercomps.com/scrape" \ --data-urlencode "keyword=nintendo switch oled" \ --data-urlencode "itemCondition=used" \ --data-urlencode "count=240" \ -H "Authorization: Bearer YOUR_API_KEY"
At a glance
ReturnsUp to 240 sales per request, newest first; page past that with page
CountriesUS, UK, Germany, France, Italy, Spain, Canada, Australia
FormatsJSON (default) or CSV with format=csv
Cost1 request per successful call. A search with no sales, or a failed call, is never counted
Same data, shared formatGET /sold?source=ebay, see one format for all

Parameters

ParameterTypeWhat it does
keywordrequiredstringWhat to search for, exactly as you would type it on eBay. Up to 300 characters.
ebaySitestringWhich eBay to search. Defaults to ebay.com. See the marketplace list.
countintegerNumber of results, 1 to 240. Defaults to 240.
pageintegerPage of results, 1 to 100, to go beyond the first response.
soldbooleantrue (default) returns completed sales. false returns current active listings.
sortOrderstringendedRecently, timeNewlyListed, pricePlusPostageLowest, pricePlusPostageHighest or distanceNearest.
itemConditionstringany, new or used. For an exact eBay condition, pass conditionId.
buyingFormatstringall, auction, buyItNow or acceptsOffers.
minPrice / maxPricenumberOnly sales inside this price band, in the marketplace currency.
soldAfter / soldBeforedateOnly sales completed in this date range, format YYYY-MM-DD.
itemLocationstringdefault, domestic or worldwide.
categoryIdstringOnly one eBay category, by its number.
cleanbooleantrue drops lots, bundles, parts or repair, empty boxes, cases and accessories, replicas and proxies, so only the item itself is left.
bestOfferPricebooleantrue adds what the buyer really paid on sales that ended with an accepted Best Offer (acceptedOfferPrice). eBay shows only the asking price on those.
formatstringjson (default) or csv. CSV returns one row per sale as a file.

conditionId takes an exact eBay condition number (for example 3000 for Used) when itemCondition is too broad. Every parameter is optional except keyword.

Response

Example response100 lines, long lists cut to a few rowsReal answer, Nov 29, 2026
GET /scrape?keyword=nintendo+switch+oled&count=3
{ "keyword": "nintendo switch oled", "ebaySite": "ebay.com", "count": 3, "page": 1, "hasNextPage": true, "totalResults": 6600, "results": [ { "itemId": "327422329001", "url": "https://www.ebay.com/itm/327422329001?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l140.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Console - 64GB - White", "condition": "Pre-Owned", "conditionId": 3000, "sellerType": null, "buyingFormat": "buyItNow", "bestOfferAccepted": null, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "112.51", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "245.47", "sellerUsername": "powerup149", "sellerPositivePercent": 100, "sellerFeedbackScore": 127, "productRating": 4.5, "productReviewCount": 7, "itemLocation": "Australia", "scrapedAt": "2026-11-29T06:37:08.324188+00:00", "endedAt": "2026-11-28", "soldPrice": "132.96", "soldCurrency": "USD" }, { "itemId": "267857649709", "url": "https://www.ebay.com/itm/267857649709?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l140.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Model Console System, White Joy-Con, HDMI Connectivity", "condition": "Open Box", "conditionId": 1500, "sellerType": null, "buyingFormat": null, "bestOfferAccepted": true, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "11.55", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "191.55", "sellerUsername": "willjame.cqntdc", "sellerPositivePercent": 100, "sellerFeedbackScore": 45, "productRating": null, "productReviewCount": null, "itemLocation": "United States", "scrapedAt": "2026-11-29T06:37:08.324188+00:00", "endedAt": "2026-11-28", "soldPrice": "180.00", "soldCurrency": "USD" }, { "itemId": "287766635991", "url": "https://www.ebay.com/itm/287766635991?nordt=true", "thumbnailUrl": "https://i.ebayimg.com/images/g/45QAAeSwT2hrCJal/s-l140.jpg", "fullResThumbnailUrl": "https://i.ebayimg.com/images/g/45QAAeSwT2hrCJal/s-l1600.jpg", "epid": null, "title": "Nintendo Switch OLED Legend of Zelda Tears of the Kingdom Edition Console New", "condition": "Brand New", "conditionId": 1000, "sellerType": null, "buyingFormat": null, "bestOfferAccepted": true, "bidCount": null, "categoryId": null, "listingType": "sold", "shippingPrice": "13.96", "shippingCurrency": "USD", "shippingType": "paid", "totalPrice": "388.95", "sellerUsername": "leo.maxwell", "sellerPositivePercent": 100, "sellerFeedbackScore": 315, "productRating": 5, "productReviewCount": 33, "itemLocation": "United States", "scrapedAt": "2026-11-29T06:37:08.324188+00:00", "endedAt": "2026-11-28", "soldPrice": "374.99", "soldCurrency": "USD" } ] }
FieldMeaning
keyword, ebaySiteWhat you searched, and where
countSales in this answer (up to 240)
page, hasNextPageThe page you asked for, and whether eBay has more
totalResultseBay’s count of sales that match (an estimate eBay rounds)
resultsThe sales. Every field is listed in response fields
cleanedWith clean=true: how many rows were left out and why

Each sale carries the fields you price with (soldPrice, soldCurrency, endedAt, condition, shippingPrice, totalPrice, buyingFormat, bidCount, bestOfferAccepted) and the ones you link and show with (itemId, url, title, thumbnailUrl, sellerUsername), plus details such as seller feedback, item location and the eBay product id when eBay shows them.

Recipes

Median sold price

The median is the price half the sales were above and half below. It ignores the odd $1 auction and the overpriced outlier, so it is the number most sellers price from.

import statistics, requests r = requests.get( "https://api.sellercomps.com/scrape", params={"keyword": "nintendo switch oled", "clean": "true"}, headers={"Authorization": "Bearer YOUR_API_KEY"}, timeout=90, ) r.raise_for_status() prices = [float(s["soldPrice"]) for s in r.json()["results"]] print(len(prices), "sales, median", statistics.median(prices))

clean=true leaves out lots, parts and empty boxes first, so the median is for the item itself. In the shared format (/sold?source=ebay), the median comes ready in summary.median.

By condition

Ask once per condition, or ask once and group the rows by condition:

const url = new URL("https://api.sellercomps.com/scrape"); url.search = new URLSearchParams({ keyword: "nintendo switch oled" }).toString(); const res = await fetch(url, { headers: { Authorization: "Bearer YOUR_API_KEY" } }); const { results } = await res.json(); const byCondition = {}; for (const s of results) (byCondition[s.condition] ??= []).push(Number(s.soldPrice)); for (const [condition, prices] of Object.entries(byCondition)) { prices.sort((a, b) => a - b); console.log(condition, prices.length, "sales, median", prices[Math.floor(prices.length / 2)]); }

itemCondition=new or itemCondition=used filters on eBay’s side, so every one of the 240 rows is the condition you want.

By date range

soldAfter and soldBefore keep sales completed inside the range, YYYY-MM-DD:

curl -G "https://api.sellercomps.com/scrape" \ --data-urlencode "keyword=charizard 4/102 psa 8" \ --data-urlencode "soldAfter=2026-10-01" \ --data-urlencode "soldBefore=2026-10-31" \ -H "Authorization: Bearer YOUR_API_KEY"

eBay’s sold search covers the last few months. For older sales, up to 3 years back, use 3 years of eBay history.

Auctions only, or Buy It Now only

buyingFormat=auction shows what the market bid; buyingFormat=buyItNow shows what sellers got at a fixed price. Sales that ended with an accepted Best Offer have bestOfferAccepted: true; their soldPrice is the asking price, and bestOfferPrice=true adds what the buyer really paid (see Best Offer prices).

A price band

minPrice=150&maxPrice=400 drops accessories and parts listed under the item’s name and the rare outlier above it.

A spreadsheet

format=csv returns the same sales as a CSV file, one row per sale, ready for Excel or Google Sheets. For live formulas inside Google Sheets, see the Sheets price checker guide.

More than 240 sales

Each request returns up to 240 sales. Ask for page=2, page=3 and so on while hasNextPage is true; each page is one request. See pagination.

Cleaner comps and real Best Offer prices

  • clean=true leaves out lots, bundles, parts or repair, empty boxes, cases and accessories, and replicas, so the sales you get are the item itself. See clean comps.
  • bestOfferPrice=true adds acceptedOfferPrice to sales that ended with an accepted Best Offer. See Best Offer prices.

Both are free: the search is one request either way.

Errors

StatusCodeWhenWhat to do
400invalid_paramsA missing keyword, an unknown ebaySite or format, a bad dateFix the request
404not_foundThe page is past the last page of results, or the categoryId does not exist. Not countedStop paging
429rate_limitedOver your plan’s requests a minuteWait for Retry-After
502upstream_blockedeBay did not answer this search this time. Not countedRetry after Retry-After
503server_busyMany searches at once. Not countedRetry after a few seconds
504upstream_timeoutThe search took too long. Not countedRetry

Use a client timeout of at least 90 seconds. Every error has the same body: see errors and retries.