TUTORIAL CREATE BYBIT API KEY

Tutorial to Create API Key on Bybit

Step 1: Log in to your Bybit account

Go to the Bybit website and log in to your account. Complete any additional verification, such as two-factor authentication (2FA) with Google Authenticator or SMS, if you have it enabled on your account.

Step 2: Access API Settings

Once you're logged into your account, click on your profile (user icon) in the top right corner. From the drop-down menu, select "API" to open the API management page.

Step 3: Create a New API Key

  1. On the API page, click “Create New API Key.”
  2. Select if you want the key to be for “Third Party Use” either “Own use”.
    • Use of third parties: If you are connecting an external application, such as a trading bot.
    • Own use: For personal integrations and automations.
  3. Enter a name for the API (for example, “Trading Bot”) that allows you to identify it.

Step 4: Configure API Permissions

  1. Read-Only Permission: Check this option if you only want the API to be able to view your account information, without executing any transactions.
  2. Trading Permit: Check this option if you want the bot or app to be able to operate on your account.
  3. Withdrawal Permit: Enabling this option for a basic trading API is not recommended as it poses security risks.
Advice: Select only the permissions you need for your bot. Typically, only read and trading permissions are required.

Step 5: Configure IP Restrictions (Optional but Recommended)

For added security, Bybit allows you to limit API usage to a specific IP address.
  1. If you have a fixed IP address on the device or server where you'll be using the API, enter it in the IP Whitelist field.
  2. This option will ensure that the API can only be accessed from that IP, protecting your account from unauthorized access.

Step 6: Complete the Security Check

Bybit will ask you to complete a security verification to confirm the creation of the API key:
  • 2FA Verification Code: Enter the Google Authenticator code or the 2FA method you have activated in your account.
Once you've entered the code, click Confirm to proceed.

Step 7: Save the API Key and API Secret

  1. After verification, Bybit will generate your API Key and API Secret.
  2. Keep this information in a safe place; the API secret is only displayed once, so it's important to store it in a password manager or write it down somewhere safe.
Important Note: Never share your API key or API secret with anyone, and don't store them in insecure locations.

Step 8: Connect the API to your Trading Bot or Third-Party App

  1. Use the API Key, API Secret, and any other configuration information (such as the Security Phrase) that your bot or app requires.
  2. Follow the app or bot's specific instructions to set up a secure connection and verify that the permissions and settings are correct.

Step 9: Check API Status and Test (Optional)

  1. After connecting the API, make sure it is working properly.
  2. Test with small orders to confirm that your API settings are appropriate before operating regularly.

Additional Safety Tips

  • Don't share the API with third parties and use it only in trusted applications.
  • Disable the API if you won't be using it for a while to reduce risk.
  • Review API permissions regularly to ensure they haven't changed.
 
en_USEnglish
Scroll to Top