Guide

Binance API key for a grid bot: which permissions are safe

A trading bot never needs your Binance password. It works through an API key — and the permissions you give that key decide what the bot can and cannot do with your account.

What an API key is

An API key is a pair of credentials that lets a program talk to your Binance account directly. Binance lets you choose, key by key, what the program is allowed to do: read your balances, trade Futures, trade Spot, or move funds out. A grid bot only needs a small part of that list.

The permissions a grid bot needs

  • Enable Futures — ON. The bot places and cancels orders on Binance Futures, so this one is required.
  • Enable Reading — ON. Binance turns this on for every key. The bot uses it to read balances, positions and open orders.
  • Enable Withdrawals — OFF, always. No grid bot needs to send funds anywhere. With withdrawals off, even someone who got hold of the key could not move money out of your account.
  • Everything else — OFF. Spot, margin and transfer permissions are not needed for Futures grid trading.

IP access restriction

Binance can limit a key to a list of IP addresses. That is a good extra lock when your internet connection has a fixed IP. Most home connections change their IP from time to time, though, and a key locked to an old IP simply stops working — so if you are not sure your IP is fixed, choose Unrestricted and rely on the other protections on this page.

Ed25519 or HMAC?

Binance supports two kinds of keys. With a classic HMAC (“System generated”) key, Binance creates both halves and shows you the secret, which you then copy into the bot. With an Ed25519 (“Self-generated”) key, the secret is created on your own device and never leaves it — you give Binance only the public half.

DualGridBot creates an Ed25519 key pair for you on first launch. The private half is encrypted to your Windows account and stays on your computer; you paste only the public key into Binance. The step-by-step screens are on our Setup Steps page.

Keeping the key safe

Frequently asked questions

Can a trading bot withdraw my funds?

Not if withdrawals are off on its API key. Binance refuses any withdrawal request made with a key that does not have that permission.

Do I have to give the bot my Binance password?

No. An API key is all a bot needs. Be careful with any service that asks for your password or 2FA codes.

Why did Binance reject my public key?

The most common reasons are choosing “System generated” instead of “Self-generated”, or the key text picking up invisible characters after being emailed. Paste it straight from the bot on the same computer.

Futures trading with leverage carries a high risk of loss. A safe API key protects you from theft, not from market losses. See our Legal & Risk Disclosure.

Try it on your own account

Start a free 15-day trial, or learn the bot risk-free first in Paper mode.

Start Free Trial See the Setup Steps