Home โ€บ APIs โ€บ Binance

Binance API โ€” how to get keys, cost & limits

โœ“ Last verified: 2026-07-15ยท Source: official provider pricing pageยท Auto-monitored โ€” report change โ†’

Binance has the deepest liquidity in crypto and a powerful API for spot, futures (USDโ“ˆ-M & COIN-M), margin and market data over REST and WebSocket. Here's how to get keys and what it costs.

What the API does & cost

UseCost
Market data (REST/WS)Free
Spot trading fee~0.1% (less with BNB / VIP)
USDโ“ˆ-M futures (taker)~0.04%
API accessFree
โš ๏ธ The Binance API is free to use โ€” you only pay trading fees on the trades it places. Fees and limits change; confirm on the official docs. Market-data (read-only) endpoints cost nothing. ยท Report outdated price โ†’
New to Binance?
Create an account with our referral link โ€” new users often get a trading-fee discount. You support APICostCalc (we earn a small share of fees, at no extra cost to you).
Sign up on Binance โ†’

How to get your Binance API keys (step by step)

1. Sign up / log in at binance.com and complete identity verification (KYC) โ€” required for API trading.
2. Go to Account โ†’ API Management.
3. Click Create API, choose System generated, label it, and verify by 2FA/email.
4. Copy the API Key and Secret โ€” the secret is shown only once.
5. Set permissions (enable only what you need: Reading, Spot Trading, Futures) and restrict access to your server IP.

Quick test

# public market data โ€” no key needed
curl "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT"

Security โ€” read this

Never share your secret; it can't be recovered (regenerate if leaked). For data-only bots, enable Reading only. Always whitelist your IP. Disable withdrawals on API keys unless you absolutely need them โ€” a leaked withdraw-enabled key drains your account.

Alternatives

Bybit and OKX have similar APIs with lower derivatives fees; for pure price data, CoinGecko is simpler. See Bybit and OKX.

Browse all API guides โ†’ ยท trade safely โ€” size positions with RektCalc.

Not affiliated with Binance. Exchange link is a referral link.

Host your project:DigitalOcean โ€” $200 free โ†—Hostinger VPS
MapsSearch & ScrapingCloud & DevCompare 300+ AI Model PricesLLM Latency & Response Time Calculator

Exchanges

BybitBinanceOKXKuCoinBitgetGate.ioMEXC

Tools & Hosting

๐Ÿ“ˆ TradingView๐Ÿ”’ NordVPN๐Ÿ’ณ RevolutDigitalOcean $200Hostinger