Skip to main content

How to Create and Update API Keys - Binance Spot, Futures, and Coin M

Create your API Keys on Binance, connect them with your Cornix account, and update IP Whitelisting

Written by Dor

Before you start, please make sure you complete your Binance account verification. Binance allows API key creation only for accounts that have completed their Basic and Intermediate Verification.
You can follow this link to learn how to verify your account.

Once your account is verified, you will be able to complete the steps.

Quick Connect:

We highly recommend using the ⚡Binance Quick Connect⚡ feature for a fast, easy, and seamless process! It will automatically create API keys with the needed permissions, Whitelisted IPs, and add them to your Cornix account. Note that connecting Binance sub-accounts will still require manual API key creation.


Creating Binance API - Step by Step

Navigate to your Cornix Dashboard > Accounts > '+ Create'

Choose 'Binance' and then 'Connect with API Keys'. Here you will see fields to insert your API keys and Whitelisted IPs to copy.

Note that by default, all sub-exchange types are checked (Binance Spot, Binance Futures, and Binance COIN-M). Uncheck the ones that you do not want to connect.

You will also see the brief instructions on your left.

Now, navigate to your Binance account to manually create API keys:

Step 1 - Enter the API Management section

Go to your account settings to get to the API Management section.

Step 2 - Click the Create API button

Click on the Create API button. Depending on whether you already have other APIs created, the input box and the button might appear in different parts of the screen.

Step 3 - Choose API Key Type

Binance will give you the options to choose: "System generated" API keys will be the popular choice for most of the users. If you know how to create your own API keys via software, then "Self-generated" is an additional option you can choose.

Step 4 - Choose a name for your API

Set a name as seen in the picture and click 'Next'.

Step 5 - Complete Security verification

At this stage, Binance will require you to complete a few verification steps. It can be an email, phone number, authentication app, etc.

Once you complete the verifications, your API Key will be created.

Step 6 - Edit API permissions

Before adding the API Keys to Cornix, you will need to make sure that the API restrictions match the image below. Click 'Edit restrictions' and make sure that the API permissions include:

  • Enable Reading

  • Enable Spot & Margin Trading

  • Enable Futures (when creating a Binance Futures / Binance Coin-M accounts)

  • Restricted access to trusted IPs only

Step 7 - Add Whitelisted IPs

Before saving your keys, it's recommended to copy your restricted IPs list as shown in the picture below, and paste them into the IPs field on the Binance side.

By adding Cornix’s IP addresses to your exchange API key whitelist, you ensure that only Cornix can access your API key, your API keys' expiration date will be extended, and more.

Then, click 'Save' to save your API keys.

Step 8 - Add your API Key Information in Cornix

Once saved, API keys will be displayed on your screen. You will be able to copy them and paste them to Cornix Dashboard > Accounts > 'Create' > 'Binance' > 'Connect with API Keys':

Click 'Connect to Binance' and your API will be successfully added to your Cornix account!

Updating Binance API - Step by Step

When editing your Binance connection (account) on the Cornix side, you are able to update its API keys or its Whitelisted IPs.

Update API Keys

You can replace the API keys of your current ByBit account added to Cornix without losing the connection with Cornix (and saving all its trades data).

Once you have your new API keys, follow these steps to replace the current ones:

  1. Navigate to your Cornix Dashboard > Accounts > and click on one of your accounts to see the account's info.

  2. Click the three-dot button in the top right corner > 'Edit' > and here you can paste the new keys.

  3. Click 'Update' to save the changes

Update Whitelisted IPs

In case you have connected your API to Cornix before without adding Whitelisted IPs, and you want to add them now to the existing account (for example, to extend the expiration date), you can follow these steps:

  1. Navigate to your Cornix Dashboard > Accounts > and click on one of your accounts to see the account's info.

  2. Click the three-dot button > 'Edit' > and the list of Cornix IPs will be displayed as seen in the screenshot below:

  3. Copy the IPs list by clicking the 'Copy' button.

  4. Navigate to the Binance API Management section > 'Edit restrictions' > and paste the list of IPs into your respective API keys:

  5. Once you click the 'Confirm' button, save the changes, then you're all set!

Important Notes

  • Binance Portfolio Margin accounts and Cross Margin accounts are not supported by Cornix, and therefore can't be connected. You can Submit a Feature Request

  • Important: The list of IPs is unique to your Cornix user and differs from one user to another, so be sure to copy and use the list provided to you on the platform.

Did this answer your question?