Bybit API setup guide
Last updated: March 2026
Creating the API key
- Log in to Bybit and go to Account → API (or search “API” in account settings)
- Click Create New Key
- Choose API Transaction (not WebSocket)
- Set a name, e.g. “VersaTrader”
Set permissions
Enable:
- Read (Account Info, Positions, Orders) ✓
- Trade ✓
- Withdraw — leave off
IP restriction (recommended)
If your account supports IP whitelisting, add VersaTrader’s server IP. Contact [email protected] for the current IP.
Add to VersaTrader
- Copy your API Key and API Secret
- In VersaTrader: Settings → Exchanges → Add Exchange → Bybit
- Paste both keys and click Verify
Troubleshooting
“API key does not exist” — make sure you’re using a Unified Trading Account key, not a sub-account key.
Connection timeout — check your IP restriction settings.