Skip to main content

How to Create a Binance Spot API Key for Your Bot

This guide outlines the essential steps to create and secure a Binance Spot API key for automated trading.

Info

An API (Application Programming Interface) key lets your trading bot access your exchange account to place orders and read balances. Treat API keys like passwords and keep them secure.

Step-by-Step Guide

  1. Log into Binance: Access your Binance account and verify that your account has completed all security verifications, including two-factor authentication (2FA).

  2. Access API Management: Open your profile menu in the top-right corner and select 'API Management'.

  3. Create API: Select 'Create API' and choose 'System Generated' to generate a new key for spot market access.

  4. Label Your Key: Set a clear, identifiable name for your API key (e.g., "Spot-Trading-Bot") to track multiple keys.

  5. API Security Policy: Review the API Security Policy settings:

    • Keep the security policy enabled.
    • Only disable it temporarily for testing.
    • Re-enable it immediately after testing.
  6. IP Whitelisting (Recommended): Enhance security by:

    • Adding your bot's IP address to the whitelist.
    • Using a static IP when possible.
    • Regularly reviewing and updating whitelisted IPs. This step reduces unauthorized access risk.
  7. Complete the Setup: Before finalizing:

    • Enable required permissions for spot trading.
    • Review all security settings.
    • Verify IP restrictions if configured.
    • Save your API key and secret key securely.

Binance API key creation interface showing required permissions for Gunbot

Access your API settings directly through the Binance API Management page.

Store your API credentials securely and never share them. Review API keys periodically to keep your account secure.

Ready to Automate Your Binance Trading?

Take your trading to the next level with automated strategies. Explore our specialized Binance Trading Bot features designed for optimal performance on Binance Spot markets.