Restrict your API key to the Winrate IP
45.159.172.223What is an API key?
An API key lets an app talk to your exchange account without your password. It usually comes in two or three parts:
- API key. Like a user name for the app.
- Secret key. Like a password. Most exchanges show it only once.
- Passphrase. Only some exchanges use it (OKX and Bitget). You make it up yourself when you create the key.
You create the key on the exchange, then paste it into Winrate. You can change or delete the key on the exchange at any time.
Which permissions should I give?
Give only what you need.
| What you want in Winrate | Permission on the exchange |
|---|---|
| See your balance, assets and history | Read-only (reading) |
| Also buy and sell spot from Winrate | Read-Write with spot trading on |
| Anything | Withdrawals: always OFF |
- Winrate never needs withdrawal or transfer permissions. If an exchange turns them on by default, turn them off.
- Don't limit the key to a few trading pairs. Some orders will fail if you do.
- Trading in Winrate is spot only: market buy and sell on USDT pairs. You confirm every order before it is sent. Trading needs Winrate Premium.
Restrict your API key to the Winrate IP
Winrate connects to your exchange from one permanent IP address: 45.159.172.223. Enable IP restriction (also called an IP whitelist, IP allowlist or "trusted IPs") for the key and add this address. The key then works only from Winrate, so if someone steals it, they can't use it from anywhere else.
- Add the address exactly as shown. A missing or mistyped one makes the connection fail.
- Some exchanges limit keys without an IP restriction. For example, Binance allows only reading on system-generated keys without one.
- Some exchanges expire keys without an IP restriction. Bybit expires them after 90 days and OKX deactivates unused trading keys after 14 days. Details are in each exchange guide.
How Winrate keeps your keys safe
- Winrate encrypts your API keys before storing them.
- We never ask for your key, secret, passphrase or password by email or chat. Anyone who asks is not us.
- Withdrawals stay off, so a key given to Winrate can't move money out of your exchange.
- You can remove a connection in Winrate and delete the key on the exchange at any time.
What Winrate reads
- Bybit: your Unified Trading Account balance.
- Binance, OKX, Bitget, BingX, Gate, HTX: your spot balance. Futures and other accounts are not counted.
- Bitget and Gate: use a Classic (non-unified) account. Unified trading accounts are not supported yet.
How to add a connection
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 your exchange.
- Under Connection details, fill in Connection name, API key and Secret key. For OKX and Bitget, also fill in Passphrase.
- 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 your exchange.
- On Connect exchange, fill in Connection name, API key and Secret. For OKX and Bitget, also fill in Passphrase.
- Tap Connect.
Tip: copy keys on a computer and move them only through a safe way, like a password manager. Don't paste them into chats or notes apps.
How to replace or rotate a key
You can't change the key on an existing connection. To use a new key, delete the connection and add a new one.
Before you start: deleting a connection also deletes its order history, balances and charts in Winrate. The new connection starts fresh.
- On the exchange, create a new key with the right permissions.
- On the web, open Connections, open the connection's page and delete it. Deleting a connection is available on the web only.
- Add a new connection with the new key (web or iPhone).
- On the exchange, delete the old key.
If you think a key leaked: delete it on the exchange first. Then delete the connection in Winrate on the web and connect again with a new key. Contact support after your exchange account is safe if you want us to look into it.
FAQ
Do I need to give Winrate my exchange password?
No. Winrate uses an API key. Never share your exchange password with anyone.
Can Winrate withdraw my money?
No. Keep withdrawals off on every key you give Winrate. Winrate never needs them.
Which permissions should I enable?
Read-only to track your balance. Read-Write with spot trading if you want to buy and sell from Winrate. Never withdrawals.
Why did my key stop working after a few weeks?
Some exchanges expire keys without an IP restriction. Create a new key and add the Winrate IP 45.159.172.223.
Can I connect more than one account on the same exchange?
Yes. Each connection keeps its own balance and history. Your first connection is free; a second one needs Premium.
Can I change the key on a connection?
No. Delete the connection on the web and add a new one. Deleting removes that connection's order history, balances and charts.
Are my API keys stored securely?
Yes. Winrate encrypts exchange API keys before storing them. We will never ask you to send a key or secret in an email or support message.