Skip to main content

Kraken Classic and PRO: how to create API keys

Connect Kraken to 3Commas using API keys.

Updated today

Before we start with API keys.

1. Kraken has introduced a new Kraken Pro version that offers the same API keys creation feature. So to create new API keys, you need to switch to the Kraken Classic or Kraken Pro:

If you stay just on Kraken and try to create API keys, you will still be prompted to move to Kraken Pro:

2. The process of the API keys creation on Kraken Classic has not changed. Here in this article, you will be given screenshots of both Classic and Pro versions.



Kraken Pro

1. Go to Kraken

Log in or create a new account on https://www.kraken.com/.

2. Switch to Kraken Pro

Or go straight to Kraken Pro website.

3. Go to the Settings page and click Create API key

4. Name your key

When you have multiple APIs, a proper name helps to manage it.

5. Select permissions

You must enable them as in the screenshot below:

  • Funds permissions

    • Query

  • Orders and trades

    • Query open orders & trades

    • Query closed orders & trades

    • Create & modify orders

    • Cancel & close orders

  • Data

    • Query ledger entries

Enable WebSocket interface.

ATTENTION!

If you don't check at least one of the permissions, it may result in an error that will block you from further trading! If you have any error like "Not enough permission for API keys", please update the API keys permission or create new keys with the correct permissions.

6. Enable the option for IP Whitelisting and add whitelisted IP addresses

  1. Enable the IP address restriction option

  2. Go to the connecting Kraken exchange page and copy the IP range from there:

7. Enable Custom nonce window

Enter 2000000 (2 million):

8. Do not configure any other options and click "Generate key"

9. Add Kraken to 3Commas

Congratulations! Your API keys are created, and the exchange is ready to be connected to 3Commas.

Please note that the Private key on the screenshot below refers to the API Secret field on the exchange connection page on 3Commas:

This article will help you to connect your Kraken Pro account to 3Commas:


Kraken Classic

1. Go to Kraken

Log in or create a new account on https://www.kraken.com/.

2. Switch to Kraken Classic

3. Follow to the API page

Click on the profile icon on the top right corner, click on "Security" then "API":

3. Click on "Add key"

4. Name your key

When you have multiple APIs, a proper name helps to manage it.

⚠️IMPORTANT: Please set the "Nonce window" value to 2 000 000!⚠️

5. Select permissions

You must enable them as in the screenshot below:

  • Important: Please Ensure "Nonce Window" is set to 2000000 (2 million)

  • Query Funds

  • Query Open Orders & Trades

  • Query Closed Orders & Trades

  • Modify Orders

  • Cancel/Close Trades

  • Query Ledger Entries

  • Access WebSockets API

ATTENTION!

If you don't check at least one of the permissions, it may result in an error that will block you from further trading! If you have any error like "Not enough permission for API keys", please update the API keys permission or create new keys with the correct permissions.

6. Enable the option for IP Whitelisting

  1. Enable the option for IP whitelisting

  2. Click the "Add an IP address or range" button

  3. Go to the connecting Kraken exchange page and copy the IP range from there:

7. Do not configure any other options and click "Generate key"

8. Add Kraken to 3Commas

Congratulations! Your API keys are created, and the exchange is ready to be connected to 3Commas.

Please note that the Private key on the screenshot below refers to the API Secret field on the exchange connection page on 3Commas:

This article will help you to connect your Kraken Classic account to 3Commas:


Frequently Asked Questions

Why can’t I see or trade with all of my funds on Kraken?

If your available balance in 3Commas looks lower than expected, or you see errors like “Unable to load available balance” or “EAPI: Invalid nonce”, here are the most common causes and fixes:

1. Margin Mode is Enabled

Please check if Margin trading mode is enabled on your Kraken account. Assets used as collateral in margin trades are locked and will not appear as available via the API.

Learn more here:

2. Kraken Earn is Enabled

Assets in your spot account may be earning yield via Kraken’s Earn feature. These assets appear available on Kraken, but are hidden from API access, so 3Commas cannot see them.

To fix this, disable the Earn feature for those assets in your Kraken account.

3. Nonce Sync Issues (EAPI errors)

A misconfigured Nonce window may cause API sync failures.

Common errors:

  • EAPI: Invalid nonce

  • Unable to load available balance

Go to your Kraken API key settings and set the Nonce window to 2000000 (2 million). Save and reconnect the API key in 3Commas.

Classic:

PRO:

Why can’t I find DOGE pairs when creating a bot?

Kraken uses a different asset code for DOGE in their API — it’s listed as XDG. To find DOGE pairs on 3Commas, simply search using XDG instead of DOGE.

I’m seeing “HTTP 429” or “Rate limit exceeded” errors — what can I do?

Kraken enforces strict API rate limits. These can be triggered when:

  • You have multi-pair bots with many active orders

  • Several trades open simultaneously, each submitting orders at once

If your Kraken account is Level 2 or lower, these errors are more likely.

Solution: Upgrade to Kraken Level 3 KYC to increase your API rate limit.

More details here:

Also, enabling IP Whitelisting may reduce connection issues — see setup in the main article above.

Did this answer your question?