n8n community node for Coinbase CDP (Developer Platform) with Advanced Trade API v3 and Server Wallet API v2
npm install n8n-nodes-coinbase-cdp

This is an n8n community node for Coinbase CDP (Developer Platform) with two powerful nodes:
- Coinbase CDP (Advanced Trade API v3) - For trading, portfolios, and market data
- Coinbase Server Wallet (API v2) - For wallet operations, deposits, withdrawals, and blockchain interactions (EVM & Solana)
Install directly from n8n:
1. Go to Settings > Community Nodes
2. Select Install
3. Enter n8n-nodes-coinbase-cdp
4. Click Install
For local development or self-hosted n8n:
``bash`
npm install n8n-nodes-coinbase-cdp
In n8n, search for "Coinbase" to find both nodes.
- 🔐 Secure Authentication: Dual credential system for Advanced Trade and Server Wallet APIs
- 📊 Complete API Coverage: Generated from official Coinbase OpenAPI specifications
- 🌐 Multi-Environment: Supports both Production and Sandbox environments
- ⚡ Two Powerful Nodes:
- Coinbase CDP: Trading, portfolios, orders, market data
- Coinbase Server Wallet: EVM & Solana wallets, deposits, withdrawals, smart accounts
- 🔗 Blockchain Support: Ethereum, Base, Arbitrum, Polygon, Solana networks
This node uses Coinbase Developer Platform (CDP) API keys with ES256 JWT authentication.
1. Go to Coinbase Developer Platform
2. Create a new API key
3. Download the private key (.pem file)organizations/{org_id}/apiKeys/{key_id}
4. Copy the API Key Name (format: )
1. In n8n, create new credentials: Coinbase CDP API
2. Enter your CDP API Key Name
3. Paste your EC Private Key (see formats below)
4. Select Environment (Production or Sandbox)
5. Click Save and test the connection
The private key can be provided in two formats:
Multi-line format (recommended):
``
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg...
-----END PRIVATE KEY-----
.env format (single-line with literal \n):``
-----BEGIN PRIVATE KEY-----\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg...\n-----END PRIVATE KEY-----
Both SEC1 (BEGIN EC PRIVATE KEY) and PKCS8 (BEGIN PRIVATE KEY) formats are supported.
This node uses two-layer JWT authentication with Secret API Key and Wallet Secret.
#### Getting Your API Keys
1. Go to Coinbase Developer Platform
2. Create a Secret API Key for Server Wallet
3. Download the Secret API Key private key (.pem file)
4. Create or export your Wallet Secret private key
5. Copy the Secret API Key Name
#### Setting Up Credentials in n8n
1. In n8n, create new credentials: Coinbase Server Wallet API
2. Enter your Secret API Key Name
3. Paste your Secret API Key (Private Key)
4. Paste your Wallet Secret (Private Key)
5. Click Save and test the connection
Note: Both private keys support multi-line and .env format (with literal \n).
Full-featured node with all Coinbase Advanced Trade API operations:
- Portfolio: View balances, portfolios, and portfolio breakdown
- Accounts: List and manage trading accounts
- Orders: Create, cancel, and query orders
- Products: Get product information, candles, and market data
- Transactions: View transaction history
- Fees: Query transaction and fee summaries
Comprehensive wallet operations for EVM and Solana blockchains:
#### EVM Operations (Ethereum, Base, Arbitrum, Polygon)
- Accounts: Create accounts, get balances, list accounts
- Transactions: Send transactions, sign transactions, get transaction status
- Smart Accounts: Create and manage smart contract accounts
- Token Operations: Token balances, token swaps
- Faucet: Request testnet tokens
#### Solana Operations
- Accounts: Create Solana accounts, get balances
- Transactions: Sign and send Solana transactions
- Token Operations: SPL token management
#### Additional Features
- Payments: Payment processing and confirmations
- Data: Blockchain data queries
- Onramp: Fiat-to-crypto onramp integration
- Policy Engine: Transaction policy management
- X402: Advanced wallet features
1. Add Coinbase CDP node
2. Select Resource: Portfolio
3. Select Operation: List Portfolios
4. Execute to see all your portfolios
1. Add Coinbase CDP node
2. Select Resource: Orders
3. Select Operation: Create Order
4. Fill in order parameters (product, side, amount)
5. Execute to place the order
1. Add Coinbase Server Wallet node
2. Select Resource: EVM Accounts
3. Select Operation: Create Account
4. Specify network (e.g., "base-sepolia")
5. Execute to create a new wallet account
1. Add Coinbase Server Wallet node
2. Select Resource: EVM Transactions
3. Select Operation: Send Transaction
4. Fill in: account address, recipient, amount, token
5. Execute to send the transaction
1. Add Coinbase Server Wallet node
2. Select Resource: EVM Token Balances
3. Select Operation: Get Token Balances
4. Specify network and address
5. Execute to see all token balances
1. Verify your API Key Name is correct (should include organizations/ and apiKeys/)-----BEGIN
2. Ensure your private key is complete (includes and -----END lines)
3. Check that your API key has the required permissions
4. Test the credential connection using the "Test" button in the credential modal
If you get "Failed to parse EC private key":
- Make sure there are no extra spaces or characters
- If copying from a file, include the full key with header/footer
- Try converting literal \n to actual newlines or vice versa
`bashClone repository
git clone
cd n8n-nodes-coinbase-cdp
$3
`bash
npm run build # Build TypeScript and copy icons
npm run dev # Watch mode for development
npm test # Run tests
npm run format # Format code with Prettier
npm run lint # Lint code
npm run lintfix # Fix linting issues
`Tech Stack
- Built with TypeScript
- Generated from Coinbase Advanced Trade OpenAPI specification
- Uses
@devlikeapro/n8n-openapi-node` for OpenAPI integration- Coinbase Developer Platform Documentation
- Advanced Trade API Reference
- n8n Community Nodes Documentation
For issues, questions, or contributions:
- Open an issue on GitHub
- Check existing issues for solutions
- Contribute via pull requests
See CHANGELOG.md for version history and updates.