Kraken: how to create API keys

Connect Kraken to 3Commas using API keys.

Updated over a week ago

Before we start with API keys.

Kraken has introduced a new Kraken Beta version that does not include the API keys creation feature. So to create new API keys, you need to switch back to the classic:

1. Go to Kraken

Log in or create a new account on

2. 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


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:

Copy this IP range into the Kraken page:

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 account to 3Commas:

Did this answer your question?