Skip to content

About

eBay sold history API: up to 3 years (1,095 days) of eBay sold prices by keyword between any two dates. Python and Node.js examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

eBay Sold History API: 3 Years of Sold Prices (2026)

Short answer: eBay's sold search and the Marketplace Insights API stop at about 90 days, and findCompletedItems was retired in February 2025. CompSniper's GET /v1/research/sold returns up to 3 years (1,095 days) of eBay sold history by keyword, between any two dates, on all 8 eBay sites. It is on every plan, including the free one (100 requests a month).

Use it for slow-moving items, seasonal trends, price history after a release, or a sale from last year.

curl

curl -H "Authorization: Bearer $COMPSNIPER_API_KEY" \
  "https://api.compsniper.com/v1/research/sold?keyword=nintendo+switch+oled&startDate=2023-11-05&endDate=2026-11-04&sort=lastSoldDescending&limit=50"

Python

python python/sold_history.py "nintendo switch oled" 2023-11-05 2026-11-04

Node.js (18+)

node node/sold-history.mjs "nintendo switch oled" 2023-11-05 2026-11-04

Both scripts page through results (50 rows a page) and print the sale date, units sold and average sold price.

Parameters

Parameter Values
keyword 1 to 200 characters (required)
startDate, endDate YYYY-MM-DD, up to 3 years back (required)
ebaySite ebay.com (default), ebay.co.uk, ebay.com.au, ebay.ca, ebay.de, ebay.fr, ebay.it, ebay.es
sort lastSoldDescending (newest first) or quantityAscending
limit 10, 20 or 50 rows per page
page 1 to 200
singleUnitOnly true keeps only listings that sold exactly one unit

Full reference: 3-year eBay sold history API docs.

Related

About

eBay sold history API: up to 3 years (1,095 days) of eBay sold prices by keyword between any two dates. Python and Node.js examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages