Offical StockX API Node package ( see official docs & example)
npm i @albertogferrario/stockx-api
For accessing StockX public API you need to provide the JWT token provided after the OAuth2 Authentication Code flow, see official docs.
const StockxApi = require("@albertogferrario/stockx-api");
const stockxApi = new StockxApi(<API_KEY>, <JWT>);
TO DO