How to export your Kraken transaction history: ledger or trades?
Kraken offers two exports, and only one holds your whole history. Here is which one to pick, how to read it without mixing up currencies or balances, and how to skip it altogether.

Exporting your Kraken transaction history takes a few clicks, but the file is hard to read at first. Bitcoin is called XXBT, a purchase takes two rows, and fees don’t always sit where you expect. My Kraken account has 41 trades in nine months: 82 ledger rows, plus 39 staking rewards. Here’s how to export it and read it.
How to export your Kraken history, step by step
These are the steps in Kraken’s current interface. Kraken’s help center uses other labels (“Documents”, “Create Export”):
- Sign in, click your profile icon in the top-right corner, then Statements.
- Under On-demand statements, click Export statement. A panel opens on the right.
- Pick Ledger as the export type, then the Spot tab. Check the start and end date: the range is pre-filled, so widen it if it doesn’t cover the whole period you want. Leave All for transaction types, assets and fields, and keep CSV as the format.
- Click Export, then come back later: the export shows up in the on-demand statements list when it’s ready.

Three things to know. Kraken doesn’t notify you when the export is ready: you have to check the Statements page. Processing takes anywhere from a few minutes to a week. And the file stays available for 14 days. For a very active history, Kraken suggests splitting the request by year or by quarter.
Ledger or trades: which export do you need?
| Ledger | Trades | |
|---|---|---|
| Deposits and withdrawals | yes | no |
| Trades | yes, two rows per trade | yes, one row per execution |
| Staking and rewards | yes | no |
| Fees | in the currency actually debited | always in the quote currency |
| Balance after each movement | yes | no |
| Execution price | to recompute | yes |
Only the ledger lets you rebuild a portfolio. The trades export is for checking a price or grouping the executions of one order. Watch its fees: Kraken’s help center notes they’re shown in the quote currency, even when your account paid them in the other one. Only the ledger shows what was actually debited.
Neither export includes the addresses or transaction IDs of your crypto deposits and withdrawals. Kraken only shows them on screen, for the last three months.
How to read the Kraken ledger

Each row describes a movement of a single currency: refid, time, type, subtype, asset, amount, fee and balance, plus two columns you can ignore (txid, aclass).
Currency codes
Depending on where you read your history, bitcoin is written BTC, XBT or XXBT. Kraken’s API still returns XXBT, ZEUR for the euro, ZUSD for the dollar and XXDG for dogecoin. The asset code list in the help center writes BTC for exports.
Never strip a leading X or Z with a formula. About thirty real tickers start with those letters: XTZ is Tezos, not “TZ”. So are ZRX, XCN and ZK.
The .S, .M, .B… suffixes
A code ending in .S is a staked balance, .M an Opt-In Rewards balance, .P a balance bonded to a parachain. My ledger also has XXBT.B, staked bitcoin, which the help center doesn’t explain. Either way, it’s the same coin: ADA.S is ADA. To know what you hold, add up the code and its variants.
One trade, two rows
Kraken never mixes two currencies on one row. Buying bitcoin with dollars gives one row debiting the dollar and one crediting the bitcoin, with the same refid. A purchase made in the Kraken app, with the Buy button, shows up as spend and receive rows.
Fees and balance
Fees sit on the row of the currency that pays them. Kraken takes them on top of the amount: balance = old balance + amount − fee. What actually came in or went out is amount − fee.
Staking
Rewards arrive as type staking, or earn with the reward subtype. Allocation moves (spottostaking, stakingtospot…) come in pairs of opposite sign: they don’t change what you hold.
Dates and decimals
Times are in UTC. Decimals use a period, so a US-format spreadsheet reads the file as is. If yours uses decimal commas, Kraken warns that a 0.01 fee can show up as 100: switch the decimal separator to a period before opening the file.
Spreadsheet formulas that help
First find your file’s columns, as their order can vary between exports. With type in D, subtype in E, asset in G, amount in H and fee in I:
- bitcoin held:
=SUMIFS(H:H,G:G,"XXBT*")-SUMIFS(I:I,G:G,"XXBT*"), the asterisk also picking up XXBT.B and its variants. Use the code your file actually shows; - one trade: a pivot table grouped by
refidbrings its two rows together; - rewards:
=SUMIFS(H:H,D:D,"staking",G:G,"DOT*")+SUMIFS(H:H,D:D,"earn",E:E,"reward",G:G,"DOT*"), to count both types they arrive under.
Where the spreadsheet breaks
It works for a statement. It gets harder when you want a portfolio that stays current:
- codes change from one export to the next and from one coin to another;
- suffixes multiply with each rewards program;
- the export has to be redone for every update, with its wait;
- withdrawals have no hash, so you can’t match them with their arrival in your wallet;
- a vault allocation in Kraken’s DeFi Earn looks like a withdrawal, but your USDC are still invested (see what my USDC earned on OKX and Kraken).
In Crypto Master: the file, or the API with a single permission
The ledger you just exported can be uploaded as it is on Crypto Master’s Kraken page, with no key. To stop redoing the export, Kraken’s API returns the same ledger back to the day the account was opened. A read-only key is enough, with one permission, “Query ledger entries”. The file and the key feed the same Kraken account.

Codes are translated (XXBT becomes BTC, XTZ stays Tezos), suffixes join their coin and each trade becomes one operation again. Staking counts as income, with its annualized yield, and your sales feed your Form 8949 lots. Through the key, crypto withdrawals also get their hash, which the export doesn’t give. How to create the key is in the read-only API key guide, and what we do with it on the Security page.
Frequently asked questions
Should I export the Kraken ledger or trades?
The ledger: it holds every movement, fees and staking included. The trades export is only useful to check execution prices.
How far back does a Kraken export go?
Back to the day your account was opened: you pick the dates. For a very active history, split the request by year.
What does XXBT mean in my Kraken history?
It’s bitcoin, under Kraken’s old code. ZUSD is the dollar and XXDG dogecoin. But XTZ is Tezos: don’t strip the X by rule.
Why does each trade take two rows?
A ledger row only carries one currency. A trade debits one and credits the other: two rows, linked by the same refid.
Are staking rewards in the Kraken export?
Yes, in the ledger, as type staking or earn. Allocation moves come in pairs and don’t change what you hold.
Can I track Kraken without exporting a file?
Yes, with a read-only API key that only has the “Query ledger entries” permission. It returns the whole ledger, back to when the account was opened.
See a Kraken account connected through the API, with its trades and rewards, without creating an account.
Open the demo



