> For the complete documentation index, see [llms.txt](https://docs.itradingbot.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itradingbot.net/en/binance-robot/creating-binance-api-keys.md).

# Creating Binance API keys

<mark style="color:$tint;">This instruction will help you manually create a pair of API Keys and Secret Keys on Binance to connect your account to the ITradingBot. If you connect a basic account with the Basic button and Binance creates the keys when you authorize, follow the</mark> [<mark style="color:$tint;">Account connection instructions</mark>](/en/binance-robot/binance-robot-connecting-your-own-account.md)<mark style="color:$tint;">.</mark>

### Set up an account

<mark style="color:$tint;">Log in to the exact Binance account that the robot will be working on. For a sub-account, you need to create a key for that sub-account, not take the key from the main account.</mark>

<mark style="color:$tint;">Before you create the key, turn on two-factor protection, run a Binance identity check, and activate your account by filling in your spot wallet. These pre-requisites are listed in Binance's official instructions. —</mark> [<mark style="color:$tint;">Binance official instructions</mark>](https://www.binance.com/en/support/faq/detail/360002502072) <mark style="color:$tint;">Also, first, activate a futures account: a key that was created before that may not allow you to enable futures trading.</mark>

<mark style="color:$tint;">F</mark><mark style="color:$tint;">**or**</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">a FREE robot, one of two conditions is sufficient: the account is registered via the ITradingBot referral link or registered on or after January 11, 2025 and not linked to a third-party referral. —</mark> [<mark style="color:$tint;">Referral link to ITradingBot</mark>](https://accounts.binance.com/register?ref=960472302) <mark style="color:$tint;">The date is only for the second option. The creation of an API key alone does not change these conditions.</mark>

### Create a key for Binance

1. <mark style="color:$tint;">Open the Binance profile menu, select Account → Manage API.</mark>
2. <mark style="color:$tint;">Click Create an API.</mark>
3. <mark style="color:$tint;">Select System generated . This option gives two values: API Key and Secret Key, which are used in manual form by ITradingBot.</mark>
4. <mark style="color:$tint;">Enter a clear name for the key, such as ITradingBot Robot.</mark>
5. <mark style="color:$tint;">Confirm the creation of a security method that Binance will offer.</mark>

<mark style="color:$tint;">The key card will appear on the page. Don't close it until you keep it a secret. Self-generated RSA/Ed25519 keys have a different configuration and are not covered by this instruction.</mark>

### Set up IP and trade rights

<mark style="color:$tint;">For a separate API key to your Binance robot, disable the IP restriction. This setting is for the manual procedure on this page. Do not specify the IP of your computer: the robot's requests are sent from ITradingBot servers.</mark>

1. <mark style="color:$tint;">In the API Management section, disable</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">**Default security controls**</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">if this mode does not allow you to enable trade rights for an IP-free key.</mark>
2. <mark style="color:$tint;">In the key card you want , click Change restrictions .</mark>
3. <mark style="color:$tint;">In the IP access restrictions , select Unrestricted .</mark>
4. <mark style="color:$tint;">Leave Enable Reading on and enable Enable Futures on.</mark>
5. <mark style="color:$tint;">Leave the option to Enable Withdrawals. Do not include transfers, loans, options or spot trading.</mark>
6. <mark style="color:$tint;">Keep the limits and go through Binance confirmation. Make sure the trade rights you have selected are maintained.</mark>

<mark style="color:$tint;">Without IP restrictions, anyone with a key and a secret can use the key. Disabling Default Security Controls affects the overall API setting of the main account and sub-accounts. Binance recommends IP restriction; features of HMAC keys and the availability of futures are listed in</mark> [<mark style="color:$tint;">Binance FAQ</mark>](https://www.binance.com/en/support/faq/detail/360002502072)<mark style="color:$tint;">. If you need to connect to an IP connection, please specify a compatible way to support ITradingBot before changing the key. —</mark> [<mark style="color:$tint;">support for ITradingBot</mark>](https://t.me/ITradingBot_Support)

### Save the key and connect the robot

1. <mark style="color:$tint;">Keep the</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">**API Key**</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">and</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">**Secret Key**</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">separately in a secure location. Don't send them to Telegram, support or screenshots.</mark>
2. <mark style="color:$tint;">Go back to ITradingBot and run the manual Binance account link. —</mark> [<mark style="color:$tint;">Linking to Binance account</mark>](/en/binance-robot/binance-robot-connecting-your-own-account.md) <mark style="color:$tint;">In the form Add API → Sub Account, enter the key in the</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">**API Key**</mark><mark style="color:$tint;">, and the secret in the</mark> <mark style="color:$tint;"></mark><mark style="color:$tint;">**Api Secret**</mark><mark style="color:$tint;">.</mark>
3. <mark style="color:$tint;">Click Add and check the result in the robot settings. If an error message appears, the key should not be considered connected.</mark>

<mark style="color:$tint;">Connecting the key and starting the robot separate actions. Before you click Start, check the settings and prepare trading tasks.</mark>

### If the key doesn 't fit

<mark style="color:$tint;">The futures are unavailable, so check if the futures account was activated before the key was created. Binance also indicates a limitation for Portfolio Margin. Do not change the account mode or delete the working keys blindly.</mark>

<mark style="color:$tint;">Binance leaves only readings. Check the IP settings and Default Security Controls. If the switch is not available, look for the reason in the Binance interface.</mark>

<mark style="color:$tint;">ITradingBot rejects the key. Check that the key and secret are from the same account, are free of gaps and have a saved Futures permission. If you have a FREE access error, check the terms above. Please provide</mark> [<mark style="color:$tint;">support</mark>](https://t.me/ITradingBot_Support) <mark style="color:$tint;">with only the text of the error and the step by which it appeared.</mark>
