const {TradeAPI, PublicAPI} = require("btc-e3"); const api = new TradeAPI({ key: "sekret", secret: "sekret", baseUrl: "sekret", // any url with this api specification }); api.getInfo().then((info)=>{ console.log(info.transaction_count); });