Skip to content

Crypto · Exchange API

Build a Bybit trading bot with your AI coding agent.

Super Algo Kit helps you build a Bybit trading bot on the V5 API inside your own AI coding agent. One interface covers spot, perpetuals and futures, inverse contracts and options. The kit interviews you, sets pass marks before any backtest, models costs, then paper-tests on Bybit's testnet or demo trading. Live trading starts only when you type the authorize command.

Bybit V5 API logo

broker facts

Bybit V5 API

What it is
Bybit's V5 API: one REST and WebSocket interface for spot, perpetuals and futures, inverse contracts and options.
Regional access
Accounts sit with regional entities on different hosts. API requests from US or Mainland China IP addresses are refused.
API and login
Signed API keys: HMAC for system-generated keys, RSA for self-generated ones. No login and no daily token.
Key expiry
A key with no bound IP address expires after 90 days. Binding IPs removes the expiry.
Paper option
A testnet with thin books, and demo trading on mainnet. Each needs its own keys, and demo orders are kept 7 days.
Headline limits
600 HTTP requests per 5 seconds per IP; order calls 10 a second on linear contracts and 20 on spot.
Costs
Fee rates can be read per account; the fee schedule itself was not confirmed by the kit.

From the kit's Bybit card, checked 2026-09-30. Confirm current terms on Bybit's own site.

Paper first

A Bybit bot, built paper first.

Super Algo Kit runs inside the coding agent you already use. It interviews you, writes the spec with pass marks set first, then builds, backtests and paper-tests. Real money starts only when you type the authorize command.

Type this in your coding agent
Build me a volatility breakout bot for BTCUSDT perpetuals on Bybit with a daily loss limit. Paper only.

The plan, step by step

Tick them off as you go.

How Bybit V5 API access and login work

You create the key on the environment you will use: mainnet, testnet or demo trading. Use the host of the regional entity where your account is registered. A key works in one environment only and fails anywhere else.

System-generated keys sign with HMAC. Self-generated keys use RSA: you keep the private key and give Bybit only the public key. The kit never needs your password or 2FA seed, and it sets up keys this way.

  • Bound IP addresses, which also remove the 90-day expiry
  • Trade-only permissions, with wallet withdrawal and transfer off
  • Separate read-only, testnet and demo keys
  • A host clock in sync, because the timestamp window is tight

Paper trading a Bybit bot on testnet or demo trading

On the testnet, keys come from the testnet site and test funds from the master account's asset page. Its books are thin, so market orders often fail there. Demo trading is an independent demo account on mainnet that takes public prices from the live stream.

Demo orders are kept for 7 days, not every API exists, and there is no WebSocket order entry. Do not use demo trading inside the testnet site, because it inherits the limits of both. The kit checks API behaviour on the testnet. It measures slippage on demo trading or on its own paper broker over live data.

Bybit rate limits and costs to plan for

HTTP requests are capped at 600 per 5 seconds per IP. A breach means you stop all sessions and wait at least 10 minutes, so a retry loop makes it worse. Order calls are capped per account each second and differ by product: 10 on linear contracts and 20 on spot.

Bybit can raise order limits on request, but demo trading keeps the default. Bybit may warn or restrict an account whose total daily order count is very high. Fee rates can be read per account, but the fee schedule was not confirmed, so model fees and funding from the crypto pack.

What Super Algo Kit does with Bybit

The kit caps its own rate at about 60% of each Bybit bucket, a kit judgement. For linear contracts, that is 6 order calls a second. It pings every 20 seconds, because a silent socket is cut after 10 minutes. It alerts you before an unbound key's 90-day expiry stops the bot.

Every client order id is used once. After a timeout, the kit looks the order up by that id before any retry and never resends blindly. An independent risk gate and a kill switch you can run yourself sit outside the strategy. Positions are reconciled against Bybit, and no AI model is in the live order path.

Before you rely on it

Gotchas to plan for.

  • US and Mainland China IP addresses are refused, and region or compliance errors mean the service is unavailable to your account.
  • 4 environments, 4 key sets: a key for one environment fails on the others.
  • A key with no bound IP expires after 90 days and stops the bot.
  • Market orders become limit orders with a slippage cap and can fail on thin books, especially on testnet.
  • A WebSocket order-entry reply means accepted, not filled; wait for the order stream.
  • The changelog changes almost daily; re-read it before every release.

FAQ

Bybit: questions.

Can I build a Bybit trading bot with an AI coding agent?

Yes. Super Algo Kit adds 15 specialist roles and 35 skills to your own coding agent. They interview you, then write, backtest and paper-test real code in your project. The kit is development software, not a hosted bot or a signal service.

Can I paper trade on Bybit?

Yes. Bybit has a testnet and demo trading on mainnet, each with its own keys. Super Algo Kit runs the paper stage there; testnet books are thin, and demo orders last 7 days. Live trading waits until you type the authorize command.

Is Super Algo Kit affiliated with Bybit?

No. Super Algo Kit is not affiliated with or endorsed by Bybit. The Bybit name is used only to say the kit works with the Bybit V5 API.

Why did my Bybit API key stop working?

A key with no bound IP address expires after 90 days. A key also works in one environment only, so a testnet key fails on mainnet. Binding IPs removes the expiry, and the kit alerts you before an unbound key lapses.

Can I use the Bybit API from the US?

Bybit's docs say API requests from US or Mainland China IP addresses are refused. Other regions use their own entity and host. Check your own account terms; the kit never suggests VPNs or other workarounds.

Keep reading

More guides.

Build it with Super Algo Kit.

15 specialist roles and 35 skills inside your coding agent. Paper first, live only when you say.

Bybit V5 API and its logo are trademarks of their owner, used here only to say that Super Algo Kit can work with it. Super Algo Kit is not affiliated with or endorsed by Bybit. Super Algo Kit is development software. It is not investment advice, a signal service or a promise of performance. Trading involves substantial risk, including the loss of all capital you trade with.