ListAccounts gives you the accountId every other call takes, and ListMarkets the limits PlaceOrder and SetLeverage enforce.
ListAccounts
ListAccounts · read key · Body: {}
Your accounts, newest first, with each account’s progress against its Assessment rules.
DrawdownProgress:
currentAmount is USD lost, never negative; limitPct is the limit in percent, so "5" is 5%; progressPct is currentAmount as a percent of the limit, not capped, so "100" means the limit is reached.
ProfitTargetProgress: currentAmount is USD of equity above startingBalance, never negative; targetAmount is the USD profit required; progressPct is their ratio in percent, not capped.
Risk level
From tightest to loosest loss limits:RISK_LEVEL_TIGHT, RISK_LEVEL_LOW, RISK_LEVEL_MEDIUM, RISK_LEVEL_HIGH.
The enum’s numbers do not follow that order, so compare by name.
- Every account carries a level, a demo account included, since it runs under the rules of a real product.
- Use the level to classify an account, and size stops from
dailyLossandmaxDrawdown: a level does not fix exact percentages. RISK_LEVEL_UNSPECIFIEDmeans the level is unknown to this API version, never a level of its own.
Rule progress
- The daily loss floor is
startOfDayBalance× (1 − limit) minus today’s payouts: with 100000, a 3% limit and a 1000 payout today, it is 96000. A payout is not counted as a loss, so the room left is unchanged. dailyPnltakes equity at 00:00 UTC as its base, open P&L included. On a day that starts with an open loss it reads better than equity minusstartOfDayBalance, so read the room left fromdailyLoss, notdailyPnl.- Max drawdown never trails a later equity high. A breach is judged on the lowest equity the account reached, so it fails the account even if equity recovers, and a failed account reports the figures its breach was judged on.
- No figures are sent for an account without a live portfolio or breach record, such as one awaiting signature.
dailyPnlis left out for a failed account and until the current UTC day’s figures are in.
ListMarkets
ListMarkets · read key · Body: {}
Every market, ordered by symbol, with the limits PlaceOrder and SetLeverage enforce. It reads no account.
reduceOnly, take-profits and stop-losses, and a MARKET order placed as a position’s reduce-only exit. Any other order answers failed_precondition. ListMarkets keeps listing a delisted market and does not mark it, so that refusal is the only signal.
Market data
This API serves no market data. Read prices, books and candles from Hyperliquid’s public API,https://api.hyperliquid.xyz/info and wss://api.hyperliquid.xyz/ws, under the market’s hyperliquidCoin.
Our markPrice is Hyperliquid’s markPx in the coin’s activeAssetCtx subscription, and the best bid and offer that fire triggers are the coin’s bbo.
GetAccountSnapshot
GetAccountSnapshot · read key · Body: { "accountId": "…" }
The account’s balance and open positions at the time of the call.

