Skip to main content
POST
marginTable | Hyperliquid Info API

Credit Cost

1 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "marginTable" is used to fetch the margin-tier (leverage-bracket) table for a given margin table id.
Estimate your monthly cost for this API using the Pricing Calculator.
  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "marginTable", "id": ...}.
  • id is the marginTableId referenced by a meta universe entry (universe[].marginTableId), also listed inline in meta.marginTables.
  • marginTiers describes how the maximum leverage steps down as a position’s notional grows.
Returns a single margin-tier table by id. Each tier gives the lower notional bound at which it applies and the maximum leverage allowed within that tier, so maximum leverage decreases as a position’s notional grows. This is the standalone lookup for the same tables embedded in 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.
Last reviewed: 2026-07-24