Skip to main content

How to connect to Bybit with API Keys?

Create API keys on Bybit, set Read-Write permissions, whitelist Cryptohopper's IP addresses, and paste the keys into your trading bot to connect.

Written by Pete Darby
Updated over a week ago

This article explains how to create API keys on Bybit and connect your exchange account to Cryptohopper so your trading bot can start trading.

Tip: Want a quicker way to connect? Use Fast Connect instead — no API keys needed.

To get subtitles in your language on YouTube, click the Settings button on YouTube.

Steps

  1. Go to the Bybit exchange website and log in or create an account.

  2. Click your profile in the upper right corner, then click API.

  3. Click Create New API, then choose System-generated API Keys.

  4. Enter a name for your API key, select Read-Write, and whitelist the IP addresses shown in your Cryptohopper account by clicking Only IPs with granted permissions are permitted to access the OpenAPI. You can find these IP addresses in your Base config under the Exchange section.

  5. Check the boxes next to Trade and Assets. Uncheck Account Transfer, Subaccount Transfer, and Withdrawal. Click Submit and enter your security verification details.

  6. Copy your Bybit API keys and paste them into Cryptohopper. Click Connect to Bybit and continue creating your trading bot.

  7. Check that your funds are in your Unified Trading Account. If your funds are still in your Funding account, the bot cannot see them. Transfer your funds from your Funding account to your Unified Trading Account using this guide: How to Transfer Assets on Bybit.

Your Bybit exchange is now connected. The bot will start running on your next trading cycle.

Unable to see your Bybit exchange balance?

If your trading bot does not show your Bybit balance, browser auto-fill may be interfering with the API connection. Try disabling auto-fill, using incognito mode, switching to a different browser, or disabling your password manager. See our troubleshooting article for more details.

You may also see an error during onboarding even when your API keys are correct. Common causes include having no funds in your Bybit exchange account, having funds in your funding account instead of your trading account, or not having completed KYC verification. If this happens, click Continue without testing. You can verify your API keys later in your Base config.

Related articles

Did this answer your question?