CompSniper
100 free requests, every StockX size

StockX sales, asks and bids by size through one API.

Use GET /v1/stockx/sales to get the latest individual StockX sales of a product or of one size with price, size, date and order type, GET /v1/stockx/product for the lowest ask, highest bid and last sale of every size with the style code, colorway, retail price and release date, and GET /v1/stockx/search to find products by keyword or style code, with one CompSniper API key. The answer comes back in the same call.

Reviewed by Marc Andrew, owner of CompSniper. Updated November 28, 2026.

curl --fail-with-body \
  -H "Authorization: Bearer $COMPSNIPER_API_KEY" \
  "https://api.compsniper.com/v1/stockx/sales?styleId=DZ5485-612&size=10"
Endpoint
GET /v1/stockx/sales
Results per page
Up to 50 sales per product or per size, 40 products per search page
Coverage
StockX sneakers, apparel, accessories, collectibles and trading cards, priced for 10 regions
What the API provides

Marketplace evidence without building another scraper

Sales by size and date

Individual sales with the exact size and time, the latest 50 per product or per size, with a summary for every size.

Find it by style code

Send the code on the box (DZ5485-612) and get the product, its market for every size and its sales.

One key for every marketplace

Use the same CompSniper key, allowance and credits for StockX, eBay sold comps, Grailed, Poshmark, Mercari, Depop, Vinted, TCGplayer and PSA.

Request filters

Start with a keyword, then narrow the page

Authentication uses the same CompSniper API key as every other endpoint. No StockX account or developer key is required.

ParameterAccepted valuesDefault
productIdStockX product slug or URLproductId or styleId
styleIdStyle code, such as DZ5485-612productId or styleId
size10, US M 10, EU 44, UK 9, 7W, M, XLAll sizes
count1 to 50 sales, newest first50
soldAfter, soldBeforeDates such as 2026-11-01None
priceHistorytrue adds the 12 month average pricefalse
marketus, ca, uk, de, fr, it, es, nl, au, jpus
Response

Stable JSON with native fields

Every sales answer includes a median, average and p25 to p75 range, plus a summary per size.

Response
{
  "keyword": "DZ5485-612",
  "marketplace": "stockx",
  "market": "us",
  "currency": "USD",
  "product": {
    "productId": "air-jordan-1-retro-high-og-chicago-reimagined-lost-and-found",
    "title": "Jordan 1 Retro High OG Chicago Lost and Found",
    "styleId": "DZ5485-612",
    "colorway": "Varsity Red/Black-Sail-Muslin",
    "retailPrice": 180,
    "releaseDate": "2022-11-19"
  },
  "size": "10",
  "totalItems": 50,
  "items": [
    { "price": 282, "currency": "USD", "size": "10", "soldAt": "2026-11-27T23: 21: 24.552Z", "orderType": "express" }
  ],
  "summary": { "count": 50, "currency": "USD", "median": 270.5, "min": 217, "max": 455 },
  "bySize": [
    { "size": "10", "count": 50, "median": 270.5, "lastSale": 282, "lastSoldAt": "2026-11-27T23: 21: 24.552Z" }
  ]
}
Returned fields

The data needed for pricing workflows

  • Sale price, size, sale time and order type
  • Summary per size: count, median, min, max, last sale
  • Lowest ask, highest bid and last sale for every size
  • Number of asks and bids, sales in the last 72 hours and 90 days
  • Style code, colorway, retail price, release date and images
  • Size in US, UK, EU and CM, and the UPC of every size
  • 12 month average price history
Common workflows

Built for resale tools and repeatable research

Sneaker pricing tools

Price a pair by its exact size from real recent sales instead of the product average.

Resale arbitrage

Compare StockX asks and sales with eBay and Grailed sold prices for the same item.

Inventory valuation

Value a collection size by size with the last sale, the lowest ask and the highest bid.

FAQ

StockX API questions

Does StockX have a public API?+

StockX's own API is for approved sellers to manage their listings. It does not give you the sales history or the market of any product. CompSniper provides versioned endpoints for StockX search, market data by size and individual sales, so an app or spreadsheet can read StockX with one CompSniper API key and no StockX account.

Can I get StockX sales history by size?+

Yes. GET /v1/stockx/sales returns the latest 50 sales of a product with price, size, date and order type, and with size= it returns the latest 50 sales of that one size. Every answer has a summary per size, and priceHistory=true adds the average price over the last 12 months.

Can I look a sneaker up by its style code?+

Yes. Send styleId (the code on the box, such as DZ5485-612) to search, product or sales. Dashes, spaces and capital letters do not matter.

Which sizes and regions are supported?+

Every size StockX lists: US men and women, UK, EU and CM for sneakers, and letter sizes for apparel. Send the size the way you read it, such as 10, EU 44, UK 9 or XL. Prices can be read for the US, Canada, the UK, Germany, France, Italy, Spain, the Netherlands, Australia and Japan in their own currency.

What market data comes with each size?+

The lowest ask, the highest bid, the last sale and how it changed, the number of asks and bids, sales in the last 72 hours, the 90 day average price and sales count, the UPC and the size in every system.

How is it billed?+

One successful call is one request from your normal CompSniper allowance, for search, product and sales. Failed requests and unknown products are free. The free plan includes 100 requests a month.

Run your first StockX search

Create a free account, get an API key, and use the same quota from REST, the dashboard, or CompSniper MCP tools.