Skip to Content
3 years of history
Open in ChatGPTOpen in ClaudeUpdated November 29, 2026

3 years of eBay history

eBay’s sold search shows only the last few months. GET /history goes back up to 3 years: every listing that sold in the date range, newest first, with eBay’s own totals for the whole period (how many sold, the average, lowest and highest price, the sell-through rate). One request per page.

GEThttps://api.sellercomps.com/history
curl -G "https://api.sellercomps.com/history" \ --data-urlencode "keyword=nintendo switch oled" \ --data-urlencode "startDate=2024-01-01" \ --data-urlencode "limit=50" \ -H "Authorization: Bearer YOUR_API_KEY"

With a keyword alone you get the last 3 years. Prices are in US dollars on every eBay site.

Parameters

ParameterTypeDescription
keywordstringRequired. Up to 200 characters.
startDatedateFirst day, YYYY-MM-DD. Default: 3 years before today, and no earlier.
endDatedateLast day, YYYY-MM-DD. Default: today (UTC), and no later.
ebaySitestringebay.com (default), ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ca or ebay.com.au.
pageinteger1 to 200. Follow nextPage until it is null.
limitintegerRows per page: 10, 20 or 50 (default 50).
sortstringlastSoldDescending (default, newest sale first) or quantityAscending.
singleUnitOnlybooleantrue keeps only listings that sold exactly one unit.
allListingSitesbooleantrue also counts sales of listings made on another eBay site.
relevancebooleantrue drops rows that are not the searched product; the answer then has relevanceApplied: true.
cleanbooleantrue drops lots, bundles, parts, empty boxes, accessories and replicas (see clean comps).
formatstringjson (default) or csv.

A date before the 3-year limit, an end date after today, or a start date after the end date answers 400 and is not counted.

Response

