curl --request GET \
--url https://test.deribit.com/api/v2/public/get_block_rfq_trades \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "public/get_block_rfq_trades",
"params": {
"currency": "BTC"
}
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"continuation": "1739739009234:6570",
"block_rfqs": [
{
"id": 6611,
"timestamp": 1739803305362,
"combo_id": "BTC-CS-28FEB25-100000_106000",
"legs": [
{
"price": 0.1,
"direction": "buy",
"instrument_name": "BTC-28FEB25-100000-C",
"ratio": 1
},
{
"price": 0.05,
"direction": "sell",
"instrument_name": "BTC-28FEB25-106000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.010356754,
"trades": [
{
"price": 0.05,
"amount": 12.5,
"direction": "sell",
"hedge_amount": 50
}
],
"hedge": {
"price": 96000,
"amount": 50,
"direction": "sell",
"instrument_name": "BTC-PERPETUAL"
},
"index_prices": {
"btc_usd": 96000,
"btc_usdc": 95950
}
},
{
"id": 6600,
"timestamp": 1739774397766,
"combo_id": "BTC-CS-28FEB25-100000_106000",
"legs": [
{
"price": 0.1,
"direction": "buy",
"instrument_name": "BTC-28FEB25-100000-C",
"ratio": 1
},
{
"price": 0.05,
"direction": "sell",
"instrument_name": "BTC-28FEB25-106000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.007458089,
"trades": [
{
"price": 0.05,
"amount": 12.5,
"direction": "sell",
"hedge_amount": 50
}
],
"hedge": {
"price": 96000,
"amount": 50,
"direction": "sell",
"instrument_name": "BTC-PERPETUAL"
},
"index_prices": {
"btc_usd": 96000,
"btc_usdc": 95950
}
},
{
"id": 6579,
"timestamp": 1739743922308,
"combo_id": "BTC-CS-17FEB25-89000_90000",
"legs": [
{
"price": 0.08,
"direction": "buy",
"instrument_name": "BTC-17FEB25-89000-C",
"ratio": 1
},
{
"price": 0.075,
"direction": "sell",
"instrument_name": "BTC-17FEB25-90000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.010314468,
"trades": [
{
"price": 0.005,
"amount": 12.5,
"direction": "sell"
}
]
}
]
}
}Returns a list of recent Block RFQ trades. Can be optionally filtered by currency.
This is a public method that provides market data about completed Block RFQ trades. For private Block RFQ information, use private/get_block_rfqs.
๐ Related Article: Deribit Block RFQ API walkthrough
curl --request GET \
--url https://test.deribit.com/api/v2/public/get_block_rfq_trades \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "public/get_block_rfq_trades",
"params": {
"currency": "BTC"
}
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"continuation": "1739739009234:6570",
"block_rfqs": [
{
"id": 6611,
"timestamp": 1739803305362,
"combo_id": "BTC-CS-28FEB25-100000_106000",
"legs": [
{
"price": 0.1,
"direction": "buy",
"instrument_name": "BTC-28FEB25-100000-C",
"ratio": 1
},
{
"price": 0.05,
"direction": "sell",
"instrument_name": "BTC-28FEB25-106000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.010356754,
"trades": [
{
"price": 0.05,
"amount": 12.5,
"direction": "sell",
"hedge_amount": 50
}
],
"hedge": {
"price": 96000,
"amount": 50,
"direction": "sell",
"instrument_name": "BTC-PERPETUAL"
},
"index_prices": {
"btc_usd": 96000,
"btc_usdc": 95950
}
},
{
"id": 6600,
"timestamp": 1739774397766,
"combo_id": "BTC-CS-28FEB25-100000_106000",
"legs": [
{
"price": 0.1,
"direction": "buy",
"instrument_name": "BTC-28FEB25-100000-C",
"ratio": 1
},
{
"price": 0.05,
"direction": "sell",
"instrument_name": "BTC-28FEB25-106000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.007458089,
"trades": [
{
"price": 0.05,
"amount": 12.5,
"direction": "sell",
"hedge_amount": 50
}
],
"hedge": {
"price": 96000,
"amount": 50,
"direction": "sell",
"instrument_name": "BTC-PERPETUAL"
},
"index_prices": {
"btc_usd": 96000,
"btc_usdc": 95950
}
},
{
"id": 6579,
"timestamp": 1739743922308,
"combo_id": "BTC-CS-17FEB25-89000_90000",
"legs": [
{
"price": 0.08,
"direction": "buy",
"instrument_name": "BTC-17FEB25-89000-C",
"ratio": 1
},
{
"price": 0.075,
"direction": "sell",
"instrument_name": "BTC-17FEB25-90000-C",
"ratio": 1
}
],
"amount": 12.5,
"direction": "sell",
"mark_price": 0.010314468,
"trades": [
{
"price": 0.005,
"amount": 12.5,
"direction": "sell"
}
]
}
]
}
}The currency symbol or "any" for all
Currency name or "any" if don't care
BTC, ETH, USDC, USDT, EURR, any Continuation token for pagination. Consists of timestamp and block_rfq_id.
"1738050297271:103"
Count of Block RFQs returned, maximum - 1000
1 <= x <= 1000Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Hide child attributes
ID of the Block RFQ
The timestamp of the trade (milliseconds since the UNIX epoch)
1517329113791
Trade direction of the taker
buy, sell This value multiplied by the ratio of a leg gives trade size on that leg.
Mark Price at the moment of trade
Hide child attributes
Ratio of amount between legs
Unique instrument identifier
"BTC-PERPETUAL"
Direction: buy, or sell
buy, sell Price for a leg
Unique combo identifier
"BTC-FS-31DEC21-PERP"
Hide child attributes
It represents the requested hedge leg size. For perpetual and inverse futures the amount is in USD units. For options and linear futures it is the underlying base currency coin.
Unique instrument identifier
"BTC-PERPETUAL"
Direction: buy, or sell
buy, sell Price for a hedge leg
A map of index prices for the underlying instrument(s) at the time of trade execution, where keys are price index names and values are prices.
Hide child attributes
Direction: buy, or sell
buy, sell Price in base currency
Trade amount. For options, linear futures, linear perpetuals and spots the amount is denominated in the underlying base currency coin. The inverse perpetuals and inverse futures are denominated in USD units.
Amount of the hedge leg. For linear futures, linear perpetuals and spots the amount is denominated in the underlying base currency coin. The inverse perpetuals and inverse futures are denominated in USD units.
Continuation token for pagination. NULL when no continuation. Consists of timestamp and block_rfq_id.
"1738050297271:103"
The id that was sent in the request
Was this page helpful?