Binance
Binance is the world's largest cryptocurrency exchange by trading volume, providing APIs for spot trading, futures, margin, wallet management, and market data across 19+ specialized REST APIs and WebSocket streams.
APIs
Binance Spot Trading API
The Binance Spot Trading REST API provides programmatic access to the Binance spot exchange, the world's largest cryptocurrency trading platform by volume. Developers can place ...
Binance Spot WebSocket API
The Binance Spot WebSocket API provides an alternative way to access spot trading functionality through persistent WebSocket connections. It is functionally equivalent to the RE...
Binance Spot WebSocket Streams
Binance Spot WebSocket Streams deliver real-time market data updates via persistent WebSocket connections. Developers can subscribe to individual symbol ticker streams, aggregat...
Binance USD-S Margined Futures API
The Binance USD-S Margined Futures API enables trading of USDT and BUSD margined perpetual and delivery futures contracts. Developers can place leveraged long and short position...
Binance COIN-M Futures API
The Binance COIN-M Futures API provides access to coin-margined perpetual and delivery futures contracts, where the margin and settlement currency is the base cryptocurrency rat...
Binance European Options API
The Binance European Options API provides access to European-style cryptocurrency options contracts. Developers can trade call and put options on assets like BTC and ETH, query ...
Binance Portfolio Margin API
The Binance Portfolio Margin API enables cross-margining across spot, futures, and options positions under a unified margin account. This risk-based margining system calculates ...
Binance Margin Trading API
The Binance Margin Trading API allows developers to programmatically access cross-margin and isolated-margin trading functionality. Users can borrow assets, place leveraged trad...
Binance Wallet API
The Binance Wallet API provides endpoints for managing cryptocurrency deposits, withdrawals, and account balances. Developers can query deposit and withdrawal history, retrieve ...
Binance Sub-Account API
The Binance Sub-Account API enables institutional and enterprise users to manage multiple sub-accounts under a master account. Developers can create and manage sub-accounts, tra...
Binance Simple Earn API
The Binance Simple Earn API provides programmatic access to flexible and locked savings and staking products. Developers can subscribe to and redeem earn products, query availab...
Binance Mining API
The Binance Mining API provides access to Binance Pool mining services. Developers can retrieve mining algorithms, available coins for mining, detailed miner statistics, earning...
Binance Copy Trading API
The Binance Copy Trading API allows developers to interact with the copy trading platform where users can automatically replicate the trades of experienced lead traders. The API...
Binance Convert API
The Binance Convert API provides a simple interface for converting between cryptocurrencies and fiat currencies at quoted prices. Unlike order-book trading, the Convert API offe...
Binance Pay API
The Binance Pay API enables merchants and businesses to accept cryptocurrency payments from Binance users. Developers can create payment orders, query payment status, process re...
Binance Algo Trading API
The Binance Algo Trading API provides access to algorithmic order execution strategies such as TWAP (Time-Weighted Average Price) and volume participation algorithms. Developers...
Binance Auto-Invest API
The Binance Auto-Invest API enables developers to create and manage recurring cryptocurrency purchase plans, also known as dollar-cost averaging (DCA) strategies. Users can set ...
Binance Crypto Loan API
The Binance Crypto Loan API provides programmatic access to cryptocurrency-collateralized lending services. Developers can borrow assets by pledging cryptocurrency as collateral...
Binance Gift Card API
The Binance Gift Card API allows developers to create, redeem, and verify cryptocurrency gift cards programmatically. Businesses can integrate gift card creation into rewards pr...
Binance NFT API
The Binance NFT API provides endpoints for interacting with the Binance NFT marketplace programmatically. Developers can query NFT transaction history, deposit and withdrawal re...
Binance Fiat API
The Binance Fiat API provides access to fiat currency deposit and withdrawal operations on the Binance platform. Developers can query fiat deposit and withdrawal order history, ...
Capabilities
Features
Buy and sell 500+ cryptocurrency pairs with limit, market, and stop-loss orders.
Trade perpetual and delivery futures contracts settled in USDT.
Trade perpetual and delivery futures contracts settled in cryptocurrency.
Trade on margin with up to 10x leverage using borrowed assets.
Place algorithmic orders using TWAP, VP, and other execution strategies.
Real-time market data streams for price, depth, and trade updates.
Manage deposits, withdrawals, and asset transfers between wallets.
Earn interest on idle cryptocurrency assets through flexible and locked products.
Use Cases
Build automated trading bots using Binance REST and WebSocket APIs.
Track and rebalance cryptocurrency portfolios programmatically.
Aggregate real-time price and order book data for analysis or display.
Bridge centralized Binance liquidity into DeFi protocols.
Exploit price differences across Binance spot, futures, and margin markets.
Integrations
Connect Binance to TradingView for charting and automated alert-based trading.
Use MetaTrader bridge adapters to trade Binance from MT4/MT5.
Receive Binance trade notifications and alerts via Telegram bot.
Run serverless trading bots triggered by events on AWS Lambda.
Access Binance through the CCXT unified cryptocurrency exchange library.
Event Specifications
Binance Pay Webhooks
Binance Pay sends webhook notifications to merchants for real-time payment status updates. When a customer completes a payment or a refund is processed, Binance Pay sends an HTT...
ASYNCAPIBinance Spot WebSocket API
The Binance Spot WebSocket API provides an alternative way to access spot trading functionality through persistent WebSocket connections. It is functionally equivalent to the RE...
ASYNCAPIBinance Spot WebSocket Streams
Binance Spot WebSocket Streams deliver real-time market data updates via persistent WebSocket connections. Developers can subscribe to individual symbol ticker streams, aggregat...
ASYNCAPI