Coinbase Advanced Trade gives a clean REST + WebSocket API for spot trading and market data on one of the most regulated exchanges. Here's how to get keys and what it costs.
| Use | Costo |
|---|---|
| Market data (REST/WS) | Gratuito |
| Spot taker fee | ~0.4–0.6% (lower at volume) |
| Spot maker fee | ~0.25–0.4% |
| API access | Gratuito |
1. Sign up / log in at coinbase.com and finish identity verification.
2. Aprire Settings → API (Advanced Trade) and click New API Key.
3. Pick the portfolio, set permissions (View / Trade) and add an IP allow-list.
4. Save the Chiave API E secret — the secret is shown once.
5. Usa il Advanced Trade endpoints (not the legacy retail API) for trading.
Never share your secret — regenerate it if leaked. For data-only bots enable read-only. Always whitelist your server IP E disable withdrawals on API keys unless you truly need them — a leaked withdraw-enabled key can drain your account.
Coinbase fees run higher than offshore venues — for cheaper derivatives see Bybit E OKX; for pure price data CoinGecko.
Yes. Creating API keys and calling market-data endpoints costs nothing — you only pay Coinbase's normal trading fees on orders the API places, around 0.4-0.6% spot taker (lower at higher volume tiers) and roughly 0.25-0.4% maker.
Sign up and complete identity verification at coinbase.com, open Settings → API (Advanced Trade), click New API Key, pick the portfolio, set permissions (View / Trade) and an IP allow-list, then save the API key and secret — the secret is shown only once.
Advanced Trade's private (authenticated) endpoints are throttled per user at 30 requests per second, while public market-data endpoints are throttled per IP address at 10 requests per second. Exceeding either limit returns HTTP 429.
Never share your secret — regenerate it if leaked. Enable read-only permissions for data-only bots, restrict trade keys to your server's IP address, and disable withdrawals on API keys unless you truly need them, since a leaked withdraw-enabled key can drain your account.
← All crypto exchange APIs · trade safely — size positions with RektCalc.
Not affiliated with Coinbase. Exchange link is a referral link.