Binance
Exchange for Trading Cryptocurrencies based in China
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Cryptocurrency
- Documentation / URL
- https://github.com/binance/binance-spot-api-docs
Overview
The Binance API powers the world’s largest crypto exchange. Public market data is keyless — prices, order books, klines and exchange info for hundreds of pairs; trading and account endpoints require API keys with signed requests.
Note: the listing’s description (“based in China”) is outdated — Binance’s global exchange operates internationally.
Quick Start
Public market data — no key needed (verified live):
curl "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT"
{"symbol": "BTCUSDT", "price": "67234.50"}
Order book:
curl "https://api.binance.com/api/v3/depth?symbol=BTCUSDT&limit=5"
Candlestick (klines) data:
curl "https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1d&limit=10"
24h ticker / exchange info:
curl "https://api.binance.com/api/v3/ticker/24hr?symbol=BTCUSDT"
curl "https://api.binance.com/api/v3/exchangeInfo"
Authentication (for trading)
- Create an API key in Binance account settings (restrict to the permissions you need — read/spot trade/margin).
- Requests are HMAC-SHA256 signed (query string + secret) with
X-MBX-APIKEYheader and timestamp. - Keep the secret server-side, never in client code.
- Different regions may use different API hosts (e.g.
api.binance.usfor the US) — use the host for your region.
Rate Limits & Notes
- Public endpoints have per-IP weight limits (documented in the API docs); 429/403 appear on abuse.
- Websocket streams (
wss://stream.binance.com) provide real-time market data. - The listed GitHub repo is the official Spot API documentation.
FAQ
Is Binance API free? Public market data is free and keyless; trading uses the exchange’s normal fee schedule.
Do I need a key for prices? No — tickers, order books and klines are public.
How does trading auth work? HMAC-signed requests with your API secret — see the official docs.
More in Cryptocurrency
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 0x API for querying token and pool stats across various liquidity pools | No auth | Yes | Yes | ↗ |
| 1inch API for querying decentralize exchange | No auth | Yes | Unknown | ↗ |
| Alchemy Ethereum Ethereum Node-as-a-Service Provider | API Key | Yes | Yes | ↗ |
| Alpha (Mossland) Korean crypto channel stance + RAG Q&A + canonical entity/topic/event store | No auth | Yes | Yes | ↗ |
| Bitcambio Get the list of all traded assets in the exchange | No auth | Yes | Unknown | ↗ |