Hannya

No-withdrawal API key: what it allows, what it blocks

A robot that trades on your account needs an access. Here is what that access can do, what it cannot do, and what it does not protect.

In short: an API key without withdrawal rights lets a robot read your account and place orders, but not move your funds out of the exchange. It protects against your funds being stolen through the key; it does not protect against trading losses.

What it allows

  • Reading your balance, your positions and your orders.
  • Placing, changing and cancelling orders, exit targets included.
  • Opening leveraged positions, within the account's margin.

What it does not allow

  • Withdrawing your funds to an address or another account, as long as the withdrawal and transfer rights stay unticked.
  • Signing in to your account on the exchange's website: it replaces neither your password nor your two-factor authentication.

Bound to an IP address, the key only works from that address: copied, it is useless anywhere else. Hyperliquid and imperial.space have no IP list; their access is built so that it cannot withdraw.

What it does not protect

A no-withdrawal key does not limit losses. The robot places its orders by its rules, without asking your approval order by order: a losing trade, or a liquidation, remains possible on everything held as margin on the account.

So only leave on that account what you accept to see traded.

What the site checks

Before running a robot for real, the site tests the key. A refused IP address, or a withdrawal right it has proof of, stops the robot from starting.

  • Aster : the site reads the agent's rights back and refuses one that can withdraw.
  • Hyperliquid : the site checks that the key is an API wallet and not your main wallet's key; the main key is refused.
  • imperial.space : the session token cannot move funds out, imperial.space guarantees it; the site checks its expiry date.
  • MEXC : the site tries to read the key's rights. When MEXC does not answer clearly, it says so, and it is up to you to check that withdrawal is unticked.
  • KuCoin : KuCoin does not disclose a key's rights: check yourself that "Withdrawal" and "Transfer" are unticked.

What we do with your key

It is encrypted on receipt and never shown again, to anyone. "Delete" in Accounts erases the encrypted key.

You revoke it at the exchange at any time: the robot then stops. Positions already open stay on your account, for you to manage.