Key Type | When to Use | Example |
---|---|---|
Secret API Key | Server-side code only (never exposed) | Backend API, automated trading bot |
Client API Key | Client-side code (can be exposed) | React app, mobile app |
OAuth Client | When users need to login with their Coinbase account | ”Sign in with Coinbase” feature |
More on key algorithms
Product | Ed25519 Keys | ECDSA Keys | Documentation | Notes |
---|---|---|---|---|
CDP APIs | ✅ | ✅ | CDP API Authentication | |
CDP SDK | ✅ | ✅ | TypeScript / Python | |
Advanced Trade API | ✅ | ✅ | Coinbase App API Key Authentication | Direct API calls work with both |
Advanced Trade SDK | ❌ | ✅ | Coinbase App API Key Authentication | Use ECDSA keys only |
AgentKit | ✅ | ✅ | AgentKit Quickstart | Supports Ed25519 via CDP Server Wallets; Eliza framework requires ECDSA |
Coinbase App API | ✅ | ✅ | Coinbase App API Key Authentication | Direct API calls work with both |
Coinbase App SDK | ❌ | ✅ | Coinbase App API Key Authentication | Use ECDSA keys only |
Commerce API | ✅ | ✅ | Commerce Authentication | Uses X-CC-Api-Key header (not JWT) |
Exchange API | ✅ | ✅ | Exchange Authentication | Separate key system with passphrase |
International Exchange | ✅ | ✅ | Intl Exchange Authentication | Separate key system with passphrase |
Prime API | ✅ | ✅ | Prime Authentication | Separate key system with passphrase |
Sign in with Coinbase | ✅ | ✅ | OAuth Documentation | OAuth flow |