byScript Docs
  • Start Here
  • About
  • FAQ
  • Exchange
    • Binance
    • Bybit
    • OKX
    • Kucoin
    • Binance TR
    • Binance US
    • Bitfinex
    • Bitget
    • Bitstamp
    • Coinbase Advanced
    • Coinbase Perpetual
    • Gate.io
    • Gemini
    • HTX
    • Kraken
  • Autotrader
  • Trading Plan
    • XMA
  • Plans
  • Affiliate
  • Back to Dashboard
Powered by GitBook
On this page
  • Before we start with API keys
  • Kraken Pro
  • Kraken Classic
  1. Exchange

Kraken

PreviousHTXNextAutotrader

Last updated 6 months ago

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:

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

2. Switch to Kraken Pro

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. Connect Kraken with created API keys

Enter the API keys into the appropriate fields:

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

Kraken Classic

1. Go to Kraken

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":

4. Click on "Add key"

5. 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!⚠️

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

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

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

9. Connect Kraken with created API keys

Enter the API keys into the appropriate fields:

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

Log in or create a new account on .

Or go straight to .

3. Go to the and click Create API key

Log in or create a new account on .

https://www.kraken.com/
Kraken Pro website
Settings page
https://www.kraken.com/