Restrict your API key to the Winrate IP
45.159.172.223Bybit connects with an API key and a secret key. It works for the main account and for subaccounts.
Winrate shows the balance of your Bybit Unified Trading Account.
Before you start
- Use the Bybit website on a computer. Bybit lets you create API keys only on its website, not in the Bybit app.
- Turn on 2FA (Google Authenticator) on Bybit. You need it to create a key.
- New Bybit accounts can't create API keys for the first 48 hours after sign-up.
Create the key
Menu names on Bybit can change. If your screen looks different, pick the closest option.
- Log in to Bybit on the website. Click the profile icon in the top right and choose API. You can also open bybit.com/app/user/api-management.
- Click Create New Key.
- Choose System-generated API Keys.
- Choose API Transaction and give the key a name, for example "Winrate".
- Set permissions:
- To track your balance only: Read-Only.
- To buy and sell from Winrate: Read-Write, then turn on spot trading (Unified Trading → SPOT → Trade).
- Keep every Withdrawal and transfer permission off.
- Don't limit the key to certain trading pairs. Orders for other pairs will fail.
- Enable IP restriction (trusted IPs) for the key and add the Winrate IP: 45.159.172.223.
- Restricting the key to specific IPs is optional on Bybit, but a key created without an IP binding expires after 90 days.
- Click Submit and enter your 2FA code.
- Copy the API key and Secret. Bybit shows the secret only once. If you lose it, create a new key.
Subaccounts: switch to the subaccount on Bybit first, then create the key there.
Add the key to Winrate
On the web
- Sign in at winrate.tech. In the sidebar, open Connections. You see Exchange connections.
- Click Add. The New exchange connection form opens.
- Under Choose an exchange, pick Bybit.
- Under Connection details, fill in Connection name, API key, Secret key. The connection name is just for you, for example "Bybit main".
- Click Add connection. Your balance appears within a few minutes.
In the iPhone app
- Open the Trade tab and tap Connect an exchange. If you already have a connection, open the exchange menu and tap Add connection.
- On Select exchange, pick Bybit.
- On Connect exchange, fill in Connection name, API key, Secret.
- Tap Connect.
Your first connection is free. A second connection needs Winrate Premium. Buying and selling from Winrate also needs Premium.
Common errors
Many fixes below need a new key. Winrate can't swap the key on a connection: delete the old connection on the web (on its page) and add a new one. This removes that connection's order history, balances and charts. See Replace or rotate a key.
| What you see | What to do |
|---|---|
| "Invalid API key or secret" | Copy the key and secret again, with no spaces. Check the key wasn't deleted on Bybit. |
| Balance shows, but orders fail | Make sure the key is Read-Write with spot Trade on and is not limited to some pairs. |
| Order rejected for being too small | Bybit has a minimum order size. Use a larger amount. |
| Connection stopped working after some time | A Bybit key created without an IP binding expires after 90 days. Create a new key and add the Winrate IP 45.159.172.223. |
| Can't create a key | New accounts must wait 48 hours. Also check 2FA is on. |
FAQ
Can I create a Bybit API key in the Bybit app?
No. Bybit lets you create API keys only on its website. You can paste the key into Winrate on iPhone afterwards.
Which Bybit permissions does Winrate need?
Read-Only to track your balance. Read-Write with spot Trade if you want to buy and sell from Winrate. Never withdrawals.
Can I connect a Bybit subaccount?
Yes. Create the API key for that subaccount and add it as a separate connection.
Can I connect more than one Bybit account?
Yes. Each one keeps its own balance and history. Your first connection is free; a second one needs Premium.
I lost my Bybit secret. Can I see it again?
No. Bybit shows it only once. Delete the old key, create a new one and add it to Winrate.