Binance

by binance9960c675387bMIT1K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 weeks ago

Use binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.

Instructions onlyBusiness & Finance
AI-generated overview

Guides use of the binance-cli tool for Binance trading, account, wallet and market data operations.

What it does
This skill documents how to install and use binance-cli, a command-line client for Binance. It provides a setup procedure, a table of helper commands covering spot, futures, margin, options, wallet, earn, loan and other services, and notes on authentication, profiles, timestamps and raw requests. It produces command invocations and their stdout/stderr output rather than files.
When to use it
Use it when an agent needs to run Binance operations through binance-cli, such as checking market data, managing accounts or placing trades. It is also relevant when installing or upgrading the CLI or looking up which helper command covers a given Binance service.
Requirements
Requires the binance-cli binary, installed via npm or the release installer script, plus network access to Binance and authenticated credentials described in the auth reference. The skill ships no scripts of its own; it is instructions and reference documents only.

Binance

binance-cli setup

Before using binance-cli:

  1. If global npm package @binance/binance-cli exists and binance-cli --version is < 2.0.0, uninstall it:
sh
npm uninstall -g @binance/binance-cli
  1. Install the latest release:
sh
curl --proto '=https' --tlsv1.2 -LsSf \  https://github.com/binance/binance-cli/releases/latest/download/binance-cli-installer.sh \  | sh
  1. Verify:
sh
binance-cli --version

PREREQUISITE: Read auth.md for auth, global flags, and security rules.

Helper Commands

CommandDescription
algoAlgo Trading
alphaAlpha
c2cC2C
convertConvert
copy-tradingCopy Trading
crypto-loanCrypto Loan
derivatives-optionsDerivatives Trading (Options)
derivatives-portfolio-marginDerivatives Trading (Portfolio Margin)
derivatives-portfolio-margin-streamsDerivatives Trading Streams (Portfolio Margin)
derivatives-portfolio-margin-proDerivatives Trading (Portfolio Margin Pro)
derivatives-portfolio-margin-pro-streamsDerivatives Trading Streams (Portfolio Margin Pro)
dual-investmentDual Investment
fiatFiat
futures-coinDerivatives Trading (COIN-M Futures)
futures-coin-streamsDerivatives Trading Streams (COIN-M Futures)
futures-usdsDerivatives Trading (USDS-M Futures)
futures-usds-streamsDerivatives Trading Streams (USDS-M Futures)
gift-cardGift Card
margin-tradingMargin Trading
margin-trading-streamsMargin Trading Streams
miningMining
payPay
rebateRebate
simple-earnSimple Earn
spotSpot Trading
spot-streamsSpot Trading Streams
stakingStaking
sub-accountSub Account
vip-loanVIP Loan
walletWallet

Notes

  • ⚠️ Prod transactions — always ask user to type CONFIRM before executing.
  • Install binance-cli using npm install -g @binance/binance-cli
  • Use --help to get the list of commands and parameters.
  • Use the output from both stdout and stderr.
  • Append --profile <name> to any command to use a non-active profile.
  • All authenticated endpoints accept optional --recvWindow <ms> (max 60 000).
  • Timestamps (startTime, endTime) are Unix ms.
  • For endpoints not listed in the skill, use binance-cli request (GET|POST|PUT...) <url> [--signed]. Any Parameters can be added to the request (e.g: --param1 value --param2 value).

Source and attribution

Source:binance/binance-skills-hubinskills/binance/binanceat commit9960c67

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal