StockX API alternative: StockX prices without a seller account
StockX does not offer an open API for price data. Its official API is for approved StockX sellers. Barcodes.gg returns StockX prices per size by style code or by barcode, with normal API calls and no StockX account. This page compares the two. Barcodes.gg publishes this page and is not affiliated with StockX.
Last checked:
Does StockX have a public API?
StockX publishes an official API, but it is not open to everyone. We read the StockX developer portal (developer.stockx.com) and its OpenAPI file on 25 October 2026. They state these points:
- Access: StockX sellers only, after a review. The portal says: "Approval may take 5-7 business days".
- Authentication: an API key plus OAuth 2.0.
- Market: market data follows the market of your seller account. StockX deprecated the
countryparameter, so a caller cannot pick the market for each call.currencyCodesets the display currency. - Barcode: a GTIN lookup returns the product variant. Market data for that variant is a second call.
- Limits: 25,000 requests per 24 hours, and 1 request per second.
So without a StockX seller account, you cannot get an official StockX API key for price data.
StockX prices with Barcodes.gg
Barcodes.gg is a sneaker barcode and product data API, run by Reactive Systems SL. Its price API returns StockX prices per size, as JSON. Two endpoints do this:
GET /api/v2/prices/{style_code}returns every size of a style code.GET /api/v2/prices/barcode/{barcode}finds the style code and size of a UPC or EAN, then returns the prices of that size only.
Each StockX size has price (the lowest ask), bid, sales and its own as_of time. Each row names its currency and market. The same answer also holds Alias prices, unless you ask for StockX only with sites=stockx.
These are normal API calls. One answered request uses one call from the monthly allowance of your plan, and the parameters cost nothing extra. A product without cached prices returns "error": true and does not use a call. Prices are on Standard Plus (€79 per month, 10,000 calls) and higher plans. The free trial does not include prices.
Official StockX API or Barcodes.gg
| Feature | Official StockX API | Barcodes.gg price API |
|---|---|---|
| Who can use it | Approved StockX sellers | Any customer on Standard Plus or a higher plan |
| Account needed | StockX seller account, API key and OAuth 2.0 | A Barcodes.gg API token; no StockX account |
| Input | StockX product and variant ids; GTIN lookup as a separate call | Style code or barcode (UPC or EAN) |
| Barcode to price | Two calls: GTIN to variant, then market data | One call, for the size of the barcode |
| Market | The market of your seller account | market on each call: EU or one of 19 countries, up to 3 per call |
| Currency | currencyCode | currency: 30 StockX currencies, default EUR |
| Alias prices | No | Yes, in the same answer |
| Your own listings and orders | Yes | No |
| Published limits | 25,000 requests per 24 hours, 1 per second | The monthly calls of your plan; the rate limit is set by the plan |
StockX facts: StockX developer portal and OpenAPI file, read on 25 October 2026. Barcodes.gg facts: the resale prices documentation.
Example: StockX prices for the UK market in GBP
One GET request with a Bearer token. This request asks for the StockX prices of style code DZ5485-612 in the GB market, in pounds:
curl "https://barcodes.gg/api/v2/prices/DZ5485-612?sites=stockx&market=GB¤cy=GBP" -H "Authorization: Bearer YOUR_API_TOKEN"To get the price of the pair in a scanned box, send its barcode:
curl "https://barcodes.gg/api/v2/prices/barcode/195245980597?sites=stockx" -H "Authorization: Bearer YOUR_API_TOKEN"The barcode answer adds barcode and barcode_size, the size of the barcode in each sizing system. The sneaker resale price API page shows a full response.
StockX markets and currencies
currency: one of 30 StockX currencies, such asEUR,GBP,USD,JPYorAUD. The default isEUR.market:EU, the shared market of the EU countries, or a country with its own StockX prices:GB,CH,NO,US,CA,MX,HK,MO,TW,JP,KR,SG,MY,PH,AU,NZ,AE,SAorIL. An EU country code answers asEU. Send up to 3 markets in one call. The default isEU.consign:false,trueorboth. For StockX, consignment is Flex.fresh: withauto, the API pulls a price live when no price for the requested market is under 60 minutes old. Withcache, it answers from the cache only.
A value off the allowed list returns HTTP 422 with the allowed values. Alias prices are in USD in every region, and region picks the Alias region.
When the official StockX API is the better choice
- You sell on StockX and want to manage your own listings and orders.
- You need the data that StockX gives a seller about the market of its own account.
- Your project must use a source that StockX itself runs.
Barcodes.gg is not a StockX partner. It does not create listings, place bids or read orders.
Limits of Barcodes.gg
- It covers two marketplaces: StockX and Alias. It has no GOAT source.
- It has no sales history endpoint. Each size has a
salescount. - It has no free tier for prices. Prices start on Standard Plus at €79 per month.
- Coverage depends on the product. Test the style codes and barcodes that you handle before you buy.
Other price APIs are in the sneaker price API comparison, including Packet and SoleFetch.
Get resale prices by API
Resale prices from StockX and Alias are on Standard Plus (€79 per month) and higher plans. One answered request uses one call. A product without cached prices is not charged.
Frequently asked questions
Does StockX have a public API?
StockX has an official API for approved StockX sellers. Access needs a review, an API key and OAuth 2.0. It is not an open API for price data.
Can I get StockX prices without a StockX seller account?
Yes, with a price data API. Barcodes.gg returns StockX prices per size by style code or barcode on Standard Plus and higher plans. It needs no StockX account. Barcodes.gg is not affiliated with StockX.
Can I look up StockX prices by barcode?
Yes. GET /api/v2/prices/barcode/{barcode} finds the style code and size of a UPC or EAN and returns the StockX and Alias prices for that size, in one call.
Which StockX markets and currencies can I choose?
currency takes one of 30 StockX currencies, default EUR. market takes EU or one of 19 countries with their own StockX prices, up to 3 per call, default EU.
Is this the official StockX API?
No. The official StockX API is for StockX sellers. Barcodes.gg is a separate price data API and is not affiliated with StockX.
Guides
SKU lookup vs barcode lookup for resellers
The difference between looking up a product by SKU or style number and by barcode, and when to use each one for sourcing.
Barcode API guide: integrate product lookup into your app
A walkthrough for developers: how a barcode API turns a scanned GTIN into structured product data inside your application.
How to build a barcode scanner product-lookup feature
How to connect a camera scanner to a product-data API so users can scan an item and see what it is.
StockX, GOAT, Alias and the other product and company names on this page are trademarks of their owners. Barcodes.gg is not affiliated with them.