← All articles

Kraken API Key: How to Create One for Trading Only

Trading

John Bax and Crypto Go Team · Published · Updated · 11 min read

A Kraken API key is a pair of codes, a public key and a private key, that lets a program act on your Kraken account without knowing your password. For a trading tool, the safe way to create one is to allow trading and nothing else: orders and balances yes, withdrawals no. This guide shows how to create a Kraken API key for trading only on Kraken Futures, what the permissions mean and how to keep the key safe.

In brief

  • A Kraken API key lets software read your account and place orders for you, so it works like a password and deserves the same care.
  • A trading-only key allows orders but keeps withdrawals switched off, so a leaked key cannot be used to move money out of your account.
  • On the Kraken Futures key screen, the General API setting controls trading and the Withdrawal API setting controls withdrawals, which you can leave at No Access.
  • The private key is shown only once, so save it in a password manager at the moment you create it.
  • You can delete a key at any time to cut a tool off, but a key that can trade can also place bad orders, so trading losses remain possible.
Kraken API Key: How to Create One for Trading Only
In this article · 11 min read
  1. What a Kraken API key is
  2. Kraken API key: which permissions a trading key needs
  3. How to create a trading-only key, step by step
  4. Why withdrawals stay switched off
  5. How to keep a Kraken API key safe
  6. What to do if a key may have leaked
  7. Where Crypto Go Bot fits
  8. Common mistakes to avoid
  9. Checklist before you give a key to a tool
  10. Who it is for
  11. Key terms
  12. Frequently asked questions
  13. Sources

What a Kraken API key is

According to the glossary of the National Institute of Standards and Technology (NIST), an application programming interface (API) is a system access point with a well-defined syntax that other programs can call to use a well-defined function. A Kraken API key is the credential that a program shows when it uses that access point to talk to your Kraken account. Instead of typing your username and password, the program signs its requests with the key pair.

Not every tool needs one. Many portfolio trackers, trading bots and spreadsheets use an API key to read balances or place orders, while others work in a different way, so always check what a tool really asks for. If a tool asks for more permissions than its job requires, that is a reason to stop and ask why.

Kraken API key: open the API settings, choose permissions, switch withdrawals off and store the keys safely
Kraken API key: the steps to create a trading-only key

To see how a program talks to an exchange in general, this short IBM Technology explainer on REST APIs, the kind of interface Kraken offers, is a good start.

What is a REST API? (IBM Technology) (in English)

Kraken API key: which permissions a trading key needs

Kraken describes its Futures key settings in its Futures API documentation. There are two settings on the Create Key screen:

  • General API: No Access, Read Only or Full Access. According to Kraken, Full Access excludes withdrawals.
  • Withdrawal API: No Access or Full Access, which controls withdrawal permissions.
Tracking onlyTrading toolNot for a trading tool
General APIRead OnlyFull AccessNo Access (the key does nothing)
Withdrawal APINo AccessNo AccessFull Access
What the tool can doRead the accountRead and place ordersAlso move funds out

A tool that only watches your account can work with Read Only. A tool that must place orders needs more than that, which is why a trading tool usually uses Full Access in the General API setting. Because Kraken states that this level excludes withdrawals, the Withdrawal API setting is the one that decides whether the key could ever take money out. For a trading tool it stays at No Access.

The spot key screen is different. In its guide to spot API keys, Kraken lists separate permissions in three groups: funds ("Query Funds", "Deposit Funds", "Withdraw Funds"), orders and trades ("Query Open Orders & Trades", "Query Closed Orders & Trades", "Modify Orders", "Cancel/Close Orders") and others such as "Query Ledger Entries" and "Access WebSockets API". Kraken notes that a third-party trading tool typically needs order permissions but not "Withdraw Funds". Spot and Futures keys are described in separate guides, so create the one that matches the account your tool will use.

How to create a trading-only key, step by step

Menus and labels change from time to time, so if your screen looks different, follow Kraken's current guides listed in the sources.

  1. Secure the account first. Use a long, unique password and switch on two-factor authentication, which asks for a second proof of identity when you sign in. A key is only as safe as the account that creates it.
  2. Open the API settings. Following Kraken's Futures documentation, sign in to your Futures account, click your name in the upper-right corner, choose Settings and open the Create Key tab in the API panel.
  3. Set the General API level. Choose Read Only if the tool only needs to read, or Full Access if it must place orders. Kraken says Full Access excludes withdrawals.
  4. Set the Withdrawal API to No Access. This is the most important choice. If you are unsure about any option, pick the lower level.
  5. Create the key and copy both parts. Kraken says the private key is shown only once and cannot be viewed again after you close the screen. Copy it straight into a password manager.
  6. Give the key to the tool and nowhere else. Paste it into the field the tool provides. Do not send it by email or chat, and do not take screenshots of it.
  7. Start small. Check that the tool sees the right account and places the order types you expect, using an amount you can afford to lose.

Why withdrawals stay switched off

A withdrawal is the hardest action to undo. With the Withdrawal API at No Access, someone who got hold of your key could not use it to send your funds to another address. That is why Kraken's own spot guide points out that a trading tool does not need "Withdraw Funds".

A trading-only key still carries risk. A person holding it could open or close positions on your account, which is why you should be able to revoke it quickly and why a trading tool should be one you trust. Crypto is volatile, and leverage multiplies losses: read our articles on leverage and on stop loss and take profit before you let any tool trade for you.

How to keep a Kraken API key safe

Kraken's guide says the API key, the private key and the QR code should be treated in the same way as your username and password. In practice:

  • Use a password manager. The National Cyber Security Centre suggests a password manager as a way to generate strong passwords and store them for you. It works well for API keys too.
  • One key for each tool. Kraken says up to 50 keys can be created per account. A separate key per tool means you can delete one without breaking the others.
  • Restrict where the key can be used, if you can. On the spot key screen, Kraken offers IP whitelisting as an optional setting that limits a key to specific internet (IP) addresses. Check whether the screen you use offers it, and whether your tool runs from a fixed address.
  • Never store it in plain text. Notes apps, email drafts and shared documents are not safe places.
  • Delete what you no longer use. An old key for a tool you stopped using is an open door.
  • Protect the account itself. The Open Worldwide Application Security Project (OWASP), the project that publishes the reference list of API security risks, ranks broken authentication second in its 2023 list. A weak account password or a missing second factor undermines every key attached to the account.

Stolen credentials are not a theoretical risk. In the 2025 Data Breach Investigations Report by Verizon, a yearly study of thousands of confirmed breaches, the use of stolen credentials was still the most common way in, at 22% of breaches, just ahead of exploited software vulnerabilities at 20%. In attacks on web applications, about 88% of breaches involved stolen credentials, and leaked secrets such as API keys found in a GitHub repository took a median of 94 days to be fixed. Having built a tool that trades through the Kraken API ourselves, we treat every key that can place orders with the same care as the account password.

Bar chart: share of breaches involving stolen credentials or exploited vulnerabilities, from the 2025 Data Breach Investigations Report

John Bax's view

In Cryptocurrency Investing, John Bax puts security before any strategy: before learning how to make money with crypto, learn the mistakes that would put your capital at serious risk. In his words, "the world's best investment strategy or the best speculative trades ever are worth zero if you are vulnerable to cyber-attacks." A trading-only key with withdrawals switched off is a small, concrete way to apply that rule.

What to do if a key may have leaked

Do not wait to see whether something happens. Delete the key in Kraken's API settings, which cuts off whoever holds it. Then create a new key, update the tool, and check your open positions, open orders and recent activity for anything you did not do. If you suspect someone reached your account itself, change your password and contact Kraken support.

Where Crypto Go Bot fits

Crypto Go Bot, which we built, trades on your own Kraken account through a Futures trading API that you create yourself. According to the bot page, the key allows the bot to open and close positions, place take profit and stop loss orders on Kraken, and read your balance and open positions. It does not allow withdrawing or transferring funds. The page also says that, with the Withdrawal API set to No Access, nobody can take money out of your exchange account through that key.

The bot runs on a server that you set up, so the key stays with you and is not shared with us. You can revoke the key from Kraken at any moment without asking us. The bot page also has a setup guide that walks you through the creation of the key. Trading is risky and losing trades are normal: no setting on the key, and no setting on the bot, rules out losses. If you want to understand what such a system does before you connect one, read our overview of the crypto trading bot.

Common mistakes to avoid

  • Leaving the Withdrawal API at Full Access "just in case".
  • Using one key for several tools, so that you cannot tell which one is active.
  • Saving the private key in a screenshot or a chat message.
  • Choosing Read Only for a tool that must place orders, and then wondering why nothing happens.
  • Using a spot key where a Futures key is needed, or the other way around.
  • Skipping the small test and discovering a mistake with a large position open.

Checklist before you give a key to a tool

  • My account has a unique password and two-factor authentication.
  • The Withdrawal API is set to No Access.
  • The General API is set to the lowest level the tool needs.
  • The private key is saved in a password manager and nowhere else.
  • I know how to delete the key quickly, and I tried the tool with a small amount.

Who it is for

A trading-only key concerns anyone who wants a program to work on a Kraken account without handing over the password or the power to withdraw.

  • People connecting a trading bot: they give the tool a key that can place orders but not move funds, and keep the right to delete it at any time.
  • Users of portfolio trackers: a Read Only key is enough to follow balances and trades without letting the app change anything.
  • Developers writing their own scripts: they test their code with a separate key and a small amount before running it on a larger account.
  • Cautious beginners: following the steps above and starting with a small sum is a way to learn how keys and permissions work before trusting any tool.

Key terms

  • API (application programming interface): the access point through which one program uses the functions of another, here your Kraken account.
  • API key: the public part of the key pair, which identifies the program to Kraken.
  • Private key: the secret part of the pair, used to sign requests; Kraken shows it only once.
  • Permissions: the actions a key is allowed to do, such as reading balances, placing orders or withdrawing.
  • Two-factor authentication: a second proof of identity, besides the password, asked when you sign in.
  • IP whitelisting: a setting that lets a key work only from specific internet addresses.

Frequently asked questions

What is a Kraken API key?

It is a pair of codes, a public key and a private key, that lets a program read your Kraken account or place orders for you. It works like a password for software, so it should be kept private.

Can a trading-only key withdraw my funds?

Not if the withdrawal permission is off. On the Futures screen, the Withdrawal API offers No Access or Full Access, and Kraken says the General API's Full Access level excludes withdrawals. Someone with the key could still place trades, so keep it private.

Can I see my private key again after creating it?

No. Kraken says the private key is shown only once and cannot be viewed after you close the screen. If you lose it, delete the key and create a new one.

Should I use one key for several tools?

It is better to use one key for each tool. That way you can delete one without affecting the others, and you can tell which tool is using which key.

Is a Futures key the same as a spot key?

Kraken explains them in separate guides, with different settings. Create the key for the type of account your tool will trade on.

What should I do if I think my key has leaked?

Delete it in Kraken's API settings straight away, create a new one, and check your positions, orders and recent activity. If you think someone reached your account itself, change your password and contact Kraken support.

Sources