{"slug":"1gateway-dev-v1-crypto-hyperliquid-orderbook-c70a71","title":"Use when an agent sizes a Hyperliquid market order or compares liquidity","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/crypto/hyperliquid/orderbook","category":"market","description":"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, wor","price_listed":0.0036,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"coin":"BTC","levels":5,"sizes_usd":"1000,10000,100000"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"coin":{"description":"Hyperliquid perp symbol (BTC, ETH, kPEPE) or HIP-3 dex:COIN (xyz:TSLA). Not listed or delisted: 400…","pattern":"^([a-z][a-z0-9]{0,9}:)?[A-Za-z0-9]{1,20}$","type":"string"},"levels":{"default":10,"description":"Book levels per side to return (0-20, default 10)","maximum":20,"minimum":0,"type":"integer"},"sizes_usd":{"description":"1-5 comma-separated order notionals in USD, 10 to 50,000,000 (default 1000,10000,100000)","maxLength":80,"pattern":"^[0-9.]+(,[0-9.]+){0,4}$","type":"string"}},"required":["coin"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"as_of":{"type":"string"},"coin":{"type":"string"},"depth":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"dex":{"type":"string"},"levels":{"additionalProperties":true,"properties":{"asks":{"type":"array"},"bids":{"type":"array"}},"type":"object"},"slippage":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"top":{"additionalProperties":true,"properties":{"ask":{"type":"integer"},"bid":{"type":"integer"},"mid":{"type":"number"},"spreadBps":{"type":"number"}},"type":"object"},"visibleBook":{"additionalProperties":true,"properties":{"askUsd":{"type":"integer"},"bidUsd":{"type":"integer"},"imbalance":{"type":"number"},"levelsPerSide":{"type":"integer"},"rangePct":{"type":"number"}},"type":"object"}},"required":["coin","dex","as_of","top","visibleBook","depth","slippage","levels"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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","last_updated":"2026-11-23T01:00:32.696Z","schemes":["exact"]}