cURL
curl --request GET \ --url https://test.deribit.com/api/v2/public/get_combos \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 2, "method": "public/get_combos", "params": { "currency": "BTC" } } '
{ "jsonrpc": "2.0", "id": 2, "result": [ { "state_timestamp": 1650636265101, "state": "active", "legs": [ { "instrument_name": "BTC-29APR22-39300-C", "amount": 1 }, { "instrument_name": "BTC-29APR22-39600-C", "amount": -1 } ], "id": "BTC-CS-29APR22-39300_39600", "instrument_id": 28, "creation_timestamp": 1650636235000 }, { "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 information about active combos
Try in API console
The currency symbol or "any" for all Currency name or "any" if don't care
"any"
BTC
ETH
USDC
USDT
EURR
any
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?