Hyperliquid perp markets and HIP-3 dexs: listings, leverage, OI caps, volume, funding rates
hl_marketsUse when an agent lists what trades on Hyperliquid or ranks every perp by funding rate. Input: optional dex (main, xyz, flx...), sort (oi, volume, leverage, name, funding, funding_neg, funding_abs; funding sorts default to dex=main), limit (1-200). Output: JSON without dex: core and HIP-3 totals and every dex; with dex: each market's funding (hourly % and APR), mark, OI, volume, 24 h change, max leverage, OI cap use. Example: ?sort=funding&limit=20 Price: $0.002 USDC (Base or Solana) via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hl_markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | HIP-3 dex name (xyz, flx, vntl, km...) or main for core perps; omit for the dex overview. Unknown dex: 400 before payment | |
| sort | No | Market order (default oi). funding = highest funding first, funding_neg = most negative, funding_abs = largest |funding|; funding sorts use dex=main when dex is omitted | |
| limit | No | Markets returned with dex (1-200, default 50) |