Hyperliquid Get Markets
Get all available perpetual markets on Hyperliquid with trading parameters. Returns coin symbols, size decimals, max leverage, margin mode, and the current mid price for each market. Pass dex='xyz' for trade.xyz TradFi markets (stocks, indices, commodities). Ideal for: building coin selectors, validating trading pairs, checking market parameters, and valuing an asset-sized order (size x midPrice) in USD.
Catalog action Hyperliquid
Get all available perpetual markets on Hyperliquid with trading parameters. Returns coin symbols, size decimals, max leverage, margin mode, and the current mid price for each market. Pass dex='xyz' for trade.xyz TradFi markets (stocks, indices, commodities). Ideal for: building coin selectors, validating trading pairs, checking market parameters, and valuing an asset-sized order (size x midPrice) in USD.
At a Glance
| Field | Value |
|---|---|
| Action ID | hyperliquid-get-markets |
| Category | Hyperliquid |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | hyperliquid, perps, trading |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
dex | string | No | HIP-3 DEX name for TradFi markets. Omit for standard crypto perps. xyz = trade.xyz (stocks, indices, commodities), flx = flx.finance, vntl = vntl.exchange |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
markets | array | Yes | Available perpetual markets on Hyperliquid |
Examples
json{ "type": "hyperliquid-get-markets", "payload": { "dex": "xyz" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/hyperliquid-get-markets/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "dex": "xyz" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
