Home › APIs › Binance

Binance API — how to get keys, cost & limits

✓ Ultima verifica: 15-08-2026· Fonte: pagina ufficiale dei prezzi del fornitore· Monitoraggio automatico — segnalare il cambiamento →

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

UseCosto
Market data (REST/WS)Gratuito
Spot trading fee~0.1% (less with BNB / VIP)
USDⓈ-M futures (taker)~0.04%
API accessGratuito
⚠️ 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. · Segnala prezzo obsoleto →
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. Vai a Account → API Management.
3. Clic Create API, choose System generated, label it, and verify by 2FA/email.
4. Copia il API Key E 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 E OKX.

Domande frequenti

Is the Binance API free to use?

Yes. Creating API keys and calling market-data endpoints costs nothing — you only pay Binance's normal trading fees on orders the API places, around 0.1% for spot (less with BNB or VIP tiers) and roughly 0.04% taker on USDⓈ-M futures.

How do I get Binance API keys?

Sign up and complete identity verification (KYC) at binance.com, go to Account → API Management, click Create API, choose System generated, label it and verify by 2FA/email, then copy the API Key and Secret — the secret is shown only once.

What are Binance's API rate limits?

Spot REST endpoints share a 6,000 request-weight-per-minute limit per IP, tracked via the X-MBX-USED-WEIGHT response header. Order placement is additionally capped at 100 orders per 10 seconds and 200,000 orders per 24 hours. Exceeding a limit returns HTTP 429.

How do I keep Binance API keys secure?

Enable only the permissions you need (Reading-only for data bots), restrict the key to your server's IP address, never enable withdrawals unless absolutely required, and store the secret in an environment variable rather than in client-side code or a git repo.

Browse all API guides → · trade safely — size positions with RektCalc.

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

Ospita il tuo progetto:DigitalOcean: $ 200 gratis ↗Hostinger VPS
MappeRicerca e raschiamentoCloud e sviluppoConfronta i prezzi di oltre 300 modelli AICalcolatore della latenza e del tempo di risposta LLM

Scambi

BybitBinanceOKXKuCoinBitgetGate.ioMEXC

Strumenti e hosting

📈TradingView🔒NordVPN💳 RivoluzioneDigitalOcean $200HostingerIA intricata📧Icemail