Bybit API setup guide

Last updated: March 2026

Creating the API key

  1. Log in to Bybit and go to Account → API (or search “API” in account settings)
  2. Click Create New Key
  3. Choose API Transaction (not WebSocket)
  4. Set a name, e.g. “VersaTrader”

Set permissions

Enable:

  • Read (Account Info, Positions, Orders) ✓
  • Trade
  • Withdraw — leave off

If your account supports IP whitelisting, add VersaTrader’s server IP. Contact [email protected] for the current IP.

Add to VersaTrader

  1. Copy your API Key and API Secret
  2. In VersaTrader: Settings → Exchanges → Add Exchange → Bybit
  3. 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.