Skip to main content
HyperliquidPolymarket
POST/info

Request Headers

string
required
Must be application/json
string
Signature proving you own user. Without it, data is 20 seconds old.

Request Body

string
required
Must be "spotClearinghouseState"
string
required
User’s 20-byte EVM wallet address.

Response

Response Fields

string
Lowercase user wallet address
number
Snapshot time in Unix milliseconds.
object[]
Each item is a spot balance or prediction share. The array can contain both.

Spot balances

"spot"
string
Canonical unprefixed Notional AssetId
string
Display symbol, such as USDC or pUSD
number
optional
Hyperliquid token index.
string | null
Net owned quantity across account scopes, including segregated funds and commitments, after debt. USDC includes position PnL and isolated equity; can be negative. null when this asset’s ownership cannot be valued.
string | null
Net ownership minus nonnegative available margin for USDC, available buying power for pUSD, or available cash for other spot assets. In asset units; can be negative, or null when ownership or capacity is unavailable.
string
Total liability, including projected interest
string
optional
pUSD only: signed cash reservations minus total debt.
string
optional
pUSD only: unreserved supplier balance, floored at zero.
string
Gross cross cash before debt, in the asset’s units. Excludes isolated equity and committed funds.
string
Cash reserved for orders and pending operations.
string
Accepted cash available after live holds
string
Funds segregated after a rejected deposit
string
Asset quantity committed to pending operations.
string
Fraction of this asset’s USD value recognized as collateral; "0" means no collateral value and "0.9" means 90%.
object
Stored cash debt and total payoff liability, as decimal strings in this asset’s units.
object
optional
pUSD trading-capacity estimate from the serving node’s account, pool, price, and policy inputs. Public reads use delayed state. This estimate remains available independently of live custody readiness; order funding checks current custody and financial constraints.
"outcome"
string
"hyperliquid" or "polymarket"
string
Canonical unprefixed AssetId of this prediction outcome.
string
Same value as assetId.
string
Hyperliquid: <outcome name> <side name> when metadata is available, otherwise HL_Outcome:<hlEncoding>. Polymarket: PM_Outcome:<tokenId>.
string | null
Hyperliquid: same value as coin, or null when outcome metadata is unavailable. Polymarket: null.
string
Total outcome shares as a decimal string.
string
Shares reserved for orders and pending operations
string
Always "0".
string | null
Cost basis in USDC for Hyperliquid or pUSD for Polymarket; null when unknown. From protocol config version 5, a Polymarket split books half of its pUSD amount on each leg; legs of earlier splits stay null.
number
Hyperliquid only: native encoding of the outcome side.
number | string | null
Hyperliquid: numeric question ID. Polymarket: bytes32 question ID. null when unavailable.
number | null
Hyperliquid only: numeric outcome ID, or null when unavailable.
number | null
Side within the market’s canonical outcome order, or null when unavailable.
string
Polymarket only: decimal ERC-1155 outcome-token ID.
string | null
Polymarket only: bytes32 condition ID, or null when the condition is unbound.
string
optional
Polymarket only: open, resolved, closed, or quarantined.
boolean
optional
  • true: This market currently accepts a sell of the whole holding below the market minimum. Advisory; order admission checks eligibility again.
  • false: Not returned; the field is omitted when disabled.