Coinbase
Connect Coinbase Advanced Trade to Coinrule — OAuth setup and API key permissions.
Coinrule connects to Coinbase Advanced Trade via OAuth or API key.
How do I connect via OAuth?
- Click Connect with Coinbase on the connect page.
- You're redirected to Coinbase to authorise.
- Coinrule requests
trade,view, andinfoscopes only — no withdrawal access. - Done. OAuth tokens are refreshed automatically.
How do I connect via API key?
Enable these permissions
- ✓View— read balances and order history.
- ✓Trade— place trades on your behalf.
Leave these OFF
- ✕Transfer
Notes
- ℹEnable Futures (Perps only)
Coinbase uses ECDSA-signed requests. When creating an API key, you'll receive a JSON file — paste the name field as the API Key and the full privateKey PEM block (including the header line) as the API Secret.
Which pairs are supported?
All spot pairs available on Coinbase Advanced Trade: BTC-USD, ETH-USD, SOL-USD, and any other listed pairs.
Coinbase Perpetuals
Coinbase also offers perpetuals (on coinbase_perps). This is a separate connection from Coinbase spot. Contact support to enable access.
Troubleshooting
| Error | Fix |
|---|---|
INVALID_SCOPE | Re-authorise the Coinbase OAuth flow |
| Token expired / revoked | Reconnect the account from the Connect page |
| Orders rejected: "size too small" | Coinbase has a minimum order size of ~$1 USDT equivalent |