POST /info/marginTable
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/hyperliquid/info/marginTableCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeMaintenance margin tier ladder for a specific marginTableId.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | body | int | required | Numeric margin table ID from /info/meta. example: 1 |
Response
type: object
data key: marginTiers
pagination: none
sample: {
"description": "str",
"marginTiers": "array[1]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/hyperliquid/info/marginTable" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"id": 1}'