Practical overview
When it fits
Use it when a JavaScript application needs a common method pattern for exchange market data or authenticated exchange operations.
Who it is for
- JavaScript developers building applications that connect to cryptocurrency exchanges.
- Teams seeking a shared integration layer for market data across multiple exchanges.
Documented uses
- Fetch ticker data and order-book depth for one or more trading pairs.
- Check which exchanges list particular pairs or assets.
- Retrieve balances or submit buy and sell orders using exchange authentication.
Requirements & limits
The repository is public and declares an MIT license. The package is JavaScript and intended for server-side use.
- Trading pairs must use BASE_QUOTE notation.
- Methods return promises.
- Public methods can be called statically or through an exchange instance; authenticated methods require exchange credentials.
- Each exchange may impose its own order parameters or authentication requirements; GDAX requires a passphrase in addition to key and secret.
- The README lists Binance, Bitfinex, Bitstamp, Bittrex, GDAX, Gemini, Kraken, Liqui and Poloniex among its integrations.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Fetch ticker data for a trading pair
Use the package’s exchange interface to request current ticker information for a pair.
Before you start
- A JavaScript environment with the
crypto-exchangepackage available. - An exchange exposed by the package, such as Poloniex.
- A trading pair formatted as
BASE_QUOTE.
Steps
Require the package with
const Exchanges = require('crypto-exchange').Choose an exchange and call its
tickermethod with a pair, for exampleExchanges.poloniex.ticker('BTC_USDT').Handle the returned promise; the documented ticker response contains fields such as last price, ask, bid, high, low, volume, and a millisecond timestamp.
Expected outcome
A promise resolves with ticker information for the requested pair.
Guide limitations
- The README specifies
BASE_QUOTEpair formatting and says methods return promises. - The documented response is an example; actual pair availability depends on the exchange.
Find which exchanges support a trading pair
Retrieve the package-wide mapping of available pairs to supporting exchanges.
Before you start
- A JavaScript environment with the
crypto-exchangepackage available.
Steps
Require the package with
const Exchanges = require('crypto-exchange').Call
Exchanges.pairs().Handle the returned promise to receive the pair-to-exchange mapping.
Expected outcome
A mapping lists trading pairs and the exchanges that support each pair.
Guide limitations
- The README shows example mappings; availability can vary by exchange.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- passabilities/crypto-exchange · Official homepage title · retained in its source language