Example response155 lines, long lists cut to a few rowsReal answer, Nov 29, 2026
GET /history?keyword=nintendo+switch+oled&limit=10
{ "source": "ebay_sold_history", "ebaySite": "ebay.com", "displayCurrency": "USD", "startDate": "2023-11-29", "endDate": "2026-11-29", "page": 1, "limit": 10, "sourceResultCount": 10, "resultCount": 10, "hasNextPage": true, "nextPage": 2, "relevanceApplied": false, "excluded": { "invalidRow": 0, "outsideDateRange": 0, "multipleUnits": 0, "duplicate": 0 }, "totals": { "totalSold": 244832, "totalSellers": 52312, "averageSoldPrice": { "amount": "110.94", "currency": "USD", "display": "$ 110.94" }, "minSoldPrice": { "amount": "0.01", "currency": "USD", "display": "$ 0.01" }, "maxSoldPrice": { "amount": "16497.50", "currency": "USD", "display": "$ 16,497.50" }, "averageShipping": { "amount": "11.42", "currency": "USD", "display": "$ 11.42" }, "totalSales": { "amount": "27161662.08", "currency": "USD", "display": "$ 27,161,662.08" }, "freeShippingPercent": "71.34", "sellThroughPercent": null }, "results": [ { "itemId": "900118889443", "title": "Nintendo Switch OLED Smash Bros Ultimate Bundle CIB + Extra Gray Joy-Cons", "extendedTitle": null, "itemUrl": "https://www.ebay.com/itm/900118889443", "imageUrl": "https://i.ebayimg.com/00/s/MTYwMFgxMjAw/z/G3YAAeSw~XdrBghe/$_57.JPG?set_id=880000500F", "recordType": "single_unit_listing", "soldUnits": 1, "averageSoldPrice": { "amount": "229.99", "currency": "USD", "display": "$ 229.99" }, "totalSales": { "amount": "229.99", "currency": "USD", "display": "$ 229.99" }, "averageShipping": { "amount": "15.03", "currency": "USD", "display": "$ 15.03" }, "soldPrice": { "amount": "229.99", "currency": "USD", "display": "$ 229.99" }, "soldDate": "2026-11-29", "lastSoldDate": "2026-11-29", "condition": null, "conditionId": null, "listingFormat": "Fixed price", "bids": 0 }, { "itemId": "187070387975", "title": null, "extendedTitle": null, "itemUrl": "https://www.ebay.com/itm/187070387975", "imageUrl": null, "recordType": "single_unit_listing", "soldUnits": 1, "averageSoldPrice": { "amount": "165.88", "currency": "USD", "display": "$ 165.88" }, "totalSales": { "amount": "165.88", "currency": "USD", "display": "$ 165.88" }, "averageShipping": { "amount": "12.00", "currency": "USD", "display": "$ 12.00" }, "soldPrice": { "amount": "165.88", "currency": "USD", "display": "$ 165.88" }, "soldDate": "2026-11-29", "lastSoldDate": "2026-11-29", "condition": null, "conditionId": null, "listingFormat": "Fixed price", "bids": 0 }, { "itemId": "128216749357", "title": "Nintendo Switch OLED Model Console 64GB Joy-Con Controllers | White - Open Box", "extendedTitle": null, "itemUrl": "https://www.ebay.com/itm/128216749357", "imageUrl": "https://i.ebayimg.com/00/s/NjIzWDE0NTY=/z/fjkAAeSwiDNrB0ks/$_1.JPG?set_id=8800005007", "recordType": "listing_aggregate", "soldUnits": 2, "averageSoldPrice": { "amount": "262.31", "currency": "USD", "display": "$ 262.31" }, "totalSales": { "amount": "524.61", "currency": "USD", "display": "$ 524.61" }, "averageShipping": null, "soldPrice": null, "soldDate": null, "lastSoldDate": "2026-11-29", "condition": null, "conditionId": null, "listingFormat": "Fixed price", "bids": 0 } ], "warnings": [ "Listing-level records, not a transaction feed. Multi-unit rows contain averages.", "USD is the research display currency, not necessarily the listing's original currency.", "Older listing titles, links, images and conditions may be unavailable." ] }
FieldMeaning
sourceAlways ebay_sold_history
ebaySite, displayCurrencyThe site searched; prices are in US dollars on every site
startDate, endDateThe date range searched
page, limit, hasNextPage, nextPagePaging: follow nextPage until it is null
resultCountRows on this page after relevance and clean; sourceResultCount is the count before them
relevanceApplied, warningsWhether relevance=true filtered the page, and any note about the search
totals.totalSold, totals.totalSellersUnits sold and sellers over the whole range
totals.averageSoldPrice, minSoldPrice, maxSoldPriceAverage, lowest and highest price over the range
totals.averageShipping, totals.freeShippingPercentAverage shipping and the share of sales with free shipping
totals.totalSales, totals.sellThroughPercentMoney taken over the range, and the share of listings that sold
results[].recordTypesingle_unit_listing or listing_aggregate (see below)
results[].soldUnitsUnits sold from that listing in the range
results[].soldPrice, results[].soldDatePrice and day, on single unit listings
results[].averageSoldPrice, totalSales, lastSoldDateOn listings that sold several units
results[].averageShipping, listingFormat, bids, condition, conditionIdShipping, Auction or Fixed price, bids and condition
results[].itemId, title, itemUrl, imageUrlThe listing

Money values are objects with amount (a decimal string), currency and display.

Each row is a listing. single_unit_listing rows sold one unit, with soldPrice and soldDate. listing_aggregate rows sold several units from one listing: soldUnits, the averageSoldPrice, totalSales and the lastSoldDate. totals covers the whole date range, the same on every page. totalSold is an upper limit on the number of rows.

In the shared row format

Add history=true to /sold?source=ebay to get the same sales in the shared row format, with a median over the page and the totals under history:

curl -G "https://api.sellercomps.com/sold" \ --data-urlencode "source=ebay" \ --data-urlencode "history=true" \ --data-urlencode "keyword=lego 75192" \ -H "Authorization: Bearer YOUR_API_KEY"

soldAt is the sale date (the last sale on listings that sold several units) and price the price paid (the average on those listings). The same startDate, endDate, limit and sort parameters apply.

Limits

History searches count like any request: one per page, failures free. History also has its own pace: a burst of history searches can answer 429 with code: history_rate_limited and a Retry-After header. Very broad keywords over 3 years can take a while; a shorter date range answers faster.

Recipes

Price by month for a chart. Page through the range with limit=50 and group the rows by month of lastSoldDate, weighting each row by soldUnits. The 3-year chart guide has the full code.

Compare this year with last year. Two calls with startDate and endDate one year apart; compare totals.averageSoldPrice and totals.totalSold. Each call is one request, whatever the range.

Only clean single sales. singleUnitOnly=true&clean=true keeps listings that sold one item and leaves out lots, parts and accessories.