If you live in the United States and trade on Kraken, selling crypto, swapping one coin for another or spending it is usually a disposal for capital gains tax. Each disposal needs a value in dollars and a cost, matched to the lots you bought, with the holding period deciding whether the gain is short-term or long-term.
The rules themselves, including short-term and long-term gains, the per-wallet basis rule and Form 8949, are in our guide to crypto tax in the United States. This page covers the Kraken part: getting your history out of Kraken and what Coinfig does with it.
Connect Kraken with an API key
Coinfig has a direct Kraken API connection.
- In Kraken, create an API key (how to create an API key).
- Under Funds permissions, select Query only. Leave Deposit, Withdraw, Earn, and all Orders and trades permissions unchecked.
- In Coinfig, add a new source, select Kraken and enter the key and secret.
If your Kraken history goes back further than the API returns, add CSV exports from the Documents Center as well. Coinfig's completeness check helps you find periods that may still be missing.
How to export Kraken history
Kraken's Documents Center is where you download CSV exports. You need both a Trades export and a Ledgers export. Trades show the executions, and ledgers capture deposits, withdrawals, fees, staking and other balance movements.
- Sign in at kraken.com.
- Click your profile icon, then Documents.
- In Exports, click Create Export.
- Choose Trades, set the start and end dates and select CSV. Then do the same for Ledgers.
- Click Generate. Processing can take from a few minutes up to a week for large histories.
- Return to Documents and download each file when it shows as ready.
Export the full period from your first Kraken transaction to today, and include every asset and pair. Filtering to one coin can hide purchases Coinfig needs for your basis.
Official guide: How to export your account history
What the Kraken export gives you
- Every trade, including crypto to crypto pairs and trades against euro or other currencies.
- Deposits and withdrawals, of crypto and of cash.
- Fees, staking rewards and other ledger entries.
It does not give you a US gain on its own. Kraken does not know about coins you bought elsewhere and moved in, so its own figures can miss your basis.
How Coinfig turns it into US figures
- Imports trades and ledger entries through the API, or from your Trades and Ledgers CSVs.
- Values every transaction in dollars on the day it happened, whatever pair you traded.
- Matches each disposal to a lot under the method you choose, FIFO by default, and marks it short-term or long-term from the holding period.
- Keeps staking and other rewards as income at their value when received, separate from your gains.
- Matches Kraken withdrawals to deposits on your other exchanges and wallets, so a move to yourself is not read as a sale.
- Runs a completeness check that flags gaps before you rely on the figures.
Where the figures go on Form 8949
Coinfig's US report gives your disposals for the calendar year split into short-term and long-term, with proceeds, basis and gain or loss for each, as Form 8949 and Schedule D ask for. Income from rewards is shown separately.
Coinfig does not hold capital loss carryovers from earlier years or work out your rate, which depends on your whole return, so you add those yourself.
Coinfig is a calculation and reporting tool, not tax advice, and it does not file your return. Check the figures, or have a tax adviser check them, before you file.
Frequently asked questions
Do I need both the Trades and the Ledgers export?
Yes, if you use CSV. Trades carry the executions and Ledgers carry deposits, withdrawals, fees and rewards. With only one of them, transfers and fees go missing.
Is a crypto to crypto trade on Kraken taxable in the US?
Yes. The IRS treats swapping one coin for another as a disposal, with the gain measured in dollars at the fair market value of what you receive.
What if I sell on Kraken at a loss and buy back?
The wash sale rule covers stock and securities, so it does not reach ordinary crypto. The loss stands. It can apply to a token that is itself a security.
Get started on Coinfig to connect Kraken or upload your exports, check for gaps and work out your US figures.
This article is general information, not tax advice. Your position depends on your own circumstances. For anything complex, ask a qualified tax adviser.