BarcodesDocs

GET Resale Prices

The answer comes from the Barcodes.gg price cache. Each size has its own as_of time and source. A size that the marketplace lists without a current price has price: null. The size stays in the list.

Routes

/api/v2/prices/{style_code}
/api/v2/prices/barcode/{barcode}
  • {style_code}: 2 to 80 characters (letters, digits, space, ., _, /, -). Example: DZ5485-612.
  • {barcode}: a UPC or EAN with 8 to 14 digits. The answer keeps only the size of that barcode on each site.

Ability

  • prices (Standard, Standard Plus, Pro, Pro Plus and Enterprise)

Cost

One API call for each answered request. A request without cached prices costs nothing.

Response 200 (success)

{
  "error": false,
  "results": {
    "barcode": "0196975491234",
    "barcode_size": { "us": "12", "uk": "11", "eu": "46" },
    "style_code": "DZ5485-612",
    "as_of": "2026-10-25T06:49:08+00:00",
    "is_stale": false,
    "sites": [
      {
        "site_id": 1,
        "site": "StockX",
        "currency": "EUR",
        "market": "ES.vat-registered",
        "is_consign": false,
        "as_of": "2026-10-22T20:43:42+00:00",
        "sizes": [
          {
            "as_of": "2026-10-22T20:43:42+00:00",
            "source": "mindset",
            "size_index": 21,
            "size": "12",
            "us": "12",
            "eu": "46",
            "uk": "11",
            "price": 280,
            "bid": 240,
            "sales": 12
          }
        ]
      }
    ]
  },
  "response_time": "XXXms",
  "request_fulfilled": true,
  "request_debited": true
}

barcode and barcode_size are present only on the barcode route.

Fields

FieldMeaning
as_of (top level)Newest price time over all sites
is_staletrue when the newest price is older than 24 hours
site_id, siteMarketplace. Examples: 1 StockX, 4 Alias, 6 Laced, 10 HypeBoost, 13 NordicSneakers, 14 Poizon, 15 Woovin, 16 SneakerAsk
currencyISO currency of the prices on this row
marketStockX market (for example ES.vat-registered), alias-region-2 for Alias, or null
is_consigntrue for consignment prices
sizes[].priceLowest ask, or null when the size is listed without a price
sizes[].bidHighest bid, when the marketplace gives one
sizes[].salesSales count that the marketplace reports for the size. The time window depends on the marketplace.
sizes[].us, eu, ukSize labels from the product's size chart

Response 200 (no prices)

{
  "error": true,
  "message": "No prices are cached for this product.",
  "response_time": "XXXms",
  "request_fulfilled": true,
  "request_debited": false
}

Response 403, 422 or 503

{
  "error": true,
  "message": "token depleted, invalid style code or barcode, or prices temporarily unavailable",
  "response_time": "XXXms",
  "request_fulfilled": false,
  "request_debited": false
}