curl --request GET \
--url https://test.deribit.com/api/v2/private/get_account_summaries \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 2515,
"method": "private/get_account_summaries",
"params": {
"extended": true
}
}
'{
"jsonrpc": "2.0",
"id": 2515,
"result": {
"id": 10,
"email": "user@example.com",
"system_name": "user",
"username": "user",
"block_rfq_self_match_prevention": true,
"creation_timestamp": 1687352432143,
"type": "main",
"referrer_id": null,
"login_enabled": false,
"security_keys_enabled": false,
"mmp_enabled": false,
"interuser_transfers_enabled": false,
"self_trading_reject_mode": "cancel_maker",
"self_trading_extended_to_subaccounts": false,
"summaries": [
{
"currency": "BTC",
"delta_total_map": {
"btc_usd": 31.594357699
},
"margin_balance": 302.62729214,
"futures_session_rpl": -0.03258105,
"options_session_rpl": 0,
"estimated_liquidation_ratio_map": {
"btc_usd": 0.1009872222854525
},
"session_upl": 0.05271555,
"estimated_liquidation_ratio": 0.10098722,
"options_gamma_map": {
"btc_usd": 0.00001
},
"options_vega": 0.0858,
"options_value": -0.0086,
"available_withdrawal_funds": 301.35396172,
"projected_delta_total": 32.613978,
"maintenance_margin": 0.8857841,
"total_pl": -0.33084225,
"limits": {
"limits_per_currency": false,
"non_matching_engine": {
"burst": 1500,
"rate": 1000
},
"matching_engine": {
"trading": {
"total": {
"burst": 250,
"rate": 200
}
},
"spot": {
"burst": 250,
"rate": 200
},
"quotes": {
"burst": 500,
"rate": 500
},
"max_quotes": {
"burst": 10,
"rate": 10
},
"guaranteed_quotes": {
"burst": 2,
"rate": 2
},
"cancel_all": {
"burst": 250,
"rate": 200
}
}
},
"projected_maintenance_margin": 0.7543841,
"available_funds": 301.38059622,
"options_delta": -1.01962,
"balance": 302.60065765,
"equity": 302.61869214,
"futures_session_upl": 0.05921555,
"fee_balance": 0,
"options_session_upl": -0.0065,
"projected_initial_margin": 1.01529592,
"options_theta": 15.97071,
"portfolio_margining_enabled": false,
"cross_collateral_enabled": false,
"margin_model": "segregated_sm",
"options_vega_map": {
"btc_usd": 0.0858
},
"futures_pl": -0.32434225,
"options_pl": -0.0065,
"initial_margin": 1.24669592,
"spot_reserve": 0,
"delta_total": 31.602958,
"options_gamma": 0.00001,
"session_rpl": -0.03258105,
"fees": {
"btc_usd": {
"option": {
"default": {
"type": "relative",
"taker": 0.625,
"maker": 0.625
},
"block_trade": 0.625
},
"perpetual": {
"default": {
"type": "fixed",
"taker": 0.00035000000000000005,
"maker": -0.0001
},
"block_trade": 0.3
},
"future": {
"default": {
"type": "fixed",
"taker": 0.00035000000000000005,
"maker": -0.0001
},
"block_trade": 0.3
}
}
}
},
{
"currency": "ETH",
"futures_session_upl": 0,
"portfolio_margining_enabled": false,
"available_funds": 99.999598,
"initial_margin": 0.000402,
"futures_session_rpl": 0,
"options_gamma": 0,
"balance": 100,
"options_vega_map": {},
"session_upl": 0,
"fee_balance": 0,
"delta_total_map": {
"eth_usd": 0
},
"projected_maintenance_margin": 0,
"options_gamma_map": {},
"projected_delta_total": 0,
"margin_model": "segregated_sm",
"futures_pl": 0,
"options_theta": 0,
"limits": {
"limits_per_currency": false,
"non_matching_engine": {
"burst": 1500,
"rate": 1000
},
"matching_engine": {
"trading": {
"total": {
"burst": 250,
"rate": 200
}
},
"spot": {
"burst": 250,
"rate": 200
},
"quotes": {
"burst": 500,
"rate": 500
},
"max_quotes": {
"burst": 10,
"rate": 10
},
"guaranteed_quotes": {
"burst": 2,
"rate": 2
},
"cancel_all": {
"burst": 250,
"rate": 200
}
}
},
"options_delta": 0,
"equity": 100,
"projected_initial_margin": 0.0002,
"estimated_liquidation_ratio_map": {
"eth_usd": 0
},
"spot_reserve": 0.0002,
"cross_collateral_enabled": false,
"available_withdrawal_funds": 99.999597,
"delta_total": 0,
"options_session_upl": 0,
"maintenance_margin": 0,
"options_theta_map": {},
"additional_reserve": 0,
"estimated_liquidation_ratio": 0,
"options_pl": 0,
"options_session_rpl": 0,
"options_vega": 0,
"total_pl": 0,
"session_rpl": 0,
"options_value": 0,
"margin_balance": 100,
"fees": {
"eth_usd": {
"option": {
"default": {
"type": "relative",
"taker": 0.5,
"maker": 0.5
},
"block_trade": 0.5
},
"perpetual": {
"default": {
"type": "fixed",
"taker": 0.00025,
"maker": -0.00005
},
"block_trade": 0.2
},
"future": {
"default": {
"type": "fixed",
"taker": 0.00025,
"maker": -0.00005
},
"block_trade": 0.2
}
}
}
}
]
}
}Retrieves a per-currency list of account summaries for the authenticated user. Each summary includes balance, equity, available funds, and margin information for each currency.
To retrieve summaries for a specific subaccount, use the subaccount_id parameter. When the extended parameter is set to true, additional account details such as account ID, username, email, and account type are included.
Scope: account:read
curl --request GET \
--url https://test.deribit.com/api/v2/private/get_account_summaries \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 2515,
"method": "private/get_account_summaries",
"params": {
"extended": true
}
}
'{
"jsonrpc": "2.0",
"id": 2515,
"result": {
"id": 10,
"email": "user@example.com",
"system_name": "user",
"username": "user",
"block_rfq_self_match_prevention": true,
"creation_timestamp": 1687352432143,
"type": "main",
"referrer_id": null,
"login_enabled": false,
"security_keys_enabled": false,
"mmp_enabled": false,
"interuser_transfers_enabled": false,
"self_trading_reject_mode": "cancel_maker",
"self_trading_extended_to_subaccounts": false,
"summaries": [
{
"currency": "BTC",
"delta_total_map": {
"btc_usd": 31.594357699
},
"margin_balance": 302.62729214,
"futures_session_rpl": -0.03258105,
"options_session_rpl": 0,
"estimated_liquidation_ratio_map": {
"btc_usd": 0.1009872222854525
},
"session_upl": 0.05271555,
"estimated_liquidation_ratio": 0.10098722,
"options_gamma_map": {
"btc_usd": 0.00001
},
"options_vega": 0.0858,
"options_value": -0.0086,
"available_withdrawal_funds": 301.35396172,
"projected_delta_total": 32.613978,
"maintenance_margin": 0.8857841,
"total_pl": -0.33084225,
"limits": {
"limits_per_currency": false,
"non_matching_engine": {
"burst": 1500,
"rate": 1000
},
"matching_engine": {
"trading": {
"total": {
"burst": 250,
"rate": 200
}
},
"spot": {
"burst": 250,
"rate": 200
},
"quotes": {
"burst": 500,
"rate": 500
},
"max_quotes": {
"burst": 10,
"rate": 10
},
"guaranteed_quotes": {
"burst": 2,
"rate": 2
},
"cancel_all": {
"burst": 250,
"rate": 200
}
}
},
"projected_maintenance_margin": 0.7543841,
"available_funds": 301.38059622,
"options_delta": -1.01962,
"balance": 302.60065765,
"equity": 302.61869214,
"futures_session_upl": 0.05921555,
"fee_balance": 0,
"options_session_upl": -0.0065,
"projected_initial_margin": 1.01529592,
"options_theta": 15.97071,
"portfolio_margining_enabled": false,
"cross_collateral_enabled": false,
"margin_model": "segregated_sm",
"options_vega_map": {
"btc_usd": 0.0858
},
"futures_pl": -0.32434225,
"options_pl": -0.0065,
"initial_margin": 1.24669592,
"spot_reserve": 0,
"delta_total": 31.602958,
"options_gamma": 0.00001,
"session_rpl": -0.03258105,
"fees": {
"btc_usd": {
"option": {
"default": {
"type": "relative",
"taker": 0.625,
"maker": 0.625
},
"block_trade": 0.625
},
"perpetual": {
"default": {
"type": "fixed",
"taker": 0.00035000000000000005,
"maker": -0.0001
},
"block_trade": 0.3
},
"future": {
"default": {
"type": "fixed",
"taker": 0.00035000000000000005,
"maker": -0.0001
},
"block_trade": 0.3
}
}
}
},
{
"currency": "ETH",
"futures_session_upl": 0,
"portfolio_margining_enabled": false,
"available_funds": 99.999598,
"initial_margin": 0.000402,
"futures_session_rpl": 0,
"options_gamma": 0,
"balance": 100,
"options_vega_map": {},
"session_upl": 0,
"fee_balance": 0,
"delta_total_map": {
"eth_usd": 0
},
"projected_maintenance_margin": 0,
"options_gamma_map": {},
"projected_delta_total": 0,
"margin_model": "segregated_sm",
"futures_pl": 0,
"options_theta": 0,
"limits": {
"limits_per_currency": false,
"non_matching_engine": {
"burst": 1500,
"rate": 1000
},
"matching_engine": {
"trading": {
"total": {
"burst": 250,
"rate": 200
}
},
"spot": {
"burst": 250,
"rate": 200
},
"quotes": {
"burst": 500,
"rate": 500
},
"max_quotes": {
"burst": 10,
"rate": 10
},
"guaranteed_quotes": {
"burst": 2,
"rate": 2
},
"cancel_all": {
"burst": 250,
"rate": 200
}
}
},
"options_delta": 0,
"equity": 100,
"projected_initial_margin": 0.0002,
"estimated_liquidation_ratio_map": {
"eth_usd": 0
},
"spot_reserve": 0.0002,
"cross_collateral_enabled": false,
"available_withdrawal_funds": 99.999597,
"delta_total": 0,
"options_session_upl": 0,
"maintenance_margin": 0,
"options_theta_map": {},
"additional_reserve": 0,
"estimated_liquidation_ratio": 0,
"options_pl": 0,
"options_session_rpl": 0,
"options_vega": 0,
"total_pl": 0,
"session_rpl": 0,
"options_value": 0,
"margin_balance": 100,
"fees": {
"eth_usd": {
"option": {
"default": {
"type": "relative",
"taker": 0.5,
"maker": 0.5
},
"block_trade": 0.5
},
"perpetual": {
"default": {
"type": "fixed",
"taker": 0.00025,
"maker": -0.00005
},
"block_trade": 0.2
},
"future": {
"default": {
"type": "fixed",
"taker": 0.00025,
"maker": -0.00005
},
"block_trade": 0.2
}
}
}
}
]
}
}The user id for the subaccount
Include additional fields
true
Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Account id (available when parameter extended = true)
12354
System generated user nickname (available when parameter extended = true)
"myname"
Account name (given by user) (available when parameter extended = true)
"name"
Account type (available when parameter extended = true)
main, subaccount User email (available when parameter extended = true)
"support@deribit.com"
Whether Security Key authentication is enabled (available when parameter extended = true)
false
Whether account is loginable using email and password (available when parameter extended = true and account is a subaccount)
false
Whether MMP is enabled (available when parameter extended = true)
false
true when the inter-user transfers are enabled for user (available when parameter extended = true)
false
Optional identifier of the referrer (of the affiliation program, and available when parameter extended = true), which link was used by this account at registration. It coincides with suffix of the affiliation link path after /reg-
"517.6035"
Time at which the account was created (milliseconds since the Unix epoch; available when parameter extended = true)
1542100802842
Self trading rejection behavior - reject_taker or cancel_maker (available when parameter extended = true)
true if self trading rejection behavior is applied to trades between subaccounts (available when parameter extended = true)
When Block RFQ Self Match Prevention is enabled, it ensures that RFQs cannot be executed between accounts that belong to the same legal entity. This setting is independent of the general self-match prevention settings and must be configured separately.
Affiliate promotion fee (if greater than 0.0)
0
Which trading products are enabled or can be overwritten for the account
Whether the account receives notifications
false
Aggregated list of per-currency account summaries
Hide child attributes
Profit and loss
0.02032221
Session realized profit and loss
0.1
Session unrealized profit and loss
0.846863
The account's available funds. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
2.2638913
The account's available to withdrawal funds
2.26
The account's balance
3.4906363
Currency of the summary
"ETH"
The sum of position deltas.
DeltaTotal = Net Transaction Delta of options + BTC Position of Futures
The DeltaTotal uses the Net Transaction Delta (or price adjusted Delta) of the options, where Net Transaction Delta = Black Scholes Delta - Mark Price of Options.
This is because, from a risk perspective, we are interested in the change in Bitcoin price as the underlying changes.
You should actually treat your delta as Equity + Delta Total if you want to have less risk for your USD PnL.
⚠️ During the 30 minute settlement period we decay your Delta. See Delta decay during settlement for more details.
0.1334
The sum of position deltas without positions that will expire during closest expiration
0.1334
The account's current equity
2.6437733
Futures profit and Loss
0
Futures session realized profit and Loss
0
Futures session unrealized profit and Loss
0
The account's initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
0.379882
The maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
0.1334519
Options summary delta
0
Options summary gamma
0
Options profit and Loss
0
Options session realized profit and Loss
0
Options session unrealized profit and Loss
0
Options summary theta
0
Options value
0
Options summary vega
0
Map of options' gammas per index
Map of options' thetas per index
Map of options' vegas per index
Projected maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
1
The account's margin balance. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
2.25
The account's balance reserved in active spot orders
0.3
The account's balance reserved in other orders
0.3
The account's fee balance (it can be used to pay for fees)
Fee group indicates the level of fee discounts applied to an account. Use extended: true to view this field. If the field is missing, the account is not assigned to any fee group. 📖 Related Support Article: Automatically applied volume based fee discounts
The deposit address for the account (if available)
"14diAAyXL5UzhPTCKC998ch2GV7DMb7yDi"
Estimated Liquidation Ratio is returned only for users without portfolio margining enabled. Multiplying it by future position's market price returns its estimated liquidation price. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
0.0000234
Projected initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index.
1
true when portfolio margining is enabled for user
true
When true cross collateral is enabled for user
true
Name of user's currently enabled margin model
"segregated_sm"
Optional (only for users using cross margin). The account's total equity in all cross collateral currencies, expressed in USD
2.6437733
Optional (only for users using cross margin). The account's total initial margin in all cross collateral currencies, expressed in USD
0.379882
Optional (only for users using cross margin). The account's total maintenance margin in all cross collateral currencies, expressed in USD
0.1334519
Optional (only for users using cross margin). The account's total margin balance in all cross collateral currencies, expressed in USD
2.25
Optional (only for users using cross margin). The account's total delta total in all cross collateral currencies, expressed in USD
1.8
Returned object is described in separate document.
Optional field returned with value true when user has non block chain equity that is excluded from proof of reserve calculations
Fee structure for all currency pairs and instrument types related to the currency (available when parameter extended = true and user has any discounts). Keys are index names (e.g., "btc_usd"), values are objects with instrument types as keys (option, perpetual, future).
Hide child attributes
Hide child attributes
Hide child attributes
Block trade fee (if applicable)
Affiliate promotion fee (if greater than 0.0)
0
Which trading products are enabled or can be overwritten for the account
Whether the account receives notifications
false
The id that was sent in the request
Was this page helpful?