Skip to main content

Get Quotes (real-time)

Get real-time quote information. Up to 50 requests per second

info
  • Obtain quote information sent or received by users, query from rfq-egine, without delay
  • Pass both quoteId and quoteLinkId, with quoteId as the standard and priority: quoteId > quoteLinkId > rfqId
  • Sorted in descending order by createdAt.
  • Return all non-final quotes

HTTP Request

GET /v5/rfq/quote-realtime

Request Parameters

ParameterRequiredTypeComments
rfqIdfalsestringInquiry ID
quoteIdfalsestringQuote ID
quoteLinkIdfalsestringQuote custom ID, traderType is request , this field is invalid
traderTypefalsestringTrader type, quote , request. Default: quote

Response Parameters

ParameterTypeComments
listarrayAn array of quotes
> rfqIdstringInquiry ID
> rfqLinkIdstringCustom RFQ ID. Not publicly disclosed.
> quoteIdstringQuote ID
> quoteLinkIdstringCustom quote ID. Not publicly disclosed.
> expiresAtstringThe quote's expiration time (ms)
> deskCodestringThe unique identification code of the inquiring party, which is not visible when anonymous was set to true when the RFQ was created
>> statusstringStatus of the RFQ: Active PendingFill Canceled Filled Expired Failed
>> execQuoteSidestringExecute the quote direction, Buy or Sell . When the quote direction is Buy , for maker, the execution direction is the same as the direction in legs, and opposite for taker. Conversely, the same applies
>> createdAtstringTime (ms) when the trade is created in epoch, such as 1650380963
>> updatedAtstringTime (ms) when the trade is updated in epoch, such as 1650380964
>> quoteBuyListarray of objectsQuote Buy Direction
>>> categorystringProduct type: spot,linear,option
>>> symbolstringThe unique instrument ID
>>> pricestringQuote price
>>> qtystringOrder quantity of the instrument.
>> quoteSellListarray of objectsQuote Sell Direction
>>> categorystringProduct type: spot,linear,option
>>> symbolstringThe unique instrument ID
>>> pricestringQuote price
>>> qtystringOrder quantity of the instrument.

Request Example

GET /v5/rfq/quote-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": "175740578143743543930777169307022",
"quoteId": "1757405933130044334361923221559805",
"quoteLinkId": "",
"expiresAt": "1757405993126",
"status": "Active",
"deskCode": "test0904",
"execQuoteSide": "",
"quoteBuyList": [
{
"category": "linear",
"symbol": "BTCUSDT",
"price": "113790",
"qty": "0.5"
}
],
"quoteSellList": [
{
"category": "linear",
"symbol": "BTCUSDT",
"price": "110500",
"qty": "0.5"
}
],
"createdAt": "1757405933126",
"updatedAt": "1757405933126"
}
]
},
"retExtInfo": {},
"time": 1757405978376
}