Kraken is a cryptocurrency exchange. Sure connects to Kraken using a read-only API key and imports your combined crypto holdings and spot trade history.See Transaction history and import limits for initial sync defaults, history limits, and options for older transactions.
What is imported
Sure imports one combined Crypto exchange account per Kraken connection, containing:
Current crypto holdings and balances — staked and bonded wallet balances (such as ETH.B or DOT28.S) are combined with their spot balance into a single holding per asset, valued at their balance-weighted average price
Spot trade fills (buy/sell history)
Deposits and withdrawals — each imported as two entries: the principal and a separate fee entry, so the transfer can be matched to your receiving account
Staking rewards and Earn income
Dust sweeps (“convert small balances”) as paired Sweep In / Sweep Out entries
Standalone fiat fees
Crypto ledger entries (deposits, withdrawals, staking rewards, and so on) are recorded as trades that carry a unit quantity and the price on the day they moved, not as cash transactions. This keeps your crypto position history accurate and separate from your cash balance.Fiat balances held at the exchange (EUR, USD, and other supported currencies) are treated as cash, not as holdings. This prevents them from being valued twice alongside the cash your ledger already tracks.Staked and bonded asset variants — for example, ETH2.S or DOT28.S — are treated as the same position as their underlying asset. A staked ETH balance and a spot ETH balance appear together as one holding.For spot trades, Sure reads the filled quantity and cash movement from the Kraken ledger rather than from TradesHistory. The ledger nets each side of a trade against its fee — including fees charged in the base asset, which TradesHistory does not expose — so the recorded quantity and cash reflect what actually moved. Quantity and cash are resolved independently: if one ledger side is unavailable, that value falls back to TradesHistory. When the missing ledger side arrives, Sure can correct that value on an unprotected trade.
Create a new API key with the following permissions only:
Query Funds
Query Closed Orders & Trades
Query Ledger Entries
Do not grant trading, cancellation, withdrawal, export, or transfer permissions. Sure only needs read access. Granting write permissions is unnecessary and a security risk.
Copy the API Key and Private Key shown after creation.
Step 2: Add the connection in Sure
Go to Settings → Providers.
Find the Kraken section.
Enter a connection name, paste your API Key and Private Key, and save.
Sure begins syncing your Kraken exchange account automatically.
Step 3: Import the account
After the first sync, your Kraken exchange account appears in the setup queue. Click Import Account in the provider panel to add it to your account list.
Multiple connections
If you have multiple Kraken accounts, add a separate named connection for each one. Each connection imports one combined crypto account.
Account currency
When Sure creates your Kraken exchange account, it uses your family’s currency, not Kraken’s reporting currency (USD). All balances and holdings are displayed in your family’s currency. Kraken trade entries retain their quote currency and are converted for display.
Opening balance
New Kraken exchange accounts have a zero historical opening anchor, separate from the current balance imported from the provider. After importing entries, Sure moves that zero anchor to the day before the earliest entry only if it is not already earlier. Existing nonzero opening anchors are preserved.
Configuration
The following environment variables are available for self-hosted deployments:
Variable
Default
Purpose
KRAKEN_MIN_REQUEST_INTERVAL
1.0
Seconds enforced between consecutive requests to Kraken’s public and standard private endpoints
KRAKEN_HISTORY_MIN_REQUEST_INTERVAL
8.0
Seconds enforced between consecutive requests to account-history endpoints (Ledgers, TradesHistory), paced separately from other calls
Sure uses separate pacing for repeated history requests during a paginated backfill. Kraken currently charges 2 counter points for ledger/trade history calls, with decay rates that depend on the account tier; see Kraken’s REST rate limits. Sure’s default history interval remains 8.0 seconds. Pacing is maintained per provider instance, so concurrent syncs or other applications using the same API key can still reach the limit. Consider that shared usage and your tier before reducing either interval.If either variable is set to an invalid value (non-numeric, zero, negative, or infinite), Sure raises a configuration error on the first request using that interval rather than silently disabling the throttle.
Troubleshooting
Credentials need updating
If the connection shows a reconnect prompt, your API key may have been revoked or the credentials may have expired. Generate a new API key from Kraken and update the connection in Settings → Providers → Kraken.
No accounts found
After adding a connection, wait for the first sync to complete. If no accounts appear after syncing, verify that your API key has the Query Funds permission enabled.
Balance shown as approximate
When the exact exchange rate for a given date is unavailable, Sure shows the balance as approximate. The balance updates to the exact figure on the next sync when rate data becomes available.
Historical account value looks wrong after a buy or sell
If your Kraken account was connected before October 2026, trade entries may have been recorded with their cash flow direction inverted: a buy was recorded as money arriving and a sell as money leaving, rather than the reverse. This caused the historical balance series to show incorrect values, sometimes by a large amount on accounts with significant trading activity.The upgrade migration corrects eligible existing trade entries automatically. The balance series then rebuilds on the account’s next sync; no re-import is needed. Entries marked as manually modified are left unchanged.
Setup screen shows USD balance instead of your currency
The setup screen converts Kraken’s reported balance into your family’s currency before display. If no exchange rate is available for the conversion, the screen shows zero rather than an unconverted figure. The initial current account balance uses the same conversion. The zero historical opening anchor is separate from this current balance.
Crypto holdings history looks wrong for older accounts
If your Kraken account was connected before October 2026, crypto ledger entries may have been recorded as cash transactions rather than unit-carrying trades. Sure corrects these automatically on the next sync — no re-import or manual action is needed. Entries you have manually edited or matched into a transfer are left as-is.
Balance history looks wrong for accounts older than two years
Older accounts may have an opening anchor dated after their earliest imported entry. After an import, Sure moves a zero opening anchor earlier when needed. It preserves nonzero opening anchors, so syncing does not automatically reset an existing nonzero opening balance.
The same asset appears as multiple holdings
If you see separate holdings for what should be one position — for example, BTC split across different entries — older snapshots may use different security records for the same asset. Current imports resolve each asset to a canonical security and combine spot, staked, and bonded variants in the new snapshot. This does not guarantee that all older duplicate holding records are removed.
Fiat balance appears as a holding
If a currency like EUR or USD appears in your holdings list, the balance was imported before Sure began excluding fiat from the holdings snapshot. Current imports skip fiat holdings. This does not guarantee removal of fiat holding records already stored by an older import.
Trade quantities or cash amounts look slightly off
Kraken can charge a trade’s fee in either the base asset (for example, BTC on a BTC/USD buy) or the quote currency. When the fee comes out of the base asset, TradesHistory reports the gross quantity with no indication that units were taken as a fee.Sure now reads trade quantity and cash from the Kraken ledger, which nets fees correctly on both sides. Trades imported before the “Query Ledger Entries” API permission was active — or before the ledger backfill reached them — held the uncorrected gross figures. Sure corrects those trades automatically on the next sync once the ledger rows are available. Trades you have manually edited or locked are left unchanged.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sure Docs (draft)","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/sure-917046f5/kXISVjNOVarY6o8R/logo/light.svg?fit=max\u0026auto=format\u0026n=kXISVjNOVarY6o8R\u0026q=85\u0026s=d26eba4130ade33d068f9e0e0d0fae59","dark":"https://mintcdn.com/sure-917046f5/kXISVjNOVarY6o8R/logo/dark.svg?fit=max\u0026auto=format\u0026n=kXISVjNOVarY6o8R\u0026q=85\u0026s=f9e696a2732f51fb30ee68915711a34b"},"favicon":"https://mintcdn.com/sure-917046f5/kXISVjNOVarY6o8R/favicon.svg?fit=max\u0026auto=format\u0026n=kXISVjNOVarY6o8R\u0026q=85\u0026s=7b97bf5cab0fcbb20e4df9045f65d9cc","navbar":{"links":[{"href":"mailto:hi@mintlify.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"footer":{"socials":{"github":"https://github.com/we-promise/sure","discord":"https://discord.gg/36ZGBsxYEK"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sure-917046f5","hasAudioNarration":false,"actualSubdomain":"sure-917046f5","customDomains":["docs.sure.am"],"gitSource":{"type":"github","owner":"we-promise","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10cedf9ffae5051c40a613"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afc2664959cb52827709469","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API reference","count":109},{"language":"default","tag":"Guides","count":70},{"language":"default","tag":"Third party providers","count":33},{"language":"default","tag":"App features","count":12},{"language":"default","tag":"FinanceKit","count":12},{"language":"default","tag":"Getting started","count":9},{"language":"default","tag":"Transactions","count":9},{"language":"default","tag":"Auth","count":7},{"language":"default","tag":"Chats","count":7},{"language":"default","tag":"Key concepts","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"providers/kraken","slug":"/providers/kraken","pageMetadata":{"title":"Kraken","description":"Connect Kraken crypto exchange accounts to Sure","href":"/providers/kraken"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect Kraken crypto exchange accounts to Sure\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Kraken is a cryptocurrency exchange. Sure connects to Kraken using a read-only API key and imports your combined crypto holdings and spot trade history.`}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/providers/transaction-history`,children:`Transaction history and import limits`}),` for initial sync defaults, history limits, and options for older transactions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-imported`,children:`What is imported`}),`\n`,_jsx(_components.p,{children:`Sure imports one combined Crypto exchange account per Kraken connection, containing:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Current crypto holdings and balances — staked and bonded wallet balances (such as ETH.B or DOT28.S) are combined with their spot balance into a single holding per asset, valued at their balance-weighted average price`}),`\n`,_jsx(_components.li,{children:`Spot trade fills (buy/sell history)`}),`\n`,_jsx(_components.li,{children:`Deposits and withdrawals — each imported as two entries: the principal and a separate fee entry, so the transfer can be matched to your receiving account`}),`\n`,_jsx(_components.li,{children:`Staking rewards and Earn income`}),`\n`,_jsx(_components.li,{children:`Dust sweeps (“convert small balances”) as paired Sweep In / Sweep Out entries`}),`\n`,_jsx(_components.li,{children:`Standalone fiat fees`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Crypto ledger entries (deposits, withdrawals, staking rewards, and so on) are recorded as trades that carry a unit quantity and the price on the day they moved, not as cash transactions. This keeps your crypto position history accurate and separate from your cash balance.`}),`\n`,_jsx(_components.p,{children:`Fiat balances held at the exchange (EUR, USD, and other supported currencies) are treated as cash, not as holdings. This prevents them from being valued twice alongside the cash your ledger already tracks.`}),`\n`,_jsx(_components.p,{children:`Staked and bonded asset variants — for example, ETH2.S or DOT28.S — are treated as the same position as their underlying asset. A staked ETH balance and a spot ETH balance appear together as one holding.`}),`\n`,_jsx(_components.p,{children:`For spot trades, Sure reads the filled quantity and cash movement from the Kraken ledger rather than from TradesHistory. The ledger nets each side of a trade against its fee — including fees charged in the base asset, which TradesHistory does not expose — so the recorded quantity and cash reflect what actually moved. Quantity and cash are resolved independently: if one ledger side is unavailable, that value falls back to TradesHistory. When the missing ledger side arrives, Sure can correct that value on an unprotected trade.`}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-kraken`,children:`Setting up Kraken`}),`\n`,_jsx(Heading,{level:`3`,id:`step-1-create-a-kraken-api-key`,children:`Step 1: Create a Kraken API key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.a,{href:`https://pro.kraken.com/app/settings/api`,children:`Kraken API settings`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Create a new API key with the following permissions only:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Query Funds`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Query Closed Orders \u0026 Trades`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Query Ledger Entries`})}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not grant trading, cancellation, withdrawal, export, or transfer permissions. Sure only needs read access. Granting write permissions is unnecessary and a security risk.`})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[`Copy the `,_jsx(_components.strong,{children:`API Key`}),` and `,_jsx(_components.strong,{children:`Private Key`}),` shown after creation.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-2-add-the-connection-in-sure`,children:`Step 2: Add the connection in Sure`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Settings → Providers`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Find the `,_jsx(_components.strong,{children:`Kraken`}),` section.`]}),`\n`,_jsxs(_components.li,{children:[`Enter a connection name, paste your `,_jsx(_components.strong,{children:`API Key`}),` and `,_jsx(_components.strong,{children:`Private Key`}),`, and save.`]}),`\n`,_jsx(_components.li,{children:`Sure begins syncing your Kraken exchange account automatically.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-3-import-the-account`,children:`Step 3: Import the account`}),`\n`,_jsxs(_components.p,{children:[`After the first sync, your Kraken exchange account appears in the setup queue. Click `,_jsx(_components.strong,{children:`Import Account`}),` in the provider panel to add it to your account list.`]}),`\n`,_jsx(Heading,{level:`2`,id:`multiple-connections`,children:`Multiple connections`}),`\n`,_jsx(_components.p,{children:`If you have multiple Kraken accounts, add a separate named connection for each one. Each connection imports one combined crypto account.`}),`\n`,_jsx(Heading,{level:`2`,id:`account-currency`,children:`Account currency`}),`\n`,_jsx(_components.p,{children:`When Sure creates your Kraken exchange account, it uses your family’s currency, not Kraken’s reporting currency (USD). All balances and holdings are displayed in your family’s currency. Kraken trade entries retain their quote currency and are converted for display.`}),`\n`,_jsx(Heading,{level:`2`,id:`opening-balance`,children:`Opening balance`}),`\n`,_jsx(_components.p,{children:`New Kraken exchange accounts have a zero historical opening anchor, separate from the current balance imported from the provider. After importing entries, Sure moves that zero anchor to the day before the earliest entry only if it is not already earlier. Existing nonzero opening anchors are preserved.`}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsx(_components.p,{children:`The following environment variables are available for self-hosted deployments:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KRAKEN_MIN_REQUEST_INTERVAL`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.0`})}),_jsx(_components.td,{children:`Seconds enforced between consecutive requests to Kraken’s public and standard private endpoints`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`KRAKEN_HISTORY_MIN_REQUEST_INTERVAL`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`8.0`})}),_jsxs(_components.td,{children:[`Seconds enforced between consecutive requests to account-history endpoints (`,_jsx(_components.code,{children:`Ledgers`}),`, `,_jsx(_components.code,{children:`TradesHistory`}),`), paced separately from other calls`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Sure uses separate pacing for repeated history requests during a paginated backfill. Kraken currently charges 2 counter points for ledger/trade history calls, with decay rates that depend on the account tier; see `,_jsx(_components.a,{href:`https://docs.kraken.com/exchange/guides/rest/ratelimits`,children:`Kraken’s REST rate limits`}),`. Sure’s default history interval remains `,_jsx(_components.code,{children:`8.0`}),` seconds. Pacing is maintained per provider instance, so concurrent syncs or other applications using the same API key can still reach the limit. Consider that shared usage and your tier before reducing either interval.`]}),`\n`,_jsx(_components.p,{children:`If either variable is set to an invalid value (non-numeric, zero, negative, or infinite), Sure raises a configuration error on the first request using that interval rather than silently disabling the throttle.`}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`credentials-need-updating`,children:`Credentials need updating`}),`\n`,_jsxs(_components.p,{children:[`If the connection shows a reconnect prompt, your API key may have been revoked or the credentials may have expired. Generate a new API key from Kraken and update the connection in `,_jsx(_components.strong,{children:`Settings → Providers → Kraken`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`no-accounts-found`,children:`No accounts found`}),`\n`,_jsxs(_components.p,{children:[`After adding a connection, wait for the first sync to complete. If no accounts appear after syncing, verify that your API key has the `,_jsx(_components.strong,{children:`Query Funds`}),` permission enabled.`]}),`\n`,_jsx(Heading,{level:`3`,id:`balance-shown-as-approximate`,children:`Balance shown as approximate`}),`\n`,_jsx(_components.p,{children:`When the exact exchange rate for a given date is unavailable, Sure shows the balance as approximate. The balance updates to the exact figure on the next sync when rate data becomes available.`}),`\n`,_jsx(Heading,{level:`3`,id:`historical-account-value-looks-wrong-after-a-buy-or-sell`,children:`Historical account value looks wrong after a buy or sell`}),`\n`,_jsx(_components.p,{children:`If your Kraken account was connected before October 2026, trade entries may have been recorded with their cash flow direction inverted: a buy was recorded as money arriving and a sell as money leaving, rather than the reverse. This caused the historical balance series to show incorrect values, sometimes by a large amount on accounts with significant trading activity.`}),`\n`,_jsx(_components.p,{children:`The upgrade migration corrects eligible existing trade entries automatically. The balance series then rebuilds on the account’s next sync; no re-import is needed. Entries marked as manually modified are left unchanged.`}),`\n`,_jsx(Heading,{level:`3`,id:`setup-screen-shows-usd-balance-instead-of-your-currency`,children:`Setup screen shows USD balance instead of your currency`}),`\n`,_jsx(_components.p,{children:`The setup screen converts Kraken’s reported balance into your family’s currency before display. If no exchange rate is available for the conversion, the screen shows zero rather than an unconverted figure. The initial current account balance uses the same conversion. The zero historical opening anchor is separate from this current balance.`}),`\n`,_jsx(Heading,{level:`3`,id:`crypto-holdings-history-looks-wrong-for-older-accounts`,children:`Crypto holdings history looks wrong for older accounts`}),`\n`,_jsx(_components.p,{children:`If your Kraken account was connected before October 2026, crypto ledger entries may have been recorded as cash transactions rather than unit-carrying trades. Sure corrects these automatically on the next sync — no re-import or manual action is needed. Entries you have manually edited or matched into a transfer are left as-is.`}),`\n`,_jsx(Heading,{level:`3`,id:`balance-history-looks-wrong-for-accounts-older-than-two-years`,children:`Balance history looks wrong for accounts older than two years`}),`\n`,_jsx(_components.p,{children:`Older accounts may have an opening anchor dated after their earliest imported entry. After an import, Sure moves a zero opening anchor earlier when needed. It preserves nonzero opening anchors, so syncing does not automatically reset an existing nonzero opening balance.`}),`\n`,_jsx(Heading,{level:`3`,id:`the-same-asset-appears-as-multiple-holdings`,children:`The same asset appears as multiple holdings`}),`\n`,_jsx(_components.p,{children:`If you see separate holdings for what should be one position — for example, BTC split across different entries — older snapshots may use different security records for the same asset. Current imports resolve each asset to a canonical security and combine spot, staked, and bonded variants in the new snapshot. This does not guarantee that all older duplicate holding records are removed.`}),`\n`,_jsx(Heading,{level:`3`,id:`fiat-balance-appears-as-a-holding`,children:`Fiat balance appears as a holding`}),`\n`,_jsx(_components.p,{children:`If a currency like EUR or USD appears in your holdings list, the balance was imported before Sure began excluding fiat from the holdings snapshot. Current imports skip fiat holdings. This does not guarantee removal of fiat holding records already stored by an older import.`}),`\n`,_jsx(Heading,{level:`3`,id:`trade-quantities-or-cash-amounts-look-slightly-off`,children:`Trade quantities or cash amounts look slightly off`}),`\n`,_jsx(_components.p,{children:`Kraken can charge a trade’s fee in either the base asset (for example, BTC on a BTC/USD buy) or the quote currency. When the fee comes out of the base asset, TradesHistory reports the gross quantity with no indication that units were taken as a fee.`}),`\n`,_jsx(_components.p,{children:`Sure now reads trade quantity and cash from the Kraken ledger, which nets fees correctly on both sides. Trades imported before the “Query Ledger Entries” API permission was active — or before the ledger backfill reached them — held the uncorrected gross figures. Sure corrects those trades automatically on the next sync once the ledger rows are available. Trades you have manually edited or locked are left unchanged.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Kraken","description":"Connect Kraken crypto exchange accounts to Sure","href":"/providers/kraken"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is imported","slug":"what-is-imported","depth":2,"children":[]},{"title":"Setting up Kraken","slug":"setting-up-kraken","depth":2,"children":[{"title":"Step 1: Create a Kraken API key","slug":"step-1-create-a-kraken-api-key","depth":3,"children":[]},{"title":"Step 2: Add the connection in Sure","slug":"step-2-add-the-connection-in-sure","depth":3,"children":[]},{"title":"Step 3: Import the account","slug":"step-3-import-the-account","depth":3,"children":[]}]},{"title":"Multiple connections","slug":"multiple-connections","depth":2,"children":[]},{"title":"Account currency","slug":"account-currency","depth":2,"children":[]},{"title":"Opening balance","slug":"opening-balance","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Credentials need updating","slug":"credentials-need-updating","depth":3,"children":[]},{"title":"No accounts found","slug":"no-accounts-found","depth":3,"children":[]},{"title":"Balance shown as approximate","slug":"balance-shown-as-approximate","depth":3,"children":[]},{"title":"Historical account value looks wrong after a buy or sell","slug":"historical-account-value-looks-wrong-after-a-buy-or-sell","depth":3,"children":[]},{"title":"Setup screen shows USD balance instead of your currency","slug":"setup-screen-shows-usd-balance-instead-of-your-currency","depth":3,"children":[]},{"title":"Crypto holdings history looks wrong for older accounts","slug":"crypto-holdings-history-looks-wrong-for-older-accounts","depth":3,"children":[]},{"title":"Balance history looks wrong for accounts older than two years","slug":"balance-history-looks-wrong-for-accounts-older-than-two-years","depth":3,"children":[]},{"title":"The same asset appears as multiple holdings","slug":"the-same-asset-appears-as-multiple-holdings","depth":3,"children":[]},{"title":"Fiat balance appears as a holding","slug":"fiat-balance-appears-as-a-holding","depth":3,"children":[]},{"title":"Trade quantities or cash amounts look slightly off","slug":"trade-quantities-or-cash-amounts-look-slightly-off","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sure-917046f5","siteName":"Sure Docs (draft)","title":"Kraken - Sure Docs (draft)","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T07:23:52.991Z","originalFileLocation":"providers/kraken.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect Kraken crypto exchange accounts to Sure\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sure Docs (draft)\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Kraken - Sure Docs (draft)\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Kraken crypto exchange accounts to Sure\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sure Docs (draft)\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sure.am/providers/kraken\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sure-917046f5.mintlify.site/_mintlify/api/og/v2?division=Third+party+providers\u0026amp;title=Kraken\u0026amp;description=Connect+Kraken+crypto+exchange+accounts+to+Sure\u0026amp;theme=bc038df2ebdc8873a1ee38ac\u0026amp;signature=2508f9e79bcb929ed100c0f3bcb0da4bdd9b0be6dc016abfba225aefccce7566\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Kraken - Sure Docs (draft)\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Kraken crypto exchange accounts to Sure\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sure-917046f5.mintlify.site/_mintlify/api/og/v2?division=Third+party+providers\u0026amp;title=Kraken\u0026amp;description=Connect+Kraken+crypto+exchange+accounts+to+Sure\u0026amp;theme=bc038df2ebdc8873a1ee38ac\u0026amp;signature=2508f9e79bcb929ed100c0f3bcb0da4bdd9b0be6dc016abfba225aefccce7566\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sure-917046f5/romps0meyzaSKdju/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sure Docs (draft)\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sure.am/providers/kraken\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/providers/kraken.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sure.am/#organization\",\"name\":\"Sure Docs (draft)\",\"url\":\"https://docs.sure.am\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sure-917046f5/kXISVjNOVarY6o8R/logo/light.svg?fit=max\u0026auto=format\u0026n=kXISVjNOVarY6o8R\u0026q=85\u0026s=d26eba4130ade33d068f9e0e0d0fae59\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sure.am#website\",\"name\":\"Sure Docs (draft)\",\"url\":\"https://docs.sure.am\",\"publisher\":{\"@id\":\"https://docs.sure.am/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sure.am/providers/kraken#webpage\",\"url\":\"https://docs.sure.am/providers/kraken\",\"name\":\"Kraken\",\"description\":\"Connect Kraken crypto exchange accounts to Sure\",\"dateModified\":\"2026-11-17T07:23:52.991Z\",\"isPartOf\":{\"@id\":\"https://docs.sure.am#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sure.am/providers/kraken#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sure.am/providers/kraken#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Third party providers\",\"item\":\"https://docs.sure.am/providers/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kraken\",\"item\":\"https://docs.sure.am/providers/kraken\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sure.am/providers/kraken#article\",\"headline\":\"Kraken\",\"name\":\"Kraken\",\"description\":\"Connect Kraken crypto exchange accounts to Sure\",\"url\":\"https://docs.sure.am/providers/kraken\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sure.am/providers/kraken#webpage\"},\"dateModified\":\"2026-11-17T07:23:52.991Z\",\"publisher\":{\"@id\":\"https://docs.sure.am/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sure.am#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sure Docs (draft)\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sure Docs (draft)\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/providers/kraken.md","siteName":"Sure Docs (draft)","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Complete guide","href":"/guide"},{"title":"Self-hosting with Docker","href":"/self-hosting"},{"title":"Self-hosting with Render","href":"/self-hosting-render"},{"title":"Self-hosting with Hostim.dev","href":"/self-hosting-hostim"},{"title":"Self-hosting with Pethost","href":"/self-hosting-pethost"},{"title":"Self-hosting with Helm","href":"/self-hosting-helm"},{"title":"Roadmap","href":"/roadmap"}]},{"group":"Key concepts","pages":[{"title":"All Account Types Sure Offers","href":"/guides/key-concepts/account-types"},{"title":"How Asset Accounts Work","href":"/guides/key-concepts/untitled-page"},{"title":"How Debt Accounts Work","href":"/guides/key-concepts/debt-accounts"},{"title":"Managing Investment Accounts","href":"/guides/key-concepts/investment-accounts"},{"title":"Transfers Between Accounts","href":"/guides/key-concepts/transfers"},{"title":"Sure clients","href":"/guides/key-concepts/clients"}]},{"group":"App features","pages":[{"title":"AI assistant sidebar","href":"/guides/app-features/assistant-sidebar"},{"title":"Transactions","href":"/guides/app-features/transactions"},{"title":"Budgets","href":"/guides/app-features/budgets"},{"title":"CSV imports","href":"/guides/app-features/csv-imports"},{"title":"Statement Vault","href":"/guides/app-features/statement-vault"},{"title":"Recurring transactions","href":"/features/recurring-transactions"},{"title":"Goals","href":"/guides/app-features/goals"},{"title":"Insights","href":"/guides/app-features/insights"},{"title":"Family Sharing","href":"/guides/app-features/family-sharing"},{"title":"Settings","href":"/guides/app-features/settings"},{"title":"Passkeys and security keys","href":"/guides/app-features/passkeys"},{"title":"API keys","href":"/guides/app-features/api-keys"}]},{"group":"Development","pages":[{"title":"LLM support","href":"/llm-support"},{"title":"Model Context Protocol (MCP)","href":"/development/mcp"},{"title":"Evaluation framework","href":"/evals"},{"title":"Rails provider generator","href":"/development/rails-provider-generator"},{"title":"LLM Benchmarks","href":"/development/llm-benchmarks"}]},{"group":"Authentication","pages":[{"title":"Authentication quickstart","href":"/authentication/quickstart"},{"title":"Authentication guide","href":"/authentication/guide"},{"title":"User management","href":"/authentication/user-management"}]},{"group":"Third party providers","pages":[{"title":"Overview","href":"/providers/overview"},{"title":"Transaction history and import limits","href":"/providers/transaction-history"},{"title":"Market data providers","href":"/providers/market-data"},{"title":"Mansa API","href":"/providers/mansa"},{"title":"Property valuations","href":"/providers/property-valuations"},{"title":"Apple Wallet","href":"/providers/apple-wallet"},{"title":"On-chain wallets","href":"/providers/onchain-wallets"},{"title":"Akahu","href":"/providers/akahu"},{"title":"Binance","href":"/providers/binance"},{"title":"Brex","href":"/providers/brex"},{"title":"Coinbase","href":"/providers/coinbase"},{"title":"CoinSpot","href":"/providers/coinspot"},{"title":"CoinStats","href":"/providers/coinstats"},{"title":"Enable Banking","href":"/providers/enable-banking"},{"title":"Fio banka","href":"/providers/fio"},{"title":"Indexa Capital","href":"/providers/indexa-capital"},{"title":"Interactive Brokers","description":"Connect Interactive Brokers investment accounts to Sure using Flex Web Service reports","href":"/providers/interactive-brokers"},{"title":"Kraken","href":"/providers/kraken"},{"title":"Lunch Flow","description":"Connect bank accounts worldwide with global coverage","href":"/providers/lunchflow"},{"title":"Mercury","href":"/providers/mercury"},{"title":"Monobank","href":"/providers/monobank"},{"title":"Questrade","href":"/providers/questrade"},{"title":"Wise","href":"/providers/wise"},{"title":"SimpleFIN","href":"/providers/simplefin"},{"title":"Plaid","href":"/providers/plaid"},{"title":"Redbark","href":"/providers/redbark"},{"title":"Up bank","href":"/providers/up-bank"},{"title":"SnapTrade","href":"/providers/snaptrade"},{"title":"Sophtron","href":"/providers/sophtron"},{"title":"Trade Republic","href":"/providers/trade-republic"},{"title":"Trading 212","href":"/providers/trading212"},{"title":"FinanceKit","href":"/providers/financekit"},{"title":"Jev (TypeSafe)","href":"/providers/jev"}]},{"group":"Knowledge Base","pages":[{"title":"Troubleshooting","href":"/guides/knowledge-base/troubleshooting"},{"title":"FAQ","href":"/guides/knowledge-base/faq"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/auth/sign-up-a-new-user"}]}]},"basePath":"","title":"Kraken - Sure Docs (draft)","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}