How to query HIP-3 markets from the Hyperliquid API
Every HIP-3 DEX and market is readable from the same free public info endpoint as core perps. You pass a dex name and use qualified coin names.
Direct answer
Send POST requests to https://api.hyperliquid.xyz/info. No API key is needed. Call perpDexs to list every builder DEX, then call metaAndAssetCtxs with "dex": "<name>" for that DEX's markets, prices, funding, and open interest. HIP-3 markets use qualified names such as xyz:SKHY, and anything keyed by coin (funding history, candles, order books) takes that qualified name. Omitting dex, or passing an empty string, returns the core DEX.
HIP-3 info requests
From the official perpetuals info-endpoint reference, reviewed September 26, 2026.
| type | Parameters | Returns |
|---|---|---|
| perpDexs | none | Every perp DEX with name, full name, deployer, oracle updater, fee recipient, per-asset open-interest caps, and funding multipliers. The first entry is the core DEX. |
| meta | dex (optional, "" = core) | Asset universe for one DEX: qualified names such as xyz:SKHY, size decimals, max leverage, margin tables, growth mode, deployer fee scale, and collateral token. |
| metaAndAssetCtxs | dex (optional, "" = core) | Metadata plus live contexts: mark, oracle, and mid price, funding, open interest, premium, impact prices, and 24h notional and base volume. |
| allPerpMetas | none | Metadata for every perp DEX in one call. |
| perpDexLimits | dex (required, "" not allowed) | DEX-wide open-interest cap, per-perp cap, max transfer notional, and per-coin caps. Builder DEXs only. |
| perpDexStatus | dex (optional) | Total net deposit for the DEX. |
| perpsAtOpenInterestCap | dex (optional) | Coins currently at their open-interest cap. |
| perpCategories | none | [coin, category] pairs, for example stocks or commodities. |
| fundingHistory | coin, startTime, endTime | Hourly funding and premium. Use the qualified coin, such as "xyz:SKHY". |
| clearinghouseState | user, dex (optional) | One account's positions and margin on one DEX. Query each DEX separately. |
predictedFundings only covers the core DEX.
Examples
List every perp DEX, including deployers and caps:
curl -s https://api.hyperliquid.xyz/info \
-H 'content-type: application/json' \
-d '{"type":"perpDexs"}'Live prices, funding, and open interest for every market on one DEX:
curl -s https://api.hyperliquid.xyz/info \
-H 'content-type: application/json' \
-d '{"type":"metaAndAssetCtxs","dex":"xyz"}'Hourly funding history for one HIP-3 market:
curl -s https://api.hyperliquid.xyz/info \
-H 'content-type: application/json' \
-d '{"type":"fundingHistory","coin":"xyz:SKHY","startTime":1758240000000}'Each call returned at most 500 rows in our testing. To page, send the next request with startTime set just after the last row's time.
Loop over every DEX and print each market (JavaScript):
const info = (body) =>
fetch("https://api.hyperliquid.xyz/info", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify(body),
}).then((response) => response.json());
const dexs = (await info({ type: "perpDexs" })).filter(Boolean);
for (const dex of dexs) {
const [meta, contexts] = await info({ type: "metaAndAssetCtxs", dex: dex.name });
meta.universe.forEach((asset, index) => {
const ctx = contexts[index];
console.log(asset.name, ctx.markPx, ctx.openInterest, ctx.funding);
});
}meta.universe and the contexts array share the same order, so match them by index. Skip entries marked isDelisted.
HIP-3 asset IDs for orders
Order and cancel actions take an integer asset ID, not a name. The official rule for builder-deployed perps is 100000 + perp_dex_index × 10000 + index_in_meta, where perp_dex_index is the DEX's position in the perpDexs response and index_in_meta is the asset's position in that DEX's meta universe. The docs' testnet example: DEX index 1, asset index 0 gives 110000. Core perps use their plain meta index (BTC is 0), and spot uses 10000 plus the spot index.
WebSocket subscriptions
On wss://api.hyperliquid.xyz/ws, the allMids, clearinghouseState, openOrders, and twapStates subscriptions accept a dex field. Coin-keyed feeds such as l2Book, trades, candle, and activeAssetCtx take only a coin, so pass the qualified HIP-3 name.
HIP-4 outcome markets
Outcome market metadata comes from the outcomeMeta info request. Outcome asset IDs follow 100_000_000 + (10 × outcome + side), where side is 0 or 1. Outcome 1, side 0 is asset 100000010. HypeBasis reads the same request for its live HIP-4 outcome board.
Rate limits and free datasets
The info endpoint is rate-limited by request weight per IP, so cache static calls such as perpDexs and meta instead of polling them. Check the official rate-limit page for current weights.
If you need history rather than a live read, HypeBasis publishes free CSVs built from the same official endpoints: the HIP-3 cap and configuration history and the market history dataset of price, funding, and open interest.
Related HIP-3 pages
Sources
6 references · ExpandCollapse
- Hyperliquid Docs: Perpetuals info endpointAccessed 2026-09-04Supports: Core and HIP-3 perpetual DEX discovery, current market contexts including rolling dayNtlVlm, perpetual metadata, funding history, predicted funding, DEX and market limits, DEX status, configuration metadata, clearinghouse state, and open-interest cap fields.
- Hyperliquid Docs: Asset IDsAccessed 2026-08-26Supports: Official outcome-side asset-id encoding used to map Yes and No side assets to public price and order-book endpoints.
- Hyperliquid Docs: WebSocket subscriptionsAccessed 2026-08-25Supports: The trades subscription and its coin, side, price, size, timestamp, and trade-ID fields.
- Hyperliquid Docs: Rate limits and user limitsAccessed 2026-09-04Supports: Current REST request-weight, WebSocket, and user-limit constraints for public-data tooling.
- Hyperliquid Docs: HIP-3 builder-deployed perpetualsAccessed 2026-09-04Supports: HIP-3 builder-deployed perp mechanics, deployer responsibilities, 500,000 HYPE staking requirement, minimum stake duration, deployment rules, configurable fees, settlement, oracle duties, slashing risk, cross margin, and backstop liquidation.
- QuickNode Docs: Hyperliquid outcome market metadataAccessed 2026-05-30Supports: Hyperliquid outcome metadata endpoint shape and technical interpretation boundaries.