Skip to main content

Get RFQs (real-time)

Obtain real-time inquiry information. Up to 50 requests per second

info
  • Obtain RFQs in real-time.
  • If both rfqId and rfqLinkId are passed, only rfqId is considered.
  • Sorted in descending order by createdAt.
  • During periods of extreme market volatility, this interface may experience increased latency or temporary delays in data delivery

HTTP Request

GET/v5/rfq/rfq-realtime

Request Parameters

ParameterRequiredTypeComments
rfqIdfalsestringInquiry ID
rfqLinkIdfalsestringCustom inquiry ID, traderType is quote, this field is invalid
traderTypefalsestringTrader type, quote , request. Default: quote

Response Parameters

ParameterTypeComments
listarrayAn array of RFQs
> rfqIdstringInquiry ID
> rfqLinkIdstringCustom RFQ ID. Not publicly disclosed.
>counterpartiesarray of sringsList of bidders
> expiresAtstringThe inquiry's expiration time (ms)
> strategyTypestringInquiry label
> statusstringStatus of the RFQ: Active PendingFill Canceled Filled Expired Failed
> acceptOtherQuoteStatusstringWhether to accept non-LP quotes. The default value is false: false: Default value, do not accept non-LP quotes. true: Accept non-LP quotes
> deskCodestringThe unique identification code of the inquiring party, which is not visible when anonymous was set to true when the RFQ was created
> anonymousbooleanWhether the RFQ is anonymous
> createdAtstringTime (ms) when the trade is created in epoch, such as 1650380963
> updatedAtstringTime (ms) when the trade is updated in epoch, such as 1650380964
> legsarray of objectsCombination transaction
>> categorystringcategory. Valid values include: "linear", "option" and "spot"
>> symbolstringThe unique instrument ID
>> sidestringInquiry direction: Valid values are Buy and Sell .
>> qtystringOrder quantity of the instrument.
> hedgearray of objectsDelta Hedge leg object
>> categorystringProduct type. Unified account: spot, linear, option
>> symbolstringName of the trading contract
>> sidestringInquiry transaction direction: Buy, Sell
>> qtystringTrade quantity. If it exceeds the position size, the position will open in the reverse direction
>> pricestringTaker's desired Delta Hedge execution price, passed to the market maker for reference only. The maker is not obligated to quote the hedge leg. If the taker sets this price and the hedge leg is ultimately executed, it will be filled at this price

Request Example

GET /v5/rfq/rfq-realtime HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1676430842094
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXXX

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"list": [
{
"rfqLinkId": "",
"rfqId": "1756885055799241492396882271696580",
"counterparties": [
"hashwave2"
],
"strategyType": "custom",
"expiresAt": "1756885655801",
"status": "Active",
"acceptOtherQuoteStatus":"false",
"deskCode": "1nu9d1",
"anonymous": false,
"createdAt": "1756885055801",
"updatedAt": "1756885055801",
"legs": [
{
"category": "option",
"symbol": "BTC-25JUL25-100000-C",
"side": "Buy",
"qty": "100"
}
],
"hedge": [
{
"category": "linear",
"symbol": "BTCUSDT",
"side": "Sell",
"qty": "46",
"price": "121500.0"
}
]
}
]
},
"retExtInfo": {},
"time": 1756885059062
}