Learn

How to connect Bybit to Kwant (step by step)

Updated 2026-10-23

TL;DR: You make an API key on Bybit's website, then paste it into Kwant. It takes about 10 minutes once 2FA is set up. The one rule: never allow withdrawals or transfers.

Connecting Bybit lets Kwant show your balances, positions and open orders, keep a trade journal for you automatically, and size trades from your real balance. You start with a read-only key, which can look but cannot touch anything. New to this? Read what an API key is first. No Bybit account or no crypto yet? Start with how to buy your first crypto.

What you need

  • A Bybit account that is a Unified Trading Account (Bybit's standard account type today). Kwant does not read the older Classic accounts. Bybit EU and Bybit's other regional sites work too.
  • Google Authenticator (2FA) turned on in your Bybit account. Two-factor authentication means a second code from an app on your phone, on top of your password. Bybit asks for it before you can create API keys.
  • A little patience if your account is brand new: Bybit may make a new account wait 48 hours before it can create keys.
  • A computer. Bybit keys are made on the website, not in the Bybit app.
  • Your Kwant account, open in another tab.

Two kinds of key

  • Read only (recommended to start). Kwant can see your account. It cannot place any order.
  • Also let Kwant prepare trades. Kwant can send orders, but only the ones you confirm, one by one.

The steps are the same for both. Only the permissions change.

Step 1: Create the key on Bybit

  1. Go to Bybit's website and log in.
  2. Click the profile icon at the top right, then API.
  3. Click Create New Key.
  4. Choose System-generated API Keys.
  5. Choose API Transaction. Do not pick Connect to Third-Party Applications.
  6. Give the key a name, like "Kwant".

Step 2: Choose the permissions

Read only (recommended to start)

  1. Choose Read-Only.
  2. Do not tick anything about withdrawals or transfers.

Also let Kwant prepare trades

  1. Choose Read-Write.
  2. Tick the trading permissions for Unified Trading (orders and positions) and Spot.
  3. Do not tick anything about withdrawals or transfers.

Bybit shows these permissions as groups of checkboxes. Look for the ones named after Unified Trading and Spot.

Never allow withdrawals or transfers

Leave withdrawals and transfers off on every key. Kwant refuses any key that can withdraw, and it never moves money out of your account.

Step 3: Choose No IP restriction

  1. Choose No IP restriction.

An IP restriction locks a key to one internet address. Kwant's servers have no fixed address, so a locked key would stop working.

What this means on Bybit: a key with no IP restriction expires after 90 days. Kwant shows the date on the connection as "Expires". To keep the same key going, before it expires:

  1. Open API on Bybit and edit the key.
  2. Submit No IP restriction again and confirm.
  3. The same key lasts 90 more days, so you don't need to paste it into Kwant again.

Step 4: Confirm and copy

  1. Confirm with your 2FA code, and the email code if Bybit asks for one.
  2. Bybit shows the API key and the secret. Copy both right away. Bybit shows the secret only once. If you lose it, delete the key and make a new one.

Step 5: Paste the key into Kwant

  1. On the Kwant website, click your profile picture (top right), then Exchanges. In the iPhone app, go to Settings → Exchanges.
  2. Pick Bybit.
  3. You can give the connection a name (for example "Main"). This is optional.
  4. API key: paste the API key from Bybit.
  5. API secret: paste the secret from Bybit.
  6. Click Connect.

Kwant checks the key with Bybit and finds which Bybit site your account is on. Your key is stored encrypted, only used from Kwant's servers, never shown again and never sent to the AI.

What you'll see after

Bybit appears in your exchanges with a green dot and a few labels: Read and Read only, or Trade for a Read-Write key, plus No withdrawals and the Expires date. Your balances, positions and open orders show up in Portfolio, and your trades start filling your journal.

With a trading key, the Trading switch is still off at first. Turn it on when you are ready. Even then, Kwant only prepares orders: nothing is sent until you tap Confirm. You can also set a max order size and a max leverage there.

If it doesn't work

  • "The exchange didn't accept this key." The API key and the secret may be swapped, or one of them is cut short. The API key goes in the first box, the secret in the second.
  • Extra spaces. Copying can add a space or a line break at the start or end. Paste again carefully.
  • "This key doesn't have the permission needed." Check the key's permissions on Bybit's API page.
  • "This key can withdraw funds." Make a new key with withdrawals off, and delete the old one.
  • "This key can only read." You turned on Trading with a Read-Only key. Make a Read-Write key with the Unified Trading and Spot permissions and connect that one.
  • The account line says Classic account. Kwant reads Unified Trading Accounts only. Upgrade your Bybit account to Unified Trading.
  • It worked for about three months and stopped. The 90 days ran out. Edit the key on Bybit and submit No IP restriction again, or make a new key.

Questions

Is it safe to connect Bybit to Kwant?

A read-only key can only look at your account. Kwant stores keys encrypted, refuses any key that can withdraw, and you can delete the key on Bybit at any time.

Can Kwant withdraw my money?

No. Kwant never withdraws, and it will not keep a key that can.

Why does my Bybit key expire after 90 days?

Bybit expires keys that have no IP restriction after 90 days. Kwant needs that setting because its servers have no fixed address. Renew the key by submitting No IP restriction again.

Can I create the key in the Bybit app?

No. Bybit API keys are made on the website.

How do I disconnect Bybit?

In Kwant, open Exchanges, click the bin (trash) icon on your Bybit connection, then Remove. This deletes the key and that account's journal and order history from Kwant. Nothing changes on Bybit, so also delete the key in Bybit's API page.

Keep reading