Skip to Content
GuideseBay sold listings API

eBay Sold Listings API: How to Get Sold Prices in 2026

To get eBay sold prices by API, send a keyword to GET https://api.sellercomps.com/scrape with your key in the Authorization: Bearer header. You get up to 240 completed sales back as JSON, newest first, each with the sold price, sale date, condition, shipping and seller. It works on eBay in 8 countries, and the first 100 requests every month are free with no card.

This guide covers why eBay itself no longer gives most developers this data, how to make your first request, which parameters matter, how to read the response, and how to scale from one search to thousands.

Why you need a sold listings API

Asking prices tell you what sellers hope for. Sold prices tell you what buyers actually paid, and that is the number every repricing tool, buying app and collection tracker needs.

eBay used to offer this through the findCompletedItems call in its Finding API. That API was retired in February 2025. Its replacement, the Browse API, only returns active listings. The one official route to sold data, the Marketplace Insights API, is a limited release for approved partners, so most developers cannot get a key at all.

A sold listings API like SellerComps fills that gap: you sign up, get a key in about a minute, and call one endpoint.

Your first request

curl -G "https://api.sellercomps.com/scrape" \ --data-urlencode "keyword=nintendo switch oled" \ -H "Authorization: Bearer YOUR_API_KEY"

The same call in Python:

import requests r = requests.get( "https://api.sellercomps.com/scrape", params={"keyword": "nintendo switch oled", "count": 240}, headers={"Authorization": "Bearer YOUR_API_KEY"}, timeout=90, ) r.raise_for_status() data = r.json() prices = sorted(float(x["soldPrice"]) for x in data["results"]) median = prices[len(prices) // 2] if prices else None print(data["count"], "sales, median", median)

And in JavaScript:

const url = new URL("https://api.sellercomps.com/scrape"); url.searchParams.set("keyword", "nintendo switch oled"); const r = await fetch(url, { headers: { Authorization: "Bearer YOUR_API_KEY" } }); const data = await r.json(); console.log(data.count, data.results[0]);

The parameters that matter most

You only need keyword. These are the ones most people add next:

ParameterWhat it does
ebaySiteWhich eBay to search: ebay.com, ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ca or ebay.com.au
count1 to 240 results, default 240
page1 to 100, to read older sales for the same keyword
itemConditionany, new or used
buyingFormatall, auction, buyItNow or acceptsOffers
minPrice / maxPriceKeep sales inside a price band, in the site’s currency
soldAfter / soldBeforeKeep sales inside a date range, YYYY-MM-DD
categoryIdLimit to one eBay category
soldfalse returns active listings instead of sales
formatcsv returns a spreadsheet file instead of JSON

Write the keyword the way you would type it into eBay’s search box. eBay’s minus sign still works, so iphone 15 pro -case -box drops accessory listings before they reach your median.

Reading the response

{ "keyword": "nintendo switch oled", "ebaySite": "ebay.com", "count": 236, "results": [ { "itemId": "1256xxxxxxxx", "title": "Nintendo Switch OLED Model White Joy-Con Console", "soldPrice": "239.00", "soldCurrency": "USD", "endedAt": "2026-11-27", "condition": "Pre-Owned", "buyingFormat": "buyItNow", "bidCount": null, "shippingPrice": "0", "shippingType": "free", "totalPrice": "239.00", "sellerUsername": "pixelpawn", "url": "https://www.ebay.com/itm/1256xxxxxxxx", "thumbnailUrl": "https://i.ebayimg.com/images/g/..." } ] }

A few things to know:

  • soldPrice and totalPrice are decimal strings, so convert them before you do math.
  • totalPrice is price plus shipping. Use it when you compare free-shipping and paid-shipping sales.
  • endedAt is the day the item sold. Results are sorted newest first by default.
  • bidCount is set on auctions and null on Buy It Now sales.
  • count is the number of sales in this response, not the total that exist on eBay.

Eight countries, eight currencies

Each eBay site returns prices in its own currency: USD for the US, GBP for the UK, EUR for Germany, France, Italy and Spain, CAD for Canada and AUD for Australia. Check soldCurrency before you mix results from more than one site.

Scaling up: pages, batches and CSV

More sales for one keyword. Ask for page=2, page=3 and so on, up to 100. Each page is one request.

Many keywords. Send up to 100 keywords to POST /scrape/batch. You get a job id at once and collect results as they finish:

curl -X POST "https://api.sellercomps.com/scrape/batch" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords": ["steam deck 512gb", "ps5 slim", "airpods pro 2"], "count": 240}'

Spreadsheets. Add format=csv and open the file in Excel or Google Sheets.

Active listings. Add sold=false to compare what is listed now with what actually sold.

Errors and billing

Only successful searches count. A search with no matches returns 404 and is free. A 429 means you sent too much at once: wait for the Retry-After header. A 502, 503 or 504 means eBay was slow; retry after a few seconds. None of those use your allowance.

FAQ

Is there a free eBay sold listings API?

Yes. SellerComps gives 100 requests a month with no card, and each request returns up to 240 sold listings.

Can I still use findCompletedItems?

No. eBay retired the Finding API, including findCompletedItems, in February 2025. See the findCompletedItems replacement guide for a parameter by parameter migration.

How many sold listings can I get per keyword?

Up to 240 per request and up to 100 pages per keyword, newest first.

Does it work for countries other than the US?

Yes. Set ebaySite to any of the 8 supported eBay sites and prices come back in that site’s currency.