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 | Cost |
|---|---|
| Market data (REST/WS) | Free |
| Spot taker fee | ~0.4โ0.6% (lower at volume) |
| Spot maker fee | ~0.25โ0.4% |
| API access | Free |
1. Sign up / log in at coinbase.com and finish identity verification.
2. Open 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 API key and secret โ the secret is shown once.
5. Use the 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 and 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 and OKX; for pure price data CoinGecko.
โ All crypto exchange APIs ยท trade safely โ size positions with RektCalc.
Not affiliated with Coinbase. Exchange link is a referral link.