POST /info/spotClearinghouseState

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/hyperliquid/info/spotClearinghouseStateCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Per-address spot token balances, holds, and entry notionals.

Parameters

nameintypedescription
userbodystrrequiredEVM address of the account.
example: 0x677d831aef5328190852e24f13c46cac05f984e7

Response

type: object
data key: balances
pagination: none
sample: {
  "balances": "array[6]"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/hyperliquid/info/spotClearinghouseState" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"user": "0x677d831aef5328190852e24f13c46cac05f984e7"}'