Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ionomy-node with all npm packages installed. Try it out:

var ionomyNode = require("ionomy-node")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ionomy-node v1.0.0

Ionomy API client for Node.js


Ionomy API client for Node.js


Get you api key and secret from

Initialize Client

const Ionomy = require('ionomy-node');

const client = new Ionomy({
  apiKey: 'abcdapikey',
  apiSecret: 'abcdapisecret',

Public Methods

await client.currencies();
await client.orderBook({ market: 'btc-hive', type: 'both' });
await client.marketSummaries();
await client.marketSummary('btc-hive');
await client.marketHistory('btc-hive');

Market Methods

await client.limitBuy({ market: 'btc-hive', amount: '100', price: '0.00005' });
await client.limitSell({ market: 'btc-hive', amount: '100', price: '0.00005' });
await client.cancelOrder('5b8e8c980e454f2b807863ee');
await client.openOrders('btc-hive');

Account Methods

await client.balances();
await client.balance('hive');
await client.depositAddress('hive');
await client.depositHistory('hive');
await client.withdraw({ currency: 'hive', amount: '100', address: 'reazuliqbal' });
await client.withdrawalHistory('hive');
await client.order('5b8e8c980e454f2b807863ee');
await client.orderHistory('btc-hive');
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free