← Back to directory

Use when an agent sizes a Hyperliquid market order or compares liquidity. Input:...

https://1gateway.dev/v1/crypto/hyperliquid/orderbook

Overview

Use when an agent sizes a Hyperliquid market order or compares liquidity. Input: coin (perp or HIP-3 xyz:TSLA), optional sizes_usd (up to 5, default 1000,10000,100000), levels (0-20). Output: JSON best bid/ask, spread bps, depth USD within 0.1/0.5/1/2%, imbalance, per size buy/sell average fill, worst price and slippage bps vs mid, top levels. Cached 3 s. Example: ?coin=BTC&sizes_usd=1000,10000

Protocol x402
Price $0.0036
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider Hyperliquid Orderbook Slippage
Source bazaar
Indexed 2026-11-03 00:30:42

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "coin": "BTC", "levels": 5, "sizes_usd": "1000,10000,100000" }, "type": "http" }

Output Schema

{ "example": { "as_of": "2026-11-03T00:07:04.895Z", "coin": "BTC", "depth": [ { "askUsd": 42768583, "bidUsd": 15062452, "imbalance": -0.4791, "withinPct": 0.1 } ], "dex": "main", "levels": { "asks": [ { "orders": 9, "px": 76725, "sz": 93.06508 } ], "bids": [ { "orders": 38, "px": 76724, "sz": 7.57939 } ] }, "method": "Market order walked through the visible L2 book: exact top 20 levels per side, falling back to the 3-significant-figure aggregated book (20 wider levels; depth…", "note": "Informational market data derived from public venue APIs; not financial advice.", "slippage": [ { "buy": { "avgPx": 76725, "book": "exact", "filledUsd": 1000, "fullyFilledInVisibleBook": true, "slippageBps": 0.07, "worstPx": 76725 }, "notionalUsd": 1000, "sell": { "avgPx": 76724, "book": "exact", "filledUsd": 1000, "fullyFilledInVisibleBook": true, "slippageBps": 0.07, "worstPx": 76724 } } ], "source": "Hyperliquid info API l2Book", "top": { "ask": 76725, "bid": 76724, "mid": 76724.5, "spreadBps": 0.13 }, "visibleBook": { "askUsd": 169471009, "bidUsd": 245087428, "imbalance": 0.1824, "levelsPerSide": 20, "rangePct": 5.08 } }, "type": "json" }