Skip to main content

Creating a Bybit API Key

When trading on Bybit with Gunbot, setting up an API key is an essential step to enable your crypto trading bot to interact with the exchange. This guide will assist you in creating a Bybit API key for both UTA (Unified Trading Account) and non-UTA accounts, ensuring a seamless setup for your bot trading operations.

Step-by-Step Guide for Non-UTA Accounts​

  1. Log into Bybit: Begin by logging into your Bybit account. Make sure your account is secure with two-factor authentication enabled.

  2. Access API Management: In your account settings, navigate to 'API Management'. This is where you can create and manage your API keys, which are necessary for automated trading with Gunbot.

  3. Create New API Key: Click on 'Create New API Key' and select 'API transactions'. This will initiate the process of generating a new API key specific to your non-UTA account.

  4. Label Your API Key: Assign a clear label to your API key. This will help you easily identify it, especially if you have multiple keys for different purposes.

  5. Set Permissions: For non-UTA accounts, ensure you enable the following permissions:

    • Standard account
    • Orders
    • Positions
    • USDC Derivative trading

    Under the "Assets" tab, select Exchange history. Be careful not to select the "NFT" option, as it is not relevant to typical trading bot operations.

  6. Mandatory Position Mode: Bybit defaults to One-way mode for positions. To ensure proper operation of your crypto trading bot, set your position mode to Hedge. This mode allows for both long and short positions simultaneously, which is necessary for many trading strategies.

  7. Finalize API Key Creation: Review all the settings and permissions to ensure they are correctly configured. Once confirmed, finalize the API key creation. Bybit may prompt you for security verifications, such as SMS or email confirmation.

Step-by-Step Guide for UTA Accounts​

  1. Log into Bybit: Begin by logging into your Bybit account.

  2. Access API Management: Navigate to 'API Management' under your account settings to manage your API keys.

  3. Create New API Key: Select 'Create New API Key' and choose 'API transactions'. This will create a new API key tailored for your UTA account.

  4. Label Your API Key: Assign a descriptive label to your API key to keep your keys organized and easily identifiable.

  5. Set Permissions: For UTA accounts, make sure to enable these permissions:

    • Unified Trading
    • Orders
    • Positions
    • USDC Derivative trading

    In the "Assets" tab, select Exchange history. As with non-UTA accounts, do not select the "NFT" option.

  6. Mandatory Position Mode: Like with non-UTA accounts, ensure your position mode is set to Hedge. This is crucial for enabling the flexibility needed in various trading strategies.

  7. Finalize API Key Creation: Double-check all settings and permissions. Complete the process by confirming the API key creation, ensuring your crypto trading bot is fully equipped to manage trades on Bybit.

Bybit API Key Creation NonUTA Bybit API Key Creation UTA

Tip: If your account displays "Unified Trading," you are operating with a UTA (Unified Trading Account).

To directly access Bybit API settings, visit Bybit API Management.

Properly setting up your API key is crucial for a secure and efficient trading experience on Bybit with Gunbot. Whether you're using a top crypto trading bot like Gunbot or exploring other options, the correct API key configuration is key to maximizing your trading capabilities and ensuring seamless operation.

Enhance Your Bybit Trading with Gunbot Automation​

Ready to streamline your Bybit trades? Gunbot’s automation is built to enhance your strategies on Bybit. Explore Gunbot as a Bybit Trading Bot.