Binance API
World's largest crypto exchange — real-time order book, trades, OHLCV
Binance’s API is one of the most comprehensive in the crypto industry, offering free access to real-time order book data, trade history, candlestick (OHLCV) data, and market statistics for 500+ trading pairs. WebSocket streams provide real-time trade and book depth updates. Trading endpoints require API key authentication with HMAC signing. The combination of data richness, speed, and zero cost for market data makes it the most used API for crypto trading bots, data analytics platforms, and market monitoring tools. Note: US users should use Binance.US API.
API Details
Categories
Frequently Asked Questions
The Binance API supports trading bots, portfolio managers, price alert systems, arbitrage tools, market data dashboards, and custom trading interfaces. You can query market data without authentication, but trading and account operations require API keys generated from your Binance account settings.
Binance market data API is completely free u2014 no API key required for public endpoints. You only need keys for account-specific operations (placing orders, viewing balances). Rate limits are 1,200 requests per minute for REST and 10 connections per second for WebSocket. Trading fees (0.1% per trade) still apply to actual trades.
Yes. Binance's WebSocket API provides real-time streams for individual symbol prices, order book depth, trades, candlestick (kline) data, and account updates. You can subscribe to multiple streams in a single connection. The combined stream format allows up to 200 streams per connection. This is essential for low-latency trading applications.
Binance.com API is restricted in the United States and some other jurisdictions. US users should use the Binance.US API (us.binance.com) which has the same structure but covers only US-approved trading pairs. Check Binance's terms of service for your country before building production applications.
