Skip to content

Coinbase Perpetuals

Connect Coinbase perpetual futures to Coinrule with a CFM-enabled CDP API key — scope picker, key format, and limits.

Updated 2026-11-07·3 min read

Coinbase offers perpetual futures to eligible US customers through Coinbase Financial Markets (CFM). Coinrule connects to them as a separate coinbase_perps account on the Coinbase tile. If you only trade spot, see the Coinbase guide.

How do I connect Coinbase perpetuals?

  1. Enable perpetual futures on Coinbase

    Your Coinbase account must be approved for CFM perpetual futures. Coinbase shows the enrolment in the Advanced Trade futures section.

  2. Create a CDP API key with futures access

    In the Coinbase Developer Platform create an API key with View and Trade permissions that covers futures. Do not grant transfer or withdrawal permissions. Download the JSON key file — the private key is shown only once.

  3. Open the Coinbase tile and choose Perps

    Go to cloud.coinrule.com/connect, select Coinbase, and pick Perps in the account scope. The Sign in with Coinbase button disappears, because OAuth cannot grant futures access.

  4. Paste the key name and private key

    Paste the key name as the API Key and the full privateKey block (ECDSA PEM including the header line, or an Ed25519 key) as the API Secret, then press Connect.

Open Coinbase Developer Platform →

Enable these permissions

  • ✓View— read balances and order history.
  • ✓Trade— place trades on your behalf.

Leave these OFF

  • ✕Transfer

Notes

  • ℹEnable Futures (Perps only)
⚠

OAuth is spot only

Sign in with Coinbase covers spot trading. Perpetuals always require a CDP API key with CFM permission; a key without it fails validation and no coinbase_perps account is created.

Which markets are supported?

Coinbase's US perpetual-style futures (CFTC-regulated, settled in USD), for example the BTC and ETH perp-style contracts. In Coinrule they appear as BTC/USD and ETH/USD perps on the Coinbase perps account. Coinbase International Exchange (INTX) perpetuals are not available through this connection.

Which timeframes are available?

Coinbase does not provide 1m candles. Use 5m, 15m, 1h, 4h, or 1d; a strategy that asks for 1m on Coinbase is rejected at launch with an explicit validation error.

Can I paper trade Coinbase perpetuals?

Paper trading for Coinbase perpetuals is not yet available. Use the paper account of another perpetuals venue such as Hyperliquid or Bitget to rehearse a perp strategy, or trade Coinbase spot on paper.

Troubleshooting

ErrorFix
Key rejected for missing CFM permissionCreate a CDP key with futures/trade access on an account approved for perpetuals
COINBASE_INVALID_PRIVATE_KEYPaste the complete PEM including the header and footer lines, or a valid Ed25519 key; do not retype it
1m interval rejectedSwitch the strategy to 5m or longer
Account missing after Sign in with CoinbaseOAuth creates a spot account only; connect perps with a CDP key

Get started

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