curl --request GET \
--url https://test.deribit.com/api/v2/private/get_broker_trade_requests \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 7,
"method": "private/get_broker_trade_requests",
"params": {}
}
'{
"jsonrpc": "2.0",
"id": 7,
"result": [
{
"timestamp": 1742824052547,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "initial",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "3WqPoAsmde9aXCSEBVUmi2XxGkgA"
},
{
"timestamp": 1742824052538,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "approved",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "29rKkuD3NSBPet4njrpNWEuHBm9s"
}
]
}Broker Method Provides a list of broker block trade requests including pending approvals, declined trades, and expired trades. timestamp and nonce received in response can be used to approve or reject the pending broker block trade. This method takes no parameters.
Scope: block_trade:read
curl --request GET \
--url https://test.deribit.com/api/v2/private/get_broker_trade_requests \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 7,
"method": "private/get_broker_trade_requests",
"params": {}
}
'{
"jsonrpc": "2.0",
"id": 7,
"result": [
{
"timestamp": 1742824052547,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "initial",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "3WqPoAsmde9aXCSEBVUmi2XxGkgA"
},
{
"timestamp": 1742824052538,
"state": "activated",
"trades": [
{
"amount": 100000,
"direction": "buy",
"price": 87516.83,
"instrument_name": "BTC-PERPETUAL"
}
],
"maker": {
"state": "approved",
"client_id": 1,
"user_id": "***009",
"client_name": "Test Client",
"client_link_name": "Test Client 2",
"client_link_id": 2
},
"taker": {
"state": "initial",
"client_id": 1,
"user_id": "***008",
"client_name": "Test Client",
"client_link_name": "Test Client 1",
"client_link_id": 1
},
"nonce": "29rKkuD3NSBPet4njrpNWEuHBm9s"
}
]
}Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Timestamp of the broker block trade request (milliseconds since the UNIX epoch).
State of the broker block trade request.
Hide child attributes
State of the request from the maker side: initial, approved, or rejected.
ID of a client; available to broker. Represents a group of users under a common name.
Obscured user id of the maker.
Name of the client; available to broker.
Name of the linked user within the client; available to broker.
ID assigned to a single user in a client; available to broker.
Hide child attributes
State of the request from the taker side: initial, approved, or rejected.
ID of a client; available to broker. Represents a group of users under a common name.
Obscured user id of the taker.
Name of the client; available to broker.
Name of the linked user within the client; available to broker.
ID assigned to a single user in a client; available to broker.
Nonce for approving or rejecting the broker block trade request.
The id that was sent in the request
Was this page helpful?