Skip to main content

Cancel All RFQs

Cancel all active RFQs. Up to 50 requests per second

info
  • Inquirer cancels order: Cancel the inquiry, all its corresponding quotes becoming invalid
  • Quoter cancels the order: The inquiry is not affected, but the quote becomes invalid

HTTP Request

POST /v5/rfq/cancel-all-rfq

Request Parameters

None

Response Parameters

ParameterTypeComments
resultarray of objects
> rfqIdstringInquiry ID
> rfqLinkIdstringCustom inquiry ID
> codestringWhether or not the cancellations were a success, 0: success
> msgstringCancellation failure reason

Request Example

POST /v5/rfq/cancel-all-rfq HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1744083949347
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
Content-Length: 115

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": [
{
"rfqId": "175766967076315412093641573648082",
"rfqLinkId": "",
"code": 0,
"msg": ""
}
],
"retExtInfo": {},
"time": 1757669676581
}