using npm package kraken-api