Sneaker Price API: StockX and Alias Prices by Size, as JSON
5:31, English, . Watch on YouTube
The Barcodes.gg price API returns StockX and Alias resale prices per size as JSON, from a style code or the barcode on a shoe box. This video walks through the request, the fields, the parameters and the barcode-to-size-to-price call. Example prices on the page are as of 2 December 2026.
Open: Sneaker price API: StockX and Alias prices per size
Chapters
Transcript
0:00Sneaker price API: StockX and Alias resale prices per size
A sneaker price API answers with resale prices per size: send a style code or the barcode from a shoe box to the barcodes.gg price API, and it returns StockX and Alias prices for every size as JSON. A barcode request finds the size of that barcode and returns the prices for that size only, and the same token also returns product data: name, colourway, size, images and release date.
0:30Example request and response
The style code call is GET barcodes.gg /api/v2/prices/ followed by the style code. In the example on our page, style code CJ9179-200 returns a StockX row in EUR for the EU market, with one entry per size, and each size carries its own as_of time. You send the API token as a Bearer header, and you need no StockX account: one barcodes.gg token gives StockX and Alias prices.
1:08Fields
Each marketplace names its values. StockX sizes show the lowest ask, the bid and the number of sales, and a StockX size without an ask has price null. Alias sizes show the lowest ask in the region, the bid, the last sale, a global indicator and the number of sales. The global indicator is a price guide, not an ask, and a field is null when Alias supplies no value.
1:37Request parameters
Both endpoints take the same optional parameters, and all of them are on every plan with prices at no extra call. sites picks stockx, alias or all. currency is one of 30 StockX currencies, EUR by default, such as GBP or USD; Alias prices are in USD in every region. market picks the StockX market, EU or a country such as GB or US, up to 3 at once, and region picks the Alias region. A value that is not on the list returns HTTP 422 with the allowed values.
2:17Freshness and coverage
consign takes false, true or both, and on StockX consignment means Flex. fresh controls speed: with auto, the API pulls StockX and Alias live when no matching price is under 60 minutes old; with cache, it answers from the cache only and does not wait. The top-level as_of is the newest price over all sites, and is_stale is true when that newest price is older than 24 hours.
2:51Barcode to size to price in one call
The barcode endpoint is the shortcut. A barcode identifies one size of one colourway, so GET barcodes.gg /api/v2/prices/barcode/ followed by the barcode finds the style code and size of that barcode in the barcodes.gg catalogue and returns that size only, from StockX and Alias. The answer adds two keys: barcode and barcode_size, the size of the barcode in each sizing system. So a scan-in tool does not need a size table of its own: one request gives the product, the size and the resale prices for the pair in the box. On 29 November 2026 the catalogue held 3.12 million barcodes, each stored with its size. A matching barcode shows which product a number belongs to, nothing more, and a barcode that is not in the database returns not found.
3:57Marketplaces and markets
The price API covers two marketplaces: StockX and Alias, the marketplace of GOAT Group, with no separate GOAT price source. Each row names its site, currency and market, and one style code can have several rows for one marketplace, one per market or per consignment type. A product can have prices on StockX, on Alias or on both, and a request for a product without a price is not charged. Resale prices come with the API on the trial and on the Standard, Standard Plus, Pro, Pro Plus and Enterprise plans. Standard is 49 EUR a month with 10,000 calls, Standard Plus is 79 EUR with 10,000 calls, Pro is 99 EUR with 50,000 calls, Pro Plus is 129 EUR with 50,000 calls and Enterprise is 199 EUR with 200,000 calls. The API needs a paid plan after the 7-day, 100-call trial. To try it, start the 7-day, 100-call trial, which covers barcode lookups and resale prices, and run the example request from the page with your own token. The full parameters and examples are in the resale prices documentation, and every plan, parameter and field is on barcodes.gg /sneaker-price-api.
Try it yourself
The video walks through Sneaker price API: StockX and Alias prices per size. Open it and look up your own barcode.