JSON-RPC API
cURL
curl --request GET \ --url https://test.deribit.com/api/v2/public/get_combo_details \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 3, "method": "public/get_combo_details", "params": { "combo_id": "BTC-FS-29APR22_PERP" } } '
{ "jsonrpc": "2.0", "id": 3, "result": { "state_timestamp": 1650620605150, "state": "active", "legs": [ { "instrument_name": "BTC-PERPETUAL", "amount": -1 }, { "instrument_name": "BTC-29APR22", "amount": 1 } ], "id": "BTC-FS-29APR22_PERP", "instrument_id": 27, "creation_timestamp": 1650620575000 } }
Retrieves detailed information about a specific combo, including its leg structure, state, and other properties.
Use public/get_combo_ids to get a list of available combo IDs.
Try in API console
Combo ID Unique combo identifier
"BTC-FS-31DEC21-PERP"
Success response
The JSON-RPC version (2.0)
2.0
Hide child attributes
Unique combo identifier
Instrument ID
Combo state: "active", "inactive"
"active"
inactive
active
The timestamp (milliseconds since the Unix epoch)
1536569522277
Unique instrument identifier
"BTC-PERPETUAL"
Size multiplier of a leg. A negative value indicates that the trades on given leg are in opposite direction to the combo trades they originate from
-1
The id that was sent in the request
Was this page helpful?