Skip to main content

How to add Binance API Keys

An API key safely connects your exchange account to CCXT Terminal, allowing you to view balances and place orders from a single interface without logging into the exchange directly. Activating 2FA (Two-Factor Authentication) is mandatory to add API keys.

Binance API Management

Binance blocks trading from unrestricted IPs if Default Security Controls are active. Uncheck the box of this mode in API Management and deactivate it to set IP access to Unrestricted.

Toggle off default security controls

Creating an API Key on Binance

  1. Login to your Binance account and go to API Management.

  2. Select Create API, choose the System generated API keys option, and proceed.

    System generated Binance API key
  3. Enter a label for your key, and complete the security verification.

  4. Under API restrictions, select Edit restrictions and enable required trading permissions.

  5. Typically, this includes Spot & Margin Trading and Futures. Keep withdrawals disabled.

  6. Configure IP Access.

    To restrict access for mobile app use, whitelist your mobile device's static IP.
    Otherwise (no static IP or for the web version), select Unrestricted IP access (Default Security Controls are off).

  7. Copy both the API Key and Secret Key.

  8. Store them securely and never reveal them to anyone.

API key permissions

Adding API Keys to CCXT Terminal

  1. Go to the Balance section.

  2. Press the add icon (+) to connect a new API key.

  3. Paste your Binance API Key and Secret Key into the corresponding fields.

  4. Press Save.

Managing Multiple Keys

You can manage multiple API keys for the same exchange. All added keys appear in a list within the Balance section.

  • Main Key: Only one API key can be active at a time. The first key added is the main key by default.

  • Switching Keys: To change the active key, use the list icon or context menu to select Set as Main. The list emphasizes the main key visually.

  • Deleting Keys: You can delete a key through the context menu. If you delete the main key, the next oldest key becomes the main key.

Did this answer your question?