Skip to content

Binance

Access Binance market data from the terminal via the public API (no authentication required).

Mode: 🌐 Public · Domain: data-api.binance.vision

Commands

CommandDescription
opencli binance priceGet 24h ticker stats for one symbol
opencli binance pricesGet latest prices for all symbols
opencli binance tickerGet 24h ticker stats for all symbols
opencli binance pairsList exchange trading pairs
opencli binance tradesGet recent trades for one symbol
opencli binance depthGet order-book depth for one symbol
opencli binance asksShow ask-side depth for one symbol
opencli binance klinesGet candlestick data
opencli binance topShow top movers by volume
opencli binance gainersShow top gainers
opencli binance losersShow top losers

Usage Examples

bash
# One symbol, 24h stats
opencli binance price BTCUSDT

# Latest prices for all pairs
opencli binance prices

# Recent trades
opencli binance trades BTCUSDT --limit 20

# Order-book depth
opencli binance depth BTCUSDT --limit 20

# 1h candles
opencli binance klines BTCUSDT --interval 1h --limit 50

# JSON output
opencli binance top -f json

Prerequisites

  • No browser required — uses Binance public market-data endpoints

Notes

  • Symbols use Binance market format such as BTCUSDT or ETHUSDT
  • Public market-data endpoints can still be rate-limited upstream; retry if you hit transient failures

Released under the Apache-2.0 License.