FAQ
Home
Support Center
FAQ
API
API Tutorial
How to Create API Keys on Binance?

How to Create API Keys on Binance?

2018-04-09 03:17
Creating an API allows you to connect to Binance’s servers via several programming languages. Data can be pulled from Binance and interact with external applications. You can view your wallet and transaction data, make trades, and deposit and withdraw funds in third-party programs.
Please note that before creating an API Key, you need to make a deposit of any amount to your Spot Wallet to activate your account and complete identity verification.
For more details on Binance API, please refer to the GitHub documentation.

How to create your own Binance API Key?

1. Log in to your Binance account and click [Profile] - [Account].
2. Go to [API Management] then click [Create API].
Please note that before creating an API Key, you need to:
  • enable two-factor authentication (2FA) on your account;
  • make a deposit of any amount to your Spot Wallet to activate your account; and
  • verify your identity.
For more details about the Tax Reporting API, please refer to our guide on How to Obtain Tax Reporting on Binance & Frequently Asked Questions.
3. Select your preferred API Key type.
  • System-generated API keys use HMAC symmetric encryption. You’ll get the API key and the Secret Key.
  • Self-generated API keys use Ed25519 or RSA asymmetric encryption. You’ll receive an API key, but you have to create your own public-private key pair via third-party software and provide the public key to Binance.
    For more details on self-generated API keys, please refer to How to Generate an Ed25519 Key Pair to Send API Requests on Binance.
4. Enter a label/name for your API Key.
5. Verify with your 2FA devices and passkeys.
6. Your API key is now created.

Why can’t I enable any permission other than reading?

We strongly recommend against enabling API keys for permissions other than reading without defining the appropriate IP access restrictions (“Unrestricted-IP-Access API Key(s)”). Unrestricted-IP-Access HMAC API Key(s) won’t have any permission other than reading. If you’d like to enable other permissions, please add IP access restrictions, use self-generated keys (such as Ed25519 or RSA), or disable the default security controls.

Why can't I enable withdrawal permission?

Adding IP access restrictions is mandatory to enable withdrawal permission.

Why can’t my API key enable Futures permission?

If the API key is created before you enable your Futures account, or you have activated Portfolio Margin, the API key won’t be able to enable Futures permission.
To remain compliant with the latest industry requirements, Binance has updated its API services.
  • Effective from 2021-08-09 03:00 (UTC), only users who have completed [Verified Plus] can create new API keys. Binance has deactivated any existing API Keys created by accounts that have only completed the [Verified] verification after 2021-08-23 00:00 (UTC). For more information, please refer to this announcement.
  • Effective from 2023-01-30 00:00 (UTC), the system-generated API Key’s permission can only be set to [Enable Reading] if your IP is unrestricted.