Skip to main content

Set Rate Limit

API rate limit: 1 req per second

info
  • If the UID calling this endpoint is a master account, the UIDs specified in the uids parameter must belong to its subaccounts. The master account itself cannot set a custom rate limit and can only use the default rate limit.
  • If the UID requesting this endpoint is a subaccount, the UID can only be itself in uids.
  • Only exchange broker account can call this endpoint

HTTP Request

POST /v5/broker/apilimit/set

Request Parameters

ParameterRequiredTypeComments
listtruearrayObject
> uidstruestringMultiple UIDs separated by commas, e.g., "uid1,uid2,uid3"
> bizTypetruestringBusiness type
> ratetrueintegerAPI rate limit per second

Response Parameters

ParameterTypeComments
resultarrayObject
> uidsstringMultiple UIDs separated by commas
> bizTypestringBusiness type
> rateintegerAPI rate limit per second
> successbooleanWhether or not the request was successful
> msgstringResult message

Request Example

POST /v5/broker/apilimit/set HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1711420489915
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"list": [
{
"uids": "290118",
"bizType": "SPOT",
"rate": 600
}
]
}

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"result": [
{
"uids": "290118",
"bizType": "SPOT",
"rate": 600,
"success": true,
"msg": "API limit updated successfully"
}
]
},
"retExtInfo": {},
"time": 1754894296913
}