account

Get user account summary. (Authorization is required)
URI: https://www.deribit.com/api/v1/private/account
URI Path: /api/v1/private/account
Parameters:
ext – optional parameter, if ext=true then the return has email, nick and tfa=true/false fields
Method: GET
Result is JSON object:
{
    "success": true,       // true or false
    "result": {
        "equity": 1108,48703769  // float, in BTC
        "maintenanceMargin": 9.58764239,  // float, in BTC
        "initialMargin": 52.71196337, // float, in BTC
        "availableFunds": 1055.77507431, // float, in BTC
        "balance": 1103.15356175, // float, in BTC
        "depositAddress": "mgMPN6owFMGPrwJ4LPZw9mp5kCqcD22hfP" // BTC deposit address
        "SUPL": 0.01813573, // float, in BTC, Session Unrealized Profit and Loss 
        "SRPL": 0, // float, in BTC, Session Realized Profit and Loss
        "PNL": 1.26766995, // float, in BTC, Profit and Loss
        "optionsPNL": 1.26766995, // float, in BTC, options PnL,
        "optionsSUPL": 0.01813573, // float, in BTC, options Session Unrealized PnL, 
        "optionsSRPL": 0, // float, in BTC, options Session Realized PnL,
        "optionsD": 8.1467, // options summary delta
        "optionsG": -0.0007, // options summary gamma
        "optionsV": -50.332, // options summary vega
        "optionsTh": 6.6506, // options summary theta
        "futuresPNL": 0, // futures PnL
        "futuresSUPL": 0, // futures Session Unrealized PnL
        "futuresSRPL": 0 //futures Session Realized PnL
         // if ext=true
        "nick": "User1",   // user nickname
        "email": "user1111@yahoo.com", // email
        "tfa": false  // status of 2FA/TFA, true if on otherwise false
   } 
 }
Private API
buy