How to Connect Coinbase API with Koinly

How to connect Coinbase API with Koinly

We've got great guides on how to connect Coinbase and Koinly, Coinbase Pro and Koinly, and Coinbase Wallet and Koinly already if you haven't checked them out yet. But we know some of our users prefer generating their own API keys and adding them to Koinly themselves instead of authorizing access for another app. So if you'd rather DIY - here's how to get your Coinbase API keys and add them to Koinly.

CSV

Follow these steps to sync your Coinbase (API keys) data automatically to Koinly:

  1. Log in to your Coinbase account
  2. Select your profile icon in the top right corner
  3. Select Settings from the drop-down menu
  4. Select API
  5. Select Create & Manage API Keys with Coinbase Developer Platform
  6. Create API key nickname
  7. Then Create and Download
  8. Save your key.
  9. Copy your API key and API secret and add them to the fields in Koinly.

Note that the keys follow an unusual format and should look something like this:

  • Key/name: “organizations/bd64b68f-1ae6…………..”
  • Secret/privateKey: “-----BEGIN EC PRIVATE KEY-----\nMHcCAQEEIIi………”

On Koinly:

  1. Create a free account on Koinly
  2. Complete onboarding until you get to the Wallets page and find Coinbase (API keys) in the list
  3. Select API > Paste the API keys you copied above in the appropriate box
  4. Hit Import and wait for Koinly to sync your data. This can take a few minutes
  5. Review your transactions on the Transactions page to ensure everything is tagged correctly and no missing data
  6. Go to the Tax Reports page to view your tax liability!
Notes / Limitations

Use this integration only if you want to create manually your API keys on Coinbase.


Otherwise, the other Coinbase integration is using the automated "Continue to Coinbase" (SSO integration) and is probably more convenient.


❌ Not imported

Coinbase's API doesn't provide sufficient information to import transactions listed below. These will need to be added manually:

  • Futures
  • Auto-compounded rewards from DeFi Lending
Having trouble connecting Coinbase (API keys) with Koinly?