To generate an API key in your Bybit account and integrate it with the Tradegrub app, follow these instructions:
Step 1: Navigate To API Management Screen
Step 2: Create a New API Key
Step 3: Add API Key to TradeGrub
- Log in to your Bybit account at https://www.bybit.com/app/user/api-management for the mainnet or https://testnet.bybit.com/app/user/api-management for the testnet.
- Click the Profile icon (the human icon) in the top right corner of your trading page.
- Select Account & Settings, then click API Management.
Please AVOID selecting the "Withdrawal" or "Transfer" options when adding an API key, as these are not needed for our app to operate.
- Click on Create New Key located on the right side of the API Management page.
- In the pop-up window that appears, configure your API key based on your trading needs.
- Set up API Permissions (e.g., read, trade) based on the intended functionality.
- IP Whitelist: For Security, it is highly recommended to whitelist specific IP addresses to safeguard your API key.
To whitelist our IP address, refer to the guide - Add Tradegrub IP
Important: Avoid using unrestricted settings, as they significantly reduce account security.
- Enter your Google Authenticator 2FA code to verify and click Confirm.
Note: The API Secret Key will only be displayed once, so ensure you save it securely.
- You have successfully created your API key. Use the key to connect Bybit to your trading applications.