Skip to content
UNHEDGED / DOCS

Search documentation

Browse docs or start typing to find a topic

↑ ↓ to navigate Enter to open Esc to close

Documentation

Back to app

Get Equity Snapshot

GET https://api.unhedged.gg/api/v1/portfolio/me/equity

Returns available cash, locked balances, open ORDER_BOOK mark-to-market value, and rolling P/L from one fresh database snapshot per request (Cache-Control: no-store). Use /api/v1/portfolio/me/equity-summary for totals without rolling P/L. Returns 503 with Retry-After: 1 at capacity.

Configure request

Request

Security · Bearer token

Send your API key in the Authorization header. Required scope portfolio:read.

Rate limit · 30 req/min per user

Query parameters

fresh string
Optional compatibility parameter. All reads are uncached.
Portfolio retry guidance
Authorization
Bearer token Authorization: Bearer ak_your_key_here
Query parameters
curl https://api.unhedged.gg/api/v1/portfolio/me/equity \
  -H "Authorization: Bearer ak_your_key_here"
Response
{
  "equity": {
    "total": "1320.4500000000",
    "available": "1100.0000000000",
    "lockedWithdraws": "0.0000000000",
    "lockedBets": "95.9500000000",
    "lockedEngine": "60.0000000000",
    "unrealizedClob": "64.5000000000",
    "dayChange": "18.2500000000",
    "dayChangePercent": 1.40,
    "sevenDayChange": "84.0000000000",
    "sevenDayChangePercent": 6.80,