Skip to content
Hytyde

All articles

How to create a safe Binance API key for a trading bot

Last updated: 2 December 2026

A trading bot needs an API key to place orders on your Binance account. Set up properly, that key can trade but can never move money out of your account, and it only works from one server. This guide shows how, and what to check before you hand a key to anyone.

A safe Binance API key: Enable Futures on, Enable Withdrawals off, trusted IPs only on

Don't have a Binance account yet? Create one with our referral link. Hytyde may earn a commission from Binance. It costs you nothing.

What a safe key looks like

  • Trading on, withdrawals off. A bot never needs to withdraw. A key that can withdraw is a key that can empty your account if it leaks.
  • Locked to one IP address. The key only works from the bot's server. If someone copies it, it's useless to them anywhere else. Binance also only allows futures trading on keys that are locked to an IP.
  • Only the permissions the bot needs. For a futures bot that's Enable Reading and Enable Futures. Nothing else.

Whoever runs the bot should never ask for your password, your two-factor codes, or a key with withdrawals switched on. If they do, stop there.

Before you start

  1. Open USDⓈ-M futures if you haven't already. On Binance, go to Derivatives → USDⓈ-M Futures and accept the terms. Do this before creating the key: a key made earlier may not get the futures permission.
  2. Move the USDT the bot will trade with into your USDⓈ-M Futures wallet (Wallet → Transfer).
  3. Consider a sub-account. If your account has sub-accounts, giving the bot its own keeps its trades separate from yours and makes the results easy to follow.
  4. Check what the bot needs on the futures page. Many futures bots need a particular Position Mode (One-way or Hedge) and Asset Mode. You'll find both under Preferences (the settings icon on the futures page). Change them before the bot starts, with no positions open.

Create the key

  1. Go to Account → API Management (or search for "API Management").
  2. Click Create API, choose System generated, and give the key a name you'll recognise, such as the bot's name.
  3. Complete Binance's security check (email, authenticator or passkey).
  4. Binance shows the new API key and secret key. Copy the secret now: Binance only shows it once. If you lose it, delete the key and make a new one.

Set its permissions

Click Edit restrictions on the new key:

  1. Choose Restrict access to trusted IPs only and enter the IP address of the bot's server. The bot's provider should give you this. Save it.
  2. Tick Enable Futures. Enable Reading is already on.
  3. Leave Enable Withdrawals off, and everything else you don't need, such as margin and universal transfer.
  4. Save, and complete the security check again.

Once the key is locked to an IP, it keeps working until you delete it. Keys without an IP restriction can be limited or switched off by Binance over time.

Check it before you use it

Look at the key in API Management and confirm:

  • Enable Futures is ticked.
  • Enable Withdrawals is not ticked.
  • Under IP access, it says the key is restricted to the address you entered.

A good bot provider checks this too when you connect the key, and refuses a key that can withdraw.

Keep it safe

  • Paste the key only into the bot's own connection page, never into a chat, an email or a support ticket. No genuine support team needs your secret key.
  • Store it nowhere else. If you need to connect again, make a new key.
  • Delete keys you no longer use in API Management. If you stop a bot, delete its key too.
  • If you think a key has leaked, delete it straight away. Deleting a key stops it at once; your funds stay where they are.

Common problems

  • "Enable Futures" can't be ticked: the futures account wasn't open when the key was made, or the key isn't locked to an IP yet. Open futures, then create a new key and add the IP first.
  • The bot says the key is invalid: check you copied the whole secret with no spaces, and that the IP you entered is the bot server's address.
  • The bot can't open trades: make sure the USDT is in the USDⓈ-M Futures wallet, not your spot wallet, and that the position and asset modes match what the bot asks for.

Hytyde's bots connect with exactly this kind of key, trade-only and locked to our server, and we check it when you connect. You can see every bot's daily results, good days and bad, on the Futures Bots page.

Trading crypto futures can lose you money, including more than you expect when leverage is used. Past results don't guarantee future results. This article is general information, not financial advice.

Comments

No comments yet.

Results marked Live account come from real exchange accounts, after fees and funding. Past results don't guarantee future results, and crypto prices can fall a long way and stay down. Only trade what you can afford to lose. Nothing here is financial advice.

How it works · FAQ · Blog · Refund policy · Terms · Privacy · Risk · hello@hytyde.io · Follow on X · Telegram