Skip to main content
GET
/
v1
/
account_info
Get Account Overview Info
curl --request GET \
  --url https://api.perpo.trade/v1/account_info \
  --header 'perpo-account-id: <perpo-account-id>' \
  --header 'perpo-key: <perpo-key>' \
  --header 'perpo-signature: <perpo-signature>' \
  --header 'perpo-timestamp: <perpo-timestamp>'
{
  "success": true,
  "data": {
    "current_margin_ratio_with_orders": 1.2385,
    "free_collateral": 450315.09115,
    "initial_margin_ratio": 0.1,
    "initial_margin_ratio_with_orders": 0.1,
    "maintenance_margin_ratio": 0.05,
    "maintenance_margin_ratio_with_orders": 0.05,
    "margin_ratio": 1.2385,
    "open_margin_ratio": 1.2102,
    "total_collateral_value": 489865.71329,
    "account_value": 500000,
    "total_pnl_24h": 0
  },
  "timestamp": 1702989203989
}

Headers

perpo-timestamp
string
required
perpo-account-id
string
required
perpo-key
string
required
perpo-signature
string
required

Response

200 - application/json

OK

success
boolean
required
Example:

true

data
object
required
timestamp
integer
Example:

1702989203989