Skip to main content

Connecting Coinbase

Track your Coinbase spot trades with a view-only API key.

What you need

Coinbase connects with a view-only API key. It lets TradeDNA see your trades and balances, never place orders or move funds. Your full trade history imports on connect.

1. Create a view-only key

Open portal.coinbase.com and sign in with your normal Coinbase login. Go to API keys, then Create API key. Open the advanced settings and set it up like this:

  • Choose the portfolio you trade in

  • Set permissions to View only

  • Switch the signature algorithm to ECDSA. The default of Ed25519 will not work.

  • Leave the IP allowlist empty

Create the key, then copy both the key name (it starts with organizations/) and the private key (the block that starts with -----BEGIN EC PRIVATE KEY-----).

2. Add the connection

In TradeDNA, go to Settings, then Connections, open the Auto-sync tab, choose Add auto-sync account, and pick Coinbase. Paste your key name into API key name and your private key into API key secret (private key), add an optional Account label, and choose Connect Coinbase.

3. Done

When it connects, you will see your trades imported, and new trades sync on their own from here.

If the key does not go through, the most common reason is the signature algorithm. Recreate the key with ECDSA selected and reconnect.

Did this answer your question?