You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet.
info
endpoint with type: "batchClearinghouseStates"
retrieves perpetuals account summaries for multiple users in one call. Use this to efficiently fetch positions, margin usage, and account values across many addresses.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
Request body
type
(string, required) — Must be"batchClearinghouseStates"
.users
(array of strings, required) — One or more onchain addresses in 42‑character hexadecimal format.dex
(string, optional) — Perp dex name. Defaults to the empty string which represents the first perp dex.
Example request
Shell
Response
Returns an array. Each item matches theclearinghouseState
schema with fields like assetPositions
, marginSummary
, crossMarginSummary
, time
, and withdrawable
.
Example response
Use cases
- Fetch multiple users’ perpetuals states for portfolio screens or multi‑account dashboards.
- Power backtesting or analytics jobs that require snapshots across many addresses.
- Reduce API round trips by batching reads.
Body
application/json
Request type to retrieve multiple users' perpetuals account summaries
Available options:
batchClearinghouseStates
Example:
"batchClearinghouseStates"
Array of onchain addresses in 42-character hexadecimal format
Minimum length:
1
Example:
[
"0x5e9ee1089755c3435139848e47e6635505d5a13a",
"0xb7b6f3cea3f66bf525f5d8f965f6dbf6d9b017b2"
]
Perp dex name. Defaults to empty string which represents the first perp dex
Example:
""