Skip to main content

Kraken: Transaction import via login, API & CSV

At a glance

πŸ‘οΈ Blockpit imports Kraken transactions via the direct connection (login), via API key or from a CSV file: Deposits & Withdrawals, Fee Payments, Conversions and Spot Market Trades.

​

Import method: Connect account Β· API Β· CSV

​

​

How do I connect my Kraken account directly?

OAuth and API are the initially preferred methods of integration.

​

If necessary, additional CSV files can be uploaded afterwards. When uploading CSV files, make sure to avoid transaction duplicates. More information on this can be found under the CSV file upload subsection.

​

1️⃣ Open + Integration (or, in the Dashboard under the Integrations tab, click + Integration).

​

2️⃣ Select Kraken in the list of exchanges (dialog Add Kraken) and click on Connect Account.

​

​

3️⃣ Now connect your Kraken account by entering your credentials and the 2FA code.

​

4️⃣ Allow the Third Party: Blockpit access.

​

​

5️⃣ Now your Blockpit integration is directly connected to Kraken.

​

πŸ’‘ If the direct connection does not work, you can alternatively add your integration via API key as follows.

​

iOS app: The Apple Private Relay, which is activated by default, must be deactivated before the connection, as it is not possible to verify a new device via the app.

​

​

How do I get my Kraken API key?

1️⃣ Log in to your Kraken/Kraken Pro account.

​

2️⃣ The generation of a general Kraken API key is currently only possible via the Kraken Pro platform.

​

​

On Kraken: Click on your profile icon at the bottom left and select Account. In the menu bar now shown above, navigate with the arrow to the right and select Connections & API as shown below.

​

​

Next, click Create API Keys below. You will now be prompted to switch to Kraken Pro.

​

On Kraken Pro: Click on your profile icon in the top-right corner and select Settings. Now select the menu item Connections & API as shown below.

​

​

3️⃣ Then click Create API Key.

​

​

4️⃣ Now enter a name for your key and grant only the API key permissions shown in the image: Query, Query Open Orders & Trades, Query Closed Orders & Trades, Query ledger entries and Export Data.

​

5️⃣ Do not use IP whitelisting for now.

​

​

6️⃣ Now click Generate key and enter your 2FA code.

​

7️⃣ Your API key and Secret are now shown in the API list.

​

Your Secret is shown only once and can only be copied briefly.

​

8️⃣ Open + Integration (or, in the Dashboard under the Integrations tab, click + Integration).

​

9️⃣ Select Kraken in the list of exchanges (dialog Add Kraken), then click API and copy the API key and the Secret in their full length into the designated fields.

​

​

πŸ”Ÿ To finish, confirm your entries in Blockpit with Continue.

​

πŸ’‘ If you cannot achieve an integration without "Mismatched Balances" with an initial API integration and an additional CSV upload, first create a CSV integration and then convert your integration into an API integration. In addition, use a current import start date (e.g. import time span: today's date) as a separator to avoid transaction duplicates.

​

​

How do I get my Kraken CSV file?

Download and import your Kraken CSV file

The following steps will help you download your Kraken CSV file and import it into Blockpit:

​

1️⃣ Log in to your Kraken account.

​

2️⃣ Click your profile icon / name in the top-right corner, select Documents/Statements and then click New Export.

​

​

3️⃣ Set the export settings as follows:

​

  • Export type: Select Ledgers

  • Fields: Select All (default)

  • Date range: Select your desired timeframe (preferably whole tax years from 01.01. to 31.12.)

  • Format: Ensure CSV is selected

    ​

​

4️⃣ Click Generate (or Submit) to start the export.

​

5️⃣ As soon as the file has been generated by Kraken (status changes from Queued to ready), click the Download icon to download your .csv file. We recommend naming the file after the time period (example: Kraken history 2023-01-01 - 2023-12-31).

​

6️⃣ Now you can import the file into Blockpit:

​

  • Case 1: Initial setup (new CSV integration)

    ​

    In your Dashboard, go to the Integrations menu item and then click + Integration > select Kraken > switch to the CSV tab. (Use this path if you want to track Kraken purely file-based without an API.)

  • Case 2: Supplementary upload (extend existing integration) In the Dashboard, go to Integrations and click directly on the Upload icon (cloud with an upward arrow) next to the Sync button on your existing Kraken integration. (Use this path to bridge historical gaps of an existing API integration before the sync timeframe.)

    ​

    Now drag the corresponding file(s) into the field shown below and confirm your input with Save to upload your transactions.

    ​

​

​

πŸ“ Automatic detection of duplicates in file uploads

​

Blockpit checks every upload per integration for duplicates (time, incoming/outgoing and fee) and skips them. If the integration already contains transactions, Blockpit only imports transactions after the latest existing one, without any notice. Blockpit does not match against API data: remove overlapping time periods from the file beforehand.

​

​

πŸ’‘ If the upload of your original CSV file does not work, please first try updating your internet browser or use an alternative browser to rule out possible sources of error.

​

​

What happens after the import

After Continue, the integration appears in the Dashboard under the Integrations tab; you can find the individual transactions under Transactions.

​

You can fetch new transactions later with the sync icon of the integration or with Sync all. If the Synced Balance differs from the calculated balance, Blockpit shows the Mismatched Balance notice.

​

You upload additional files in the Dashboard via the upload icon (cloud) of your integration.

​

​

​

Which data can be imported via direct Kraken OAuth connection or API key?

​

Transactions

Supported

βœ… Deposits & Withdrawals

βœ… Fee Payments

βœ… Conversions

βœ… Spot Market Trades

βœ… Margin Trades as PnL

βœ… Earn & Funding: Rewards & Distributions (Staking, Lending, Airdrops, Bounties)

βœ… ❔ Earn (Vault) Transfers (Accumulated rewards are paid out as a single outgoing transfer upon exit, which causes a negative balance in your Kraken Earn (Vault) sub-integration. πŸ’‘ Fix: Use this negative balance to add the missing rewards directly in the Ledger View by applying the Auto-Balancing feature (βž•)).

​

Not Supported

β›” Small Balance Conversions (Dust)

​

❗ Transactions with status "Failure" cannot be identified and excluded automatically. Any resulting transaction duplicates must be excluded manually afterwards.

​

❗ Internal transfers from Parachain Auctions are imported as Unlabeled deposits and withdrawals and must be excluded manually.

​

​

Synced Balance

Supported

βœ… All general balances

βœ… ❔ Earn (Vault) Balance (excluding Rewards)

​

​

How do I solve problems with my Kraken Integration?

Is something still missing?

​

β–Έ Supported according to this guide: Create a second integration to compare. The older your integration, the more likely this helps.

β–Έ Not supported: Add it with the CSV file of your exchange (guide above) or with the Blockpit Excel template.

β–Έ Not mentioned here: Report it to us via chat request with an example. This lets us extend the import (if technically possible).

​

If you would rather have your account analysed, the Expert Service (Germany, Austria, Switzerland) helps.

​

Missing transactions can be found by comparing with the actual history of your exchange. You can add them afterwards directly by CSV file upload (see above) or by migrating your CSV data into our Blockpit Excel template in your Blockpit integration.

​

Does your Synced Balance not show a balance that is not listed as a mismatch above? Report it to us via chat request with an example. This lets us extend the import (if technically possible).

​

⚠️ Typical mistakes

​

βœ— Transaction with status Failure β†’ Blockpit does not detect it automatically; you exclude any resulting duplicates manually afterwards

βœ— Internal transfers from Parachain Auctions β†’ arrive as Unlabeled deposits and withdrawals and must be excluded manually

βœ— Secret not copied right away β†’ the Secret is shown only once and can only be copied briefly

βœ— File uploaded with a time period the API already delivers β†’ duplicates, because API data is not matched; remove overlapping time periods from the file beforehand

βœ— Upload of the original file fails β†’ update your internet browser or use a different browser

​

​

​

Did this answer your question?