Comment on page
This page covers the creation of the API key to be used with Bybit Spot, Bybit Inverse Perpetual and Bybit USDT Perpetual
WARNING: Do NOT use the same API key that you have created for other services.
To get the API keys for your ByBit account, click on the dropdown list on the top right of the ByBit main page. Select
Once inside, click on
API Managementand then click on
Create New Key.
Once the pop-up appears, make sure you:
Connect to Third-Party Applications
Haasbot Cloudunder Application Name
Contract - Orders,
Contract - Positions,
Derivatives API V3 - Trade,
SPOT - Tradeunder API Key Permissions
The screenshot below will show you how the settings should look like before you click on
Make sure to NOT select Read-Only
Once you click on
Submit, the API key is now ready to be added to TradeServer Cloud. It should look like this:
Keep the pop-up open and move on to the next step.
Login to TradeServer Cloud.
Click on the
icon and select
- 1.Click on theicon.
From the list of exchanges that we support, click on Bybit.
Select the trading type that you want to use the API with.
Repeat the steps to add the API for Leverage if you first chose Spot.
From the Bybit API Management page earlier, click on Copy under API Key and paste it in the TradeServer Cloud window under
Public Key. Repeat the same for API Secret but paste it under
Though it might not be necessary, it might be best if you make sure to check for spaces at the start and at the end of the API/Private Key after you paste them.
Once that is done, the
TEST KEYSbutton should be active for you to press. Click on it.
Should the test pass, you will be able to click on
Submitto add the API key to the platform.