Skip to main content

How to connect to Kraken with API Keys?

Create API keys on Kraken Pro, enable all permissions except Withdraw, set the nonce window to 10,000, whitelist Cryptohopper's IP addresses, and paste the keys into your trading bot.

Written by Pete Darby
Updated over a week ago

This article explains how to create API keys on Kraken and connect your exchange account to Cryptohopper so your trading bot can start trading.

Tip: Want a quicker way to connect? Use Fast Connect instead — no API keys needed.

Steps

  1. Go to the Kraken exchange website and log in or create an account.

  2. Navigate to Kraken Pro by clicking the grid menu button (next to the Notification button).

  3. Click your profile in the upper right corner, then select Settings.

  4. Go to the Connections and API section and click Create API Key.

  5. Enter a memorable name for your API key, such as "CryptohopperAPI1." Select all permission checkboxes except Withdraw.

  6. Enable Websocket interface and Custom nonce window. Enter 10,000 as the Nonce value. Then go to Cryptohopper, copy the displayed IP addresses, return to Kraken, enable IP address restriction, paste the IP addresses, and click Create API Key.

  7. Copy both the API Key and API Secret displayed on Kraken. Paste them into the corresponding fields in Cryptohopper.

  8. Click Generate API Key and continue creating your trading bot.

Your Kraken exchange is now connected. The bot will start running on your next trading cycle.

Tip: Consider adding a second API Key and API Secret to your Base config after creating your bot. This increases your API rate limit and helps prevent trading errors.

Unable to see your Kraken exchange balance?

If your trading bot does not show your Kraken balance, browser auto-fill may be interfering with the API connection. Try disabling auto-fill, using incognito mode, switching to a different browser, or disabling your password manager. Also verify that your API keys have the correct permissions, are copied without errors, and that Cryptohopper's IP addresses are whitelisted in your Kraken account. See our troubleshooting article for more details.

Troubleshooting Kraken API Integration Issues

You may see an error during onboarding even when your API keys are correct. Common causes include having no funds in your Kraken exchange account, having funds in your funding account instead of your trading account, or not having completed KYC verification. If this happens, click Continue without testing. You can verify your API keys later in your Base config.

Related articles

Did this answer your question?