You need to have a Unified Trading Account on Bybit. To upgrate your Bybit account you can follow this
article .
1. Navigate to Bybit API management
Now select the button to create a new API key. You will see:
Select the option to create a "System-generated API Key"
2. Create Bybit API key
Fill in the form exactly as shown below. Ensure you have selected "Read-Write" permission.
Now copy the IP adress you see on the Diamond Pigs page. Paste that IP adress in the field for the IP Address limitation
If you scroll further down, make sure to select "Unified Trading".
Once you click the "Submit" button, Bybit will validate this action by sending a validation code to your E-mail address and asking you to enter a code from your 2FA authenticator app
3. Copy Bybit API key
Bybit will show the API key values only once. Use the copy icons (indicated in green) to copy both the "API Key" and the "Private Key" values in the fields below.
Always use the copy buttons indicated in green above to copy your API keys.