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
Coinrule

AI-powered trading automation. Your keys, your coins.
Backed by Y Combinator.

© 2026 Coinrule. All rights reserved.

No information here constitutes investment advice. Coinrule does not take any liability for rule performance. Trade at your own risk. Terms · Privacy

The services, products, and content available on coinrule.com are not intended for, directed at, or marketed to residents of the European Union (EU) or the European Economic Area (EEA). Coinrule does not hold a Crypto-Asset Service Provider (CASP) license under the EU Markets in Crypto-Assets (MiCA) regulation. Any access to our services by users residing within the EU/EEA is done solely at the user's own exclusive initiative and request (passive provision of services/reverse solicitation).