Skip to main content

Get Quotes

Obtain historical quote information. Up to 50 requests per second

info
  • Obtain historical quotes. This data is not real-time. Please see Get RFQs (real-time).
  • If both quoteId and quoteLinkId are passed, only both is considered.
  • If both rfqId and rfqLinkId are passed, only rfqId is considered.
  • Sorted in descending order by createdAt.

HTTP Request

GET /v5/rfq/quote-list

Request Parameters

ParameterRequiredTypeComments
rfqIdfalsestringInquiry ID
quoteIdfalsestringQuote ID
quoteLinkIdfalsestringCustom quote ID. If traderType is request this field is invalid
traderTypefalsestringTrader type, quote , request. Default: quote
statusfalsestringStatus of the RFQ: Active Canceled PendingFill Filled Expired Failed
limitfalseintegerReturn the number of items. [1, 100]. Default: 50
cursorfalsestringCursor. Use the nextPageCursor token from the response to retrieve the next page of the result set

Response Parameters

ParameterTypeComments
resultObject
> cursorstringRefer to the cursor request parameter
> 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 quote 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
>>> pricestringOrder price in the quote currency of the instrument.
>>> qtystringOrder quantity of the instrument.
>> quoteSellListarray of objectsQuote Sell Direction
>>> categorystringProduct type: spot,linear,option
>>> symbolstringThe unique instrument ID
>>> pricestringOrder price in the quote currency of the instrument.
>>> qtystringOrder quantity of the instrument.

Request Example

GET /v5/rfq/quote-list 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": {
"cursor": "",
"list": [
{
"rfqLinkId": "",
"rfqId": "175740578143743543930777169307022",
"quoteId": "1757405933130044334361923221559805",
"quoteLinkId": "",
"expiresAt": "1757405993126",
"status": "Expired",
"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": "1757405999156"
}
]
},
"retExtInfo": {},
"time": 1757406548275
}