Bybit API
v5 unified trading account · testnet included · CFD-style TradFi pairs on derivatives
キーを安全に作成
- Profile → API → Create New Key → System-generated API keys.
- Pick API transaction type: read-only or read-write — Bybit makes the split explicit at creation.
- Scope the key to Unified Trading; skip derivatives-only legacy scopes for new code.
- Bind your server IP; unbound read-write keys auto-expire after 90 days.
- Test everything on testnet.bybit.com first — same API surface, separate keys.
権限:何を許可するか
- Read-only: wallet, positions, executions — our portfolio views stop here.
- Read-write (Trade): required only to run strategies live on your account.
- Withdrawal: never. Keys with withdrawal enabled are refused by our connect flow.
コーディング前に知っておくべきこと
- v5 merges spot + derivatives into the Unified Trading Account API.
- A real testnet (not a flag) is the cleanest sandbox of the three exchanges.
- Rate limits are per-endpoint and per-UID; headers echo your remaining budget.
誰にも出金権限を許可しないでください。 当社にも、いかなるサービスにも。当コネクトフローは出金権限のあるキーを拒否します。取引キーは取引を失う可能性がありますが、出金キーはアカウントを失う可能性があります。
このキーを当エンジンに接続 → 公式APIドキュメント Create a Bybit account
その他のガイド: Gate.io API · OKX API · MEXC API · 手数料を比較