Skip to content

Coinbase

Connect Coinbase Advanced Trade to Coinrule — OAuth setup and API key permissions.

Updated 2026-05-29·1 min read

Coinrule connects to Coinbase Advanced Trade via OAuth or API key.

How do I connect via OAuth?

  1. Click Connect with Coinbase on the connect page.
  2. You're redirected to Coinbase to authorise.
  3. Coinrule requests trade, view, and info scopes only — no withdrawal access.
  4. Done. OAuth tokens are refreshed automatically.

How do I connect via API key?

Open Coinbase Developer Platform

Enable these permissions

  • Viewread balances and order history.
  • Tradeplace 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

ErrorFix
INVALID_SCOPERe-authorise the Coinbase OAuth flow
Token expired / revokedReconnect the account from the Connect page
Orders rejected: "size too small"Coinbase has a minimum order size of ~$1 USDT equivalent

Was this article helpful?

Trading involves risk. Past performance is not indicative of future results. Never trade with funds you cannot afford to lose. Coinrule does not provide financial advice.

Still stuck?

Contact support