How to connect a trading bot to Kraken safely
The safe way to connect any trading bot to Kraken is with an API key that can read your balances and place trades, but cannot withdraw funds. Enable query and trade permissions only, leave withdrawal off, and keep the key encrypted. Do that and the bot can trade for you while your money stays locked in your own account.
Last updated June 2026
The one rule that matters most
Before any of the steps, internalize the rule that makes the whole thing safe: never grant withdrawal permission to a trading bot. An API key is not your password; it is a limited set of permissions you choose. If withdrawal is off, no bot, and no attacker who somehow got the key, can move your funds off Kraken.
Which permissions to enable
In Kraken's API key settings, a trading bot needs exactly these and nothing more:
- Query Funds: lets the bot read your balances.
- Query Open Orders & Trades, and Query Closed Orders & Trades: lets it see order status.
- Create & Modify Orders: lets it place and cancel trades.
- Withdraw Funds: leave this OFF, always.
The principle is least privilege: grant the minimum permissions the tool needs to do its job, and nothing else.
Step by step
The general flow on Kraken is:
- Sign in to Kraken and open Settings, then the API section.
- Create a new API key dedicated to this bot (do not reuse one).
- Enable the query and order permissions above; leave withdrawal unchecked.
- If the tool runs from a fixed IP, add it to the key's IP restriction field.
- Copy the API key and private key, then paste them into the tool over HTTPS.
- Store nothing in plain text, and delete the key in Kraken if you stop using the tool.
Kraken's own API Key Security guidance recommends the same: minimal permissions, no unnecessary withdrawal access, and IP restrictions where possible.
How Sentari handles this
Sentari only ever uses trade-level access, never withdrawal, and encrypts your keys on the server rather than in your browser. It is non-custodial, so even Sentari cannot move your funds; your money stays in your Kraken account, and you can pause or disconnect at any time. For the broader safety picture, see is automated crypto trading safe?
Frequently asked questions
What Kraken API permissions does a trading bot need?
Should I give a trading bot withdrawal access on Kraken?
Is it safe to connect a bot to Kraken with an API key?
How does Sentari protect my Kraken API keys?
Can I revoke a Kraken API key later?
Sentari provides software and information, not financial advice. Crypto trading involves risk, including the loss of capital. Past performance is not a guarantee of future results.