Rate Limit
IP Rate Limit
If you receive an HTTP 403 (Access Denied) response, your IP has been either temporarily or permanently banned. You should immediately review the below guidelines to ensure your application does not continue to violate the limit. If you are still banned after 30 minutes, you likely have a permanent ban.
We do not recommend running your application at the very edge of these limits in case abnormal network activity results in an unexpected violation.
GET
/POST
method (shared):- No more than 600 requests are allowed in any 5-second window.
All traffic to api.bybit.com
or api.bytick.com
share this limit regardless of if it accesses Spot, Derivatives or Options.
After violating the limit your IP will be banned for a set period of time (usually 30 minutes). Continually violating the limit will result in a permanent ban. We cannot undo permanent bans or shorten temporary bans.
API Rate Limit
If you receive "ret_msg": "Too many visits!"
in the JSON response, you have hit the API rate limit.
For now, api rate limit for Unified margin is a bit different.
linear
: rate limit is count by minuteoption
: rate limit is count by second
The API rate limit is based on the rolling time window per second and UID. In other words, it is per second per UID. Every request to the API returns response header shown in the code panel:
X-Bapi-Limit-Status
- your remaining requests for current endpointX-Bapi-Limit
- your current limit for current endpointX-Bapi-Limit-Reset-Timestamp
- the timestamp indicating when your request limit resets if you have exceeded your rate_limit. Otherwise, this is just the current timestamp.
Http Response Header Example
▶Response Headers
Content-Type: application/json; charset=utf-8
Content-Length: 141
X-Bapi-Limit: 100
X-Bapi-Limit-Status: 99
X-Bapi-Limit-Reset-Timestamp: 1672738134824
API Rate Limit Table
Unified Margin
Path | linear | option |
---|---|---|
/unified/v3/private/order/create | 100 req/min (shared) | 5 req/s |
/unified/v3/private/order/replace | 5 req/s | |
/unified/v3/private/order/cancel | 5 req/s | |
/unified/v3/private/order/create-batch | 100 req/min (shared) | 5 req/s |
/unified/v3/private/order/replace-batch | 5 req/s | |
/unified/v3/private/order/cancel-batch | 5 req/s | |
/unified/v3/private/order/cancel-all | 1 req/s | |
/unified/v3/private/order/list | 50 req/s | 50 req/s |
/unified/v3/private/order/unfilled-orders | 50 req/s | 50 req/s |
/unified/v3/private/position/list | 50 req/s | 50 req/s |
/unified/v3/private/execution/list | 50 req/s | 50 req/s |
/unified/v3/private/account/wallet/balance | 50 req/s | 50 req/s |
/unified/v3/private/delivery-record | 50 req/s | 50 req/s |
/unified/v3/private/account/transaction-log | 50 req/s | 50 req/s |
/unified/v3/private/settlement-record | 50 req/s | 50 req/s |
/unified/v3/private/account/assets | 50 req/s | 50 req/s |
/unified/v3/private/position/usdc-marginmode-info | 50 req/s | 50 req/s |
/unified/v3/private/account/borrow-history | 50 req/s | 50 req/s |
/unified/v3/private/account/borrow-rate | 50 req/s | 50 req/s |
Contract
Path | Limit |
---|---|
All private endpoints | 10 req/s |
How to increase API Limit
Please email api@bybit.com with the following information. We will reply within 1-4 working days:
- Your name and your company details
- Your Bybit UID or registered email, and the assets you are trading
- General description of your trading strategy and reasons for higher rate limits
- Screenshot of previous monthly trading volume (maker/taker) on other platforms
- Optional: your order history in CSV format