perpDexLimits | Hyperliquid Info API
Info API
perpDexLimits | Hyperliquid Info API
Hyperliquid perpDexLimits: fetch the open-interest, position-size, and transfer limits for a HIP-3 perp DEX.
POST
perpDexLimits | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "perpDexLimits" is used to fetch the open-interest, position-size, and transfer limits for a HIP-3 perp DEX.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "perpDexLimits", "dex": "..."}. - The
dexfield names the HIP-3 builder-deployed perp DEX to inspect. Enumerate deployed DEX names with perpDexs. - Returns
nullfor a DEX that has no configured limits (including the empty-string native perp DEX). coinToOiCapis an array of[coin, cap]tuples; all limit values are decimal strings.
name from perpDexs as the dex field to inspect that DEX’s limits.
Endpoint
Request
string
default:"perpDexLimits"
required
Always
"perpDexLimits".string
required
The HIP-3 builder DEX name (e.g.
"xyz"). Enumerate deployed DEX names with perpDexs. An empty string selects the native Hyperliquid perp DEX, which has no configured limits and returns null.Example
Response
A single object describing the DEX’s limits, ornull when the DEX has no configured limits.
Field descriptions
All limit values are returned as decimal strings, preserving upstream precision. Do not parse them as floats - keep them as strings or use a fixed-precision decimal type.
string
Total open-interest cap across the DEX, in USD notional.
string
Open-interest size cap applied per perp on this DEX.
string
Maximum transfer notional allowed on this DEX.
array<[string, string]>
Per-asset open-interest caps, encoded as
[coin, cap] tuples. Values are decimal strings.