eBay solution · Price history

eBay price history API from sold listings

Track how eBay sold prices move over time by scheduling sold searches and storing each result with its sale date.

/v1

Schedule, store, chart

GET/v1/scrapeGET/v1/scrape/category

eBay only shows recent sold listings in the browser. To keep a longer price history, schedule sold searches, store each listing by item ID with its reported end date, and chart medians per day or week. SoldFetch returns the fields you need and is explicit that sale dates come from the listing source.

What teams build with the eBay Price History API

Price history turns a snapshot of sold listings into a trend you can alert on.

Weekly median price chart

Run a sold search on a schedule, de-duplicate by item ID, and chart the weekly median sold price.

Endpoint chaincron → GET /v1/scrape?sold=true → store → chart

Price drop alerts

Alert when the rolling median for a watched item moves beyond a threshold.

Endpoint chainstored history → rolling median → alert

Sales velocity

Count sold listings per period to see whether demand is rising or fading.

Endpoint chainsold count per week

Auction vs Buy It Now trend

Track how auction results compare with fixed-price sales over time.

Endpoint chainbuyingFormat=auction / buyItNow

Category index

Build an index for a category, such as trading cards, from category sold listings.

Endpoint chainGET /v1/scrape/category

Build an eBay price history in three steps

Collect, de-duplicate, and aggregate. The API handles acquisition; your database keeps the history.

Sold results are cached for 6 hours, so scheduling more often than that returns the same data.

  1. GET /v1/scrape

    Schedule a sold search per tracked item

    Use sortOrder=endedRecently and count=200 so each run captures the newest sales.

    One request per item per run.
  2. GET /v1/scrape/category

    Track whole categories

    For index-style tracking, run category sold searches with the same schedule.

    categoryId plus optional condition and price filters.
  3. GET /v1/scrape

    Aggregate by end date

    Upsert listings by itemId, then compute median, count, and range per day or week from endedAt.

    Sale dates are source-reported and not independently verified.

eBay Price History API: SoldFetch vs the usual setup

Why teams move price history collection off scrapers.

CapabilitySoldFetchTypical setup
Sale date fieldendedAt as YYYY-MM-DD, explicitly unverifiedParsed from localized date text
De-duplicationStable itemId on every listingInferred from URLs
Scheduling costOne request per page; shared 6-hour cacheProxy and retry costs per run
Bulk backfillBackground jobs paginate and export CSVCustom pagination crawler

eBay Price History API questions

Does eBay provide a sold price history API?+

eBay's official APIs do not offer a general sold listings history for third-party items. SoldFetch returns recent public sold listings, which you can store on a schedule to build your own history.

How far back does sold data go?+

Each search returns the sold listings eBay currently shows, typically recent sales. Longer histories come from storing results over time.

Are sale dates verified?+

No. endedAt is the date reported by the listing source. SoldFetch marks it as unverified and does not offer verified date filtering.

Are sold prices the amount the buyer actually paid?+

They are the sold prices eBay displays. When a Best Offer is accepted, eBay often hides the final amount, so SoldFetch returns the displayed price and marks the accepted amount as unknown instead of guessing.

How much does the eBay sold listings API cost?+

Each successful search page or item lookup is one request, including cache hits and empty results; failed requests are not charged. The free Basic plan includes 100 requests once, and paid plans start at $9 for 2,000 requests per month.

Ask AI about this eBay sold listings solution

Start collecting eBay price history

Create a free key and schedule your first sold search. Store the results and your history starts today.

Request

curl -G "https://soldfetch.com/v1/scrape" \
  -H "API-KEY: soldfetch_live_YOUR_API_KEY" \
  --data-urlencode "keyword=charizard base set" \
  --data-urlencode "ebaySite=ebay.com" \
  --data-urlencode "sold=true" \
  --data-urlencode "sortOrder=endedRecently" \
  --data-urlencode "count=200"
curl -G "https://soldfetch.com/v1/scrape/category" \
  -H "API-KEY: soldfetch_live_YOUR_API_KEY" \
  --data-urlencode "categoryId=183454" \
  --data-urlencode "ebaySite=ebay.com" \
  --data-urlencode "sold=true" \
  --data-urlencode "count=200"

Both calls use the same key, response envelope, request metadata, and documented failure model.