npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

buda-promise

v0.3.3

Published

buda.com REST API wrapper using promises

Readme

buda-promise

npm install buda-promise

A promise-based Node.js wrapper for the Buda REST API. Refer to their docs for full parameter details.

var Buda = require('buda-promise');

// Public API — no credentials needed
var buda = new Buda();
buda.ticker('btc-clp').then(function(ticks) {
  console.log(ticks);
});

// Private API — requires API key and secret
var buda = new Buda('your-api-key', 'your-api-secret');
buda.balance('clp').then(function(balance) {
  console.log(balance);
});

// Custom timeout (default: 5000ms)
var buda = new Buda('your-api-key', 'your-api-secret', { timeout: 10000 });

Supported Markets

BTC-CLP, BTC-COP, BTC-PEN, BTC-USDC, ETH-CLP, ETH-COP, ETH-PEN, ETH-BTC, BCH-CLP, BCH-COP, BCH-PEN, BCH-BTC, LTC-CLP, LTC-COP, LTC-PEN, LTC-BTC, USDC-CLP, USDC-COP, USDC-PEN, USDT-CLP, USDT-COP, USDT-PEN, USDT-USDC, SOL-CLP, SOL-COP, SOL-PEN

Public API

| Method | API docs | |--------|----------| | buda.markets() | Mercados | | buda.market(market) | Mercados | | buda.ticker(market) | Ticker | | buda.tickers() | Todos los Tickers | | buda.order_book(market) | Libro de ordenes | | buda.volume(market) | Volumen transado | | buda.trades(market, timestamp, limit) | Trades | | buda.fees(currency, type) | Costos de abonos/retiros | | buda.get_quotation(market, type, amount, limit) | Cotizaciones |

Private API

Account

| Method | API docs | |--------|----------| | buda.me() | Informacion personal | | buda.balance(currency) | Balances |

Orders

| Method | API docs | |--------|----------| | buda.order_pages(market, per, page, state) | Obtener mis ordenes | | buda.new_order(market, type, price_type, limit, amount, client_id) | Nueva orden | | buda.single_order(order_id) | Detalle de orden | | buda.order_by_client_id(client_id) | Detalle de orden por Client ID | | buda.cancel_order(order_id) | Cancelar orden | | buda.cancel_order_by_client_id(client_id) | Cancelar orden por Client ID | | buda.cancel_orders(market, type) | Cancelar todas mis ordenes | | buda.batch_orders(diff) | Lote de ordenes |

Deposits & Withdrawals

| Method | API docs | |--------|----------| | buda.deposits(currency, per, page, state) | Mis abonos/retiros | | buda.withdrawals(currency, per, page, state) | Mis abonos/retiros | | buda.new_fiat_deposit(currency, amount, simulate) | Nuevo abono fiat | | buda.new_fiat_withdrawal(currency, amount, simulate) | Nuevo retiro fiat | | buda.new_crypto_withdrawal(currency, amount, target_address, simulate) | Nuevo retiro cripto | | buda.new_crypto_address(currency) | Nuevo abono cripto | | buda.get_address(currency, address_id) | Nuevo abono cripto |

Lightning Network

| Method | API docs | |--------|----------| | buda.lightning_withdrawal(amount, invoice, simulate) | Nuevo retiro lightning | | buda.lightning_network_invoices(amount, currency, memo, expiry_seconds) | Nuevo abono lightning |

Cross Border Payments

| Method | API docs | |--------|----------| | buda.quote_remittance(params) | Cotizar remesa | | buda.accept_remittance(remittance_id) | Aceptar cotizacion | | buda.remittance(remittance_id) | Consultar remesa | | buda.remittances(per, page) | Mis remesas | | buda.remittance_recipients(per, page) | Destinatarios de remesas | | buda.remittance_recipient(recipient_id) | Destinatario especifico |

Related

  • buda-cli — command line interface for buda.com built on top of this package

License

MIT