Judge Market LogoJudgeMarketUS
Rewards Invite Friends News Blog Builders Support
© 2026 JudgeMarket
AboutPrivacyTermsWhat is OPSNewsBlog
HomeWallet
API Docs
Getting StartedAuthenticationMarket DataTradingAccountSocialWebSocketError Codes

Account

Balance, positions, transfers, and profile management.

My Balance & Positions

POST/meAuth Required

Returns the authenticated user's balance, equity, and all open positions.

{
  "user_id": "0x1234...abcd",
  "username": "trader1",
  "balance": "850.00",
  "frozen": "50.00",
  "total_equity": "1200.00",
  "total_unrealized_pl": "32.50",
  "positions": {
    "elon-musk": {
      "long": {
        "amount": "5.00",
        "entry_price": "80.00",
        "current_price": "86.31",
        "pl": "31.55",
        "pl_ratio": "7.89",
        "side": "LONG"
      },
      "short": null
    }
  }
}

Update Profile

POST/user/updateAuth Required
display_namestring
New display name (max 30 chars)

Performance History

GET/me/performance/historyAuth Required

Returns equity snapshots over time for charting portfolio performance.

Transfer OPS

POST/transferAuth Required

Transfer OPS to another user by username.

to_usernamestringrequired
Recipient username
amountnumberrequired
Amount of OPS to send

Transfer Position

POST/transfer/assetAuth Required

Transfer shares of a position to another user.

to_usernamestringrequired
Recipient username
asset_idstringrequired
Asset to transfer
amountnumberrequired
Number of shares
sidestringrequired
"LONG" or "SHORT"

Public Profile

GET/profile/:username

Returns a user's public portfolio — positions, volume, and join date. No auth required.