curl --request POST \
--url 'https://api.hypedexer.com/info#clearinghouseState' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "clearinghouseState",
"user": "0xabc..."
}
'{}{
"error": "user or users required"
}{
"error": "Invalid API key"
}{
"error": "Upstream unreachable: connection refused"
}Clearinghouse
Get clearinghouse state
Returns the clearinghouse state for one or more users. Each user is fetched individually from the upstream Hyperliquid node.
Single user: Provide user → returns the upstream result directly.
Multi-user: Provide users array → returns a map of { address: result } for each user (fetched in parallel).
Pass dex (a HIP-3 dex name such as xyz) to read the clearinghouse of that dex: without it, only the main perp dex is returned, and HIP-3 positions do not appear. dex works with user and with users.
POST
/
info#clearinghouseState
curl --request POST \
--url 'https://api.hypedexer.com/info#clearinghouseState' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "clearinghouseState",
"user": "0xabc..."
}
'{}{
"error": "user or users required"
}{
"error": "Invalid API key"
}{
"error": "Upstream unreachable: connection refused"
}Authorizations
Body
application/json
Response
Clearinghouse state. Single user: upstream result directly. Multi-user: { address: result } map.
- Option 1
- Option 2
Single-user result (upstream response as-is)