API key safety for a crypto futures bot

A futures bot API key is safe only when it cannot move funds. Enable read and trade so it can see the account and place or cancel perpetual orders. Leave withdrawal and transfer off, bind the key to the bot server IP, and delete the key on the exchange if you stop. Leveraged futures carry a high risk of loss.

Is it safe to give a trading bot your exchange API key?

An exchange API key is a credential the exchange issues so software can act on the account within the permissions you tick. It is not your login password.

Giving that key to a bot is safe only when the permissions are narrow. The bot needs to read the account and to place or cancel perpetual futures orders. It does not need to withdraw, and it does not need to transfer funds between wallets. The exchange still holds the funds. A stolen key with withdrawal enabled is a withdrawal. A stolen key with withdrawal off and an IP whitelist can still place orders, which is a real loss, and it cannot send the balance to another address.

The account path, including the key step, is on Get started. Leveraged futures carry a high risk of loss. A careful key does not change the market.

Which API permissions should a futures bot have?

Read lets the key view balances, positions, and open orders. Trade lets it place, change, and cancel orders. Those two are the pair a futures bot needs.

Recommended for a crypto perpetual futures bot. Exchange screens use their own labels for the same ideas. As of October 2026.
Permission What it allows For a futures bot
Read View balances, positions, and open orders. On
Trade Place, change, and cancel orders. On
Withdraw Send funds off the exchange. Off. Never.
Transfer Move funds between wallets or accounts on the exchange. Off

Tradeture's own guides name the trade permission in the exchange's wording. Bitunix is trade permission only. OKX is read and trade, plus a passphrase. Bitget is futures orders and holdings, plus a passphrase. Bybit is Unified Trading. MEXC is futures account and trade. On every one of those guides, withdrawal stays off. The steps are on the Bitunix futures bot, OKX futures bot, Bitget futures bot, Bybit futures bot, and MEXC futures bot pages.

Should I enable withdrawals?

No. Never. Withdrawal permission is how a key moves funds off the exchange to an address the key chooses.

A bot that sizes a position and sends a stop does not need that. Billing, if you pay for software, is a payment you make yourself. It is not a pull from the trading account through the bot key. If a setup screen, a support chat, or an email asks you to enable withdrawals so the bot can "work" or "settle", that is the request to refuse.

Transfer is the same idea inside the exchange: moving funds from one wallet or sub-account to another. Leave it off. Read and trade are enough to run the orders you already defined.

What is IP whitelisting and should I use it?

IP whitelisting is an exchange setting that accepts the API key only from the IP addresses you list. A request from any other address is rejected, even if the key and secret are correct.

Use it when the exchange shows the field. For a key used with Tradeture, the setup guides publish one server address, 72.61.112.102, and they say to allow only that address. A key bound to that IP does not work from a laptop or from another server. That is the point of the list. Securing the exchange account, including the login and two-factor authentication, is still yours. The whitelist does not replace it.

If the exchange has no IP field, the permission limits are the control you still have: read and trade on, withdrawal and transfer off.

How do I revoke or rotate an API key?

Revoke means delete or disable the key on the exchange. The next request signed with that secret fails, so the bot connection stops. Tradeture's exchange pages state that you can delete the key on the exchange at any time, and that this cuts the connection.

  1. Open API management on the exchange, while you are logged in. Do not do this from a link in an email or a chat.
  2. Delete or disable the key the bot was using.
  3. To rotate, create a new key first: read and trade on, withdrawal and transfer off, and the server IP if the field exists.
  4. Paste the new key, secret, and passphrase where the exchange requires one, into Tradeture API settings. Confirm the account responds. Then delete the old key.
  5. Do this if you stop using the bot, if the secret was shown on a screen you do not control, or if you pasted it anywhere other than the exchange and your Tradeture API settings.

The exchange shows the secret once, at creation. Store it then. A support person who asks you to read the secret back to them is a red flag, not a recovery step.

What red flags should I watch for?

  • A request to enable withdrawals, or to enable transfer, "just for billing" or "just once".
  • A request for the exchange login password. Tradeture's exchange pages state that the password is not required. The key, the secret, and a passphrase where the exchange uses one, are the credentials.
  • A request to paste the secret into email, chat, a form that is not the exchange, or a form that is not your Tradeture API settings.
  • A promise of profit, a guaranteed return, or a bot that "cannot lose". Leveraged futures carry a high risk of loss.
  • An IP field left empty when the exchange offers one, on a key that a server will use.
  • A key you already gave to a tool you no longer use. Delete it. Do not share one secret across tools you do not still trust.

What should I check before I save the key?

  1. Create the key on the exchange while you are logged in. Not from a link in a message.
  2. Read on. Trade on.
  3. Withdrawal off. Transfer off.
  4. If the exchange has an IP whitelist, allow only the bot server. For Tradeture that published address is 72.61.112.102.
  5. Copy the secret once, into Tradeture API settings. The exchange will not show it again.
  6. Know which exchange page you will open to delete the key.

How does Tradeture handle exchange API keys?

These points are the ones written in Tradeture's own pages and setup guides.

  • The key is trade-only. Withdrawal permission stays off. API settings say read and trade, and never enable withdrawals. The terms recommend trading-only permissions with withdrawal disabled. The privacy policy says the same.
  • The privacy policy says the API key, secret, and passphrase, where the exchange requires one, are stored encrypted and are used to communicate with the exchange on your instructions.
  • The terms say Tradeture never has custody of the funds. The assets stay at the exchange.
  • The setup guides do not ask for the exchange password. OKX and Bitget also require a passphrase, which you set and then paste with the key and secret. Bitunix, Bybit, and MEXC guides use the key and secret.
  • If the exchange offers an IP whitelist, the guides say to allow only 72.61.112.102. A key bound to that IP does not work from another machine.
  • You can delete the key on the exchange at any time, and that cuts the connection.

Open the guide for the exchange you use: Bitunix, OKX, Bitget, Bybit, or MEXC. The account steps start on Get started.

What are the short answers on API key safety?

Is it safe to connect API keys to a crypto trading bot?

It is safe only in a narrow sense: the key can place and cancel orders, and it cannot withdraw. Turn on read and trade. Leave withdrawal and transfer off. Bind the key to the bot server IP when the exchange offers that field, and delete the key on the exchange when you stop. A key is still a credential. Leveraged futures carry a high risk of loss.

What API permissions does a futures bot need?

Read and trade. Read lets the bot see balances, positions, and open orders. Trade lets it place, change, and cancel perpetual futures orders. Withdrawal and transfer stay off. Tradeture's setup guides say the same thing: trade-only, and withdrawal permission stays off.

Should I enable withdrawals on a bot API key?

No. Never. Withdrawal permission lets the key move funds off the exchange. A futures bot does not need it. Tradeture's API settings, terms, and each exchange setup guide say to leave withdrawals disabled.

Should I whitelist an IP on the API key?

Yes, when the exchange offers it. An IP whitelist means the exchange accepts that key only from the addresses you list. Tradeture's setup guides publish server IP 72.61.112.102 for that field. A key bound to that address does not work from another machine.

How do I revoke or rotate an exchange API key?

Delete or disable the key on the exchange API page. That cuts a bot that signs requests with it. To rotate, create a new trade-only key, paste it into Tradeture API settings, confirm the account responds, then delete the old key. Do not send the secret by email or chat.

Trade-only API keys

Last reviewed by Ric Mescallado