Crypto API keys without withdrawal access

An exchange bot needs to read your balances and place orders. It never needs to move funds out. Setting the key up correctly takes five minutes and removes the worst risk.

4 min read

Create a dedicated key

Make a new API key used only by the bot, so you can revoke it without affecting anything else. Label it with the bot’s name and the date.

Permissions

  • Read: on.
  • Spot trading: on.
  • Futures or margin trading: only if your approved strategy trades them.
  • Withdrawals: off.
  • Internal and sub-account transfers: off.

Restrict by IP

Most exchanges let you lock a key to the IP address of your server. With that set, a leaked key cannot be used from anywhere else.

Store it safely

Keep the key in your server’s environment variables or a secret manager, never in the code, a chat or an email. RuleToBot builds read keys from the environment and never log them.

This guide explains software and testing. It is not investment advice.

Ready to automate your rules?

Express builds from ₹3,999 in about two hours. A senior engineer writes your blueprint and you approve it before any code is written.

RuleToBot builds software and gives no investment advice. Automated trading can lose money, and no robot or backtest guarantees a profit.