Skip to main content
cURL
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"
    }
  ]
}

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object[]
required
id
integer

The id that was sent in the request