Skip to main content

Creating a Binance US API Key for Your Crypto Trading Bot

This guide walks you through creating an API key on Binance.US for automated trading. Follow these steps carefully to ensure secure and reliable bot operation on your account.

Info

Binance.US is a cryptocurrency exchange for residents of the United States, offering trading on a variety of digital assets. API keys allow trading bots to execute trades programmatically on your behalf.

Step-by-Step Guide to API Key Creation​

  1. Log into Binance.US: Access your Binance.US account and confirm your account has completed all verification requirements for API access.

  2. Open API Management: Find 'API Management', typically located in your account profile menu or security settings. This is your central hub for creating and managing API keys for automated trading.

  3. Create Your API Key: Select 'Create API' followed by 'System Generated' (if this option is presented). This process generates the API Key and Secret Key your trading bot needs to interact with your account.

  4. Label Your API Key: Create a clear, meaningful label for your key (e.g., "Gunbot_Spot_Trading_US"). Good labeling practices help you maintain multiple API keys efficiently if you use different bots or strategies.

  5. IP Restriction (Security Best Practice): Implement these security measures for IP whitelisting:

    • Add your bot's static IP address to the whitelist. Using a dynamic IP is less secure and may lead to access issues.
    • Keep your IP whitelist updated if your bot's IP address changes. This critical security step helps prevent unauthorized API access.
  6. Set API Key Permissions: Configure your permissions carefully:

    • Enable only the specific permissions needed for trading (e.g., "Enable Spot & Margin Trading").
    • Crucially, keep withdrawal permissions disabled for security unless absolutely necessary and you understand the risks.
    • Double-check enabled permissions before proceeding. Minimal permissions reduce security risks while ensuring full trading functionality.
  7. Finalize the API Key Setup: Complete these final steps:

    • Review all configured settings, especially IP restrictions and permissions.
    • Verify security measures are in place.
    • Complete any required 2FA (Two-Factor Authentication) or email verifications to authorize the key.
    • Securely store your API Key and Secret Key. The Secret Key is typically shown only once.

Binance US API key creation page showing required trading permissions

You can usually access your API settings directly through the Binance.US API Management page.

A properly configured API key is fundamental for secure automated trading. Regular reviews of your API settings and security measures help maintain the integrity of your trading operations. Remember to never share your API credentials and always use secure channels when setting up your trading bot.

Ready to Start Automated Trading on Binance.US?​

Optimize your trading strategy with automated solutions designed specifically for Binance.US. Learn more about our Binance.US Trading Bot features.