marginTable | Hyperliquid Info API
Info API
marginTable | Hyperliquid Info API
Hyperliquid marginTable: fetch the margin-tier (leverage-bracket) table for a given margin table id.
POST
marginTable | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "marginTable" is used to fetch the margin-tier (leverage-bracket) table for a given margin table id.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "marginTable", "id": ...}. idis themarginTableIdreferenced by a meta universe entry (universe[].marginTableId), also listed inline inmeta.marginTables.marginTiersdescribes how the maximum leverage steps down as a position’s notional grows.
meta.marginTables.
Endpoint
Request
string
default:"marginTable"
required
Always
"marginTable".int
required
The margin table id - the
marginTableId from a meta universe entry (or an id listed in meta.marginTables).Example
Response
A single object describing the table’s description and its ordered leverage tiers.Field descriptions
string
Human-readable label for the table (for example
"tiered 40x"). May be an empty string.array<object>
Ordered leverage tiers. Each tier applies once a position’s notional reaches its
lowerBound; the highest applicable tier’s maxLeverage caps leverage for the position.Related endpoints
exchangeStatus
fetch the current exchange operational status.
liquidatable
list accounts currently eligible for liquidation.
maxBuilderFee
fetch the maximum builder fee a user has approved for a given builder.
maxMarketOrderNtls
fetch the maximum market-order notional for each leverage bucket.
validatorL1Votes
fetch the pending validator L1 governance votes/actions.