Skip to main content
GET
/
risk-snapshot
cURL
curl --request GET \
  --url https://sandbox.x.architect.co/api/risk-snapshot \
  --header 'Authorization: Bearer <token>'
{
  "risk_snapshot": {
    "balance_usd": "<string>",
    "equity": "<string>",
    "initial_margin_available": "<string>",
    "initial_margin_required_for_open_orders": "<string>",
    "initial_margin_required_for_positions": "<string>",
    "initial_margin_required_total": "<string>",
    "maintenance_margin_available": "<string>",
    "maintenance_margin_required": "<string>",
    "per_symbol": {},
    "timestamp_ns": "2023-11-07T05:31:56Z",
    "unrealized_pnl": "<string>",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Risk snapshot

risk_snapshot
object
required