Deribit · Example Payload

Private_Get_Leg_Prices_Get_Request_Request

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Private_Get_Leg_Prices_Get_Request_Request is an example object payload from Deribit, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

jsonrpcidmethodparams

Example Payload

Raw ↑
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "private/get_leg_prices",
  "params": {
    "price": 0.6,
    "legs": [
      {
        "instrument_name": "BTC-1NOV24-67000-C",
        "direction": "buy",
        "amount": 2
      },
      {
        "instrument_name": "BTC-1NOV24-66000-C",
        "direction": "sell",
        "amount": 2
      }
    ]
  }
}