n8n node for Coinbase Advanced Trade API - check wallet holdings and make trades
npm install n8n-nodes-coinbaseThis is an n8n community node that allows you to interact with the Coinbase Advanced Trade API to:
- Check wallet holdings (account balances)
- Create market and limit orders (buy/sell)
- Get product information
- Manage orders
1. Go to Settings > Community Nodes
2. Select Install
3. Enter n8n-nodes-coinbase in Enter npm package name
4. Agree to the risks of using community nodes
5. Select Install
To install the node manually:
``bashNavigate to your n8n custom nodes directory
cd ~/.n8n/custom
Credentials
To use this node, you need to create API credentials in your Coinbase account:
1. Log in to your Coinbase account
2. Go to Settings > API
3. Create a new API key with the following permissions:
-
wallet:accounts:read - For viewing account balances
- wallet:orders:create - For creating orders
- wallet:orders:read - For viewing orders
- wallet:products:read - For viewing products4. Save your API Key (format:
organizations/{org_id}/apiKeys/{key_id}`) and Private Key5. In n8n, create new Coinbase API credentials and enter:
- API Key: Your API key from Coinbase
- API Secret: Your private key (including the BEGIN/END headers)
1. Add the Coinbase node to your workflow
2. Select Resource: Account
3. Select Operation: Get All
4. This will return all your account balances
1. Select Resource: Order
2. Select Operation: Create Market Order
3. Configure:
- Product ID: e.g., BTC-USD
- Side: Buy or Sell
- Order Type: Base Size (amount in crypto) or Quote Size (amount in USD)
- Size: Amount to buy/sell
1. Select Resource: Order
2. Select Operation: Create Limit Order
3. Configure:
- Product ID: e.g., BTC-USD
- Side: Buy or Sell
- Size: Amount in base currency (e.g., BTC)
- Limit Price: Price per unit
1. Select Resource: Product
2. Select Operation: Get or Get All
3. For Get: Enter the Product ID (e.g., BTC-USD)
For issues and feature requests, please visit the GitHub repository.
MIT