webData2 | Hyperliquid Info API
Info API
webData2 | Hyperliquid Info API
Hyperliquid webData2: fetch the composite snapshot the Hyperliquid web app uses for a wallet in a single call.
POST
webData2 | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "webData2" is used to fetch the composite snapshot the Hyperliquid web app uses for a wallet in a single call.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "webData2", "user": "0x..."}.
Endpoint
Request
Always
"webData2".Wallet address (lowercase
0x-prefixed 42-character hex). The payload is keyed to this user.Example
Response
The response is a single composite object. The example below shows one representative element of each array; in practicemeta.universe, assetCtxs, spotAssetCtxs, and openOrders each contain many entries.
Field descriptions
All numeric balances, prices, and sizes are returned as decimal strings with full upstream precision. Do not parse them as floats - keep them as strings or use a fixed-precision decimal type. Timestamps (
serverTime, time, timestamp) are integer Unix milliseconds.Echo of the wallet address requested.
true when the wallet is a Hyperliquid vault address.Active API agent address if one is registered for the wallet, otherwise
null.Expiry of the API agent in Unix milliseconds, or
null when no agent is registered.HyperCore server time (Unix milliseconds) at the moment the snapshot was assembled.
Cumulative non-funding ledger total for the wallet, in USDC. Tracks net deposits/withdrawals/transfers across time.
Sum of all vault equity the wallet leads (when
isVault or a vault leader). "0.0" when the wallet leads no vaults.List of perp
coin symbols currently at their open-interest cap. Useful for surfacing “no new shorts/longs” UI states.Active TWAP orders for the wallet. Empty array when no TWAPs are in flight.
Vaults the wallet leads, each with vault address and current equity. Empty array when the wallet leads no vaults.
Perpetuals account state - identical to the response shape of
clearinghouseState. Contains marginSummary, crossMarginSummary, crossMaintenanceMarginUsed, withdrawable, time, and assetPositions[].Perp universe metadata - identical to the response shape of
meta. Contains universe[] ({name, szDecimals, maxLeverage, marginTableId}), marginTables[], and collateralToken.Live per-perp market context, ordered to align with
meta.universe. Each entry carries funding, openInterest, markPx, oraclePx, midPx, impactPxs, premium, prevDayPx, dayNtlVlm, and dayBaseVlm.Live per-spot-pair market context. Each entry carries
coin (the spot pair symbol), markPx, midPx, prevDayPx, dayNtlVlm, dayBaseVlm, circulatingSupply, and totalSupply.The wallet’s open orders with full trigger metadata - identical to the response shape of
frontendOpenOrders. Each entry includes coin, side, limitPx, sz, oid, timestamp, triggerCondition, isTrigger, triggerPx, children, isPositionTpsl, reduceOnly, orderType, origSz, tif, and cloid.