Your Bybit API Key Expires in 90 Days. Set It Up So It Doesn't.
6 min read · Verified September 2026
In Bybit's API Management, create a system-generated key and select Read-Only rather than Read-Write, then tick the Unified Trading and Assets permission groups. A Read-Only key cannot place orders or withdraw. Bybit expires keys with no IP restriction after roughly three months, so either bind the tracker's IP or diarise a rotation.
Here is how it usually goes. You connect Bybit to a tracker in January, everything syncs, and you stop thinking about it. Some time in April the Bybit line stops updating. You do not notice for a while, because a number that changes slowly still looks like a number that is working. Then you reconcile in June and find your portfolio has been quietly wrong for two months.
Bybit deletes API keys that were created without an IP restriction after roughly three months. This is not a fault and nothing was compromised. It is a policy, and it is the single most important thing to know about connecting Bybit to anything.
So the setup has two goals: grant the narrowest possible permission, and make the expiry a thing you have planned for rather than a thing that ambushes you.
How do I create the key?
Do this on the website. The profile icon in the top right leads to API, and from there to API Management and Create New Key.
- Choose the key type. Bybit offers system-generated keys, which issue an API key and secret signed with HMAC, and self-generated keys, where you build an RSA keypair and upload only the public half. Portfolio trackers ask for a key and a secret, so pick system-generated.
- Say what the key is for. Bybit distinguishes keys bound to a listed third-party application from keys for your own use. If your tracker appears in the list, choose it. If not, choose the self-use option, which is what most tracker connections need.
- Select Read-Only. This is the part Bybit gets right and most exchanges do not. Rather than burying read access among a dozen checkboxes, Bybit puts a top-level choice between Read-Only and Read-Write at the head of the permissions block. Choose Read-Only and the trading and withdrawal capabilities are simply not on the table for this credential.
- Tick the permission groups you need. Under Read-Only these are scopes rather than powers. Unified Trading covers your main balances. Assets, sometimes shown as Wallet, covers account and transfer records. Add Exchange and Earn if you use them. Leave anything about withdrawal, subaccount transfer or account transfer alone regardless of what the Read-Only header implies, because a key you later widen carries whatever you originally ticked.
- Decide on the IP restriction. Bind the tracker's published server address if it has one, and the key persists. Leave it unrestricted and start the ninety-day clock.
- Copy the key and secret. Bybit shows the secret once.
A Read-Only key cannot buy, cannot sell, and cannot send anything off Bybit. That is not a promise the tracker is making. Bybit checks the scope attached to the key on every signed request and refuses whatever falls outside it, which means the enforcement sits with the exchange rather than with the app you handed the credential to. Read-only API keys sets out why that distinction carries the entire security argument, and is it safe to connect an exchange is direct about the residual exposure.
Unified Trading and Funding balances resolve into one figure, with alerts if a position moves while you are asleep.
Where has half my balance gone?
Into the Funding account, most likely.
Bybit runs two things that both look like "your money". The Unified Trading Account is the consolidated one, merging spot, margin and derivatives collateral so a single pool of margin backs everything you trade. It was a real simplification when Bybit introduced it, and it is where an active trader's balance lives.
The Funding account is separate, and it is busier than people expect. Deposits land there. Withdrawals leave from there. Earn principal and yield return there at maturity. P2P trades settle there. Crypto Loans, Launchpad subscriptions and the Bybit Card all draw on it. Money moves between Funding and the Unified Trading Account only when you transfer it, or when you have enabled the auto-transfer setting.
The consequence for tracking is direct. A stablecoin balance you parked in Funding after closing a position, or an Earn subscription that matured last week, sits in a compartment that a connection scoped only to trading balances will not report. Check the holdings list against Bybit's own asset overview section by section rather than comparing totals, because a total that is short by one compartment looks identical to a total that is short for six other reasons. Why your portfolio balance is wrong works through the rest of them.
What will not come across?
Sub-accounts are the first gap. Every Bybit sub-UID needs its own API key, created for that sub-account, and added to the tracker as a separate connection. Anyone who spun up a sub-account for a trading bot or a copy-trading allocation has money the main key cannot see.
Open derivatives positions are the second, and they are a genuine modelling problem rather than a permissions one. The collateral backing a perpetual is a balance and reads cleanly. An open position with unrealised profit is not a balance, it is exposure, and trackers differ in whether and how they represent it. Look at what the holdings list actually contains before you decide the total is complete.
Funds locked in Bybit Card spending, escrowed mid-P2P-trade, or committed to a Launchpad subscription are similarly not straightforward token balances. Where something matters and does not import, enter it as a manual position with its real acquisition price, so the quantity counts and the cost basis survives. Adding a manual position is a minute of work per holding.
How do I stop the expiry from catching me out?
Pick one of two disciplines and actually keep it.
If your tracker publishes a static outbound IP, bind it. Enter the tracker's address, not your own, since the request arrives at Bybit from the tracker's infrastructure rather than from your handset. The key then persists and the problem goes away.
If it does not, put a recurring reminder in your calendar for eleven weeks out and treat key rotation as routine maintenance. Delete the old key on Bybit first, create the replacement, reconnect, and let the tracker resync. Revoking and rotating an API key covers the flow across venues.
There is a second-order benefit to either habit. A tracker that silently stops updating one venue does not just give you a wrong total, it gives you a wrong shape: your Bybit allocation frozen at April's prices while everything else moves. Allocation drift is hard enough to read when the data is current. If Bybit is one of several accounts you hold, the ninety-day check is a good moment to run the whole reconciliation rather than only this one, and the twenty-minute setup is the version of that job you can finish in an evening.
Common questions
Bybit expires API keys that were created without an IP restriction, typically after around three months. Nothing is broken and nothing was compromised. Create a fresh key, reconnect, and either bind an IP this time or set a recurring calendar reminder.
System-generated for a portfolio tracker. It issues a key and a secret in the two fields the tracker expects. Self-generated means you produce an RSA keypair and upload only the public half, which is stronger in principle but supported by far fewer apps.
Bybit merged spot, margin and derivatives collateral into a single account with shared margin. It is a genuine simplification, but it sits alongside a separate Funding account, and a key that reads one does not automatically report the other.
No. Each Bybit sub-UID needs its own API key, generated for that sub-account, then added to the tracker as a separate connection. This catches out anyone who set up a sub-account for a bot or a copy-trading position and forgot about it.
The collateral in your Unified Trading Account is a balance and will generally be read. Open perpetual positions are a different object, and how a tracker represents unrealised derivatives exposure varies. Check what the holdings list actually shows before treating the total as complete.
No. Read-Only is a scope Bybit enforces at its own edge, so an order or a withdrawal signed with that key is rejected before it reaches your balance. A leaked read key exposes what you hold, which is a privacy problem worth fixing by revoking the key.
Read-only connections across 100+ exchanges, with 100 price alerts on the free tier.
Keep reading
Read-Only API Keys: What a Portfolio Tracker Can and Cannot Do
What read, trade and withdraw permissions actually grant, why a read-only key cannot move funds, and the exact settings to switch off before you connect.
Is It Safe to Connect Your Exchange to a Portfolio Tracker?
A read-only key cannot move funds. A tracker breach still exposes your holdings. The real risk, why withdrawal permission is never granted, how to revoke.
How to Revoke an Exchange API Key Properly
Deleting a connection in an app does not revoke the key. Where the real control lives on Binance, Kraken and Coinbase, and how to audit old keys.
Portfolio Analytics That Change Decisions
Four numbers change what you do: allocation, cost basis, drawdown from peak, and concentration. Most of the rest of a tracker's analytics are decoration.
Seeing Allocation Drift on a Phone Screen
A position that runs quietly becomes your largest risk without a single trade. How allocation drift works, and why percentages beat dollar figures.
From Install to a Portfolio You Trust in Twenty Minutes
The order of operations for setting up a crypto portfolio tracker: inventory first, read-only keys, wallets, spam filter, manual positions, then reconcile.
Why a Portfolio App Needs Its Own Lock
A device passcode protects a locked phone. Most exposure happens on an unlocked one. What an app lock adds, and what it cannot possibly do.
How to Track a Crypto Portfolio Across Multiple Wallets and Exchanges
Coins in four places and no single number. The three ways to connect an account to a tracker, what each one can see, and the order to set them up in.