Easy way to add Bisq Network API to your JS application.
Help me to stack sats! 😊
bc1qn6d6g8ln5zppnh0k70sgmr745td7j2xsgw7elm
Or donate via Lightning Network!
Using npm:
$ npm install bisq-js
Using yarn:
$ yarn add bisq-js
Provides list of available currencies for a given base currency.
import bisq from 'bisq-js';
const currencies = await bisq.getCurrencies();
console.log(currencies);
Provides list of open offer prices for a single market.
import bisq from 'bisq-js';
const depth = await bisq.getDepth();
console.log(depth);
Provides hi/low/open/close data for a given market. This can be used to generate a candlestick chart.
import bisq from 'bisq-js';
const hloc = await bisq.getHloc({ market: 'xmr_btc' });
console.log(hloc);
Provides list of available markets.
import bisq from 'bisq-js';
const markets = await bisq.getMarkets();
console.log(markets);
Provides list of open offer details for a single market.
import bisq from 'bisq-js';
const offers = await bisq.getOffers({ market: 'xmr_btc' });
console.log(offers);
Provides 24 hour price ticker for single market or all markets
import bisq from 'bisq-js';
const ticker = await bisq.getTicker();
console.log(ticker);
Provides 24 hour price ticker for single market or all markets
import bisq from 'bisq-js';
const trades = await bisq.getTrades({ market: 'xmr_btc' });
console.log(trades);
Provides periodic volume data in terms of base currency for one or all markets.
import bisq from 'bisq-js';
const volumes = await bisq.getVolumes();
console.log(volumes);
- Website: https://bisq.network
- API Documentation: https://bisq.markets/api/
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.