Crypto order book, Hyperliquid: bids, asks, spread and depth of a perp

$0.01 per call · failed calls are never charged · no account or API key needed

Live order book of a Hyperliquid perpetual (BTC, ETH, SOL, HYPE…): the best bid and ask levels with price, size and order count, the mid price, the spread in USD and basis points, and the summed depth on each side. Up to 20 levels a side (default 10). Read from Hyperliquid's public API. Use to judge liquidity and slippage before a trade, or for market-making and arbitrage checks.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Try it with your own inputs

Coin symbol such as BTC, ETH, SOL or HYPE (default BTC)

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
coinstringCoin symbol such as BTC, ETH, SOL or HYPE (default BTC)
levelsintegerLevels per side, 1-20 (default 10)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/orderbook?coin=BTC"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/orderbook?coin=BTC&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "coin": "BTC",
  "time": "2026-10-23T13:24:02.893Z",
  "mid": 81870.5,
  "spread": 1,
  "spreadBps": 0.12,
  "bids": [
    {
      "px": 81870,
      "sz": 3.89437,
      "n": 22
    }
  ],
  "asks": [
    {
      "px": 81871,
      "sz": 1.2,
      "n": 4
    }
  ],
  "bidDepth": 12.3,
  "askDepth": 9.8,
  "bidDepthUsd": 1007000,
  "askDepthUsd": 802000,
  "source": "Hyperliquid public info API"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is hyperliquid_orderbook, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools