# Hyperliquid Orderbook Data

> Hyperliquid Orderbook Data is a paid API for AI agents from klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Fetches the current order book (bids, asks, spread, and mid price) for a given coin on Hyperliquid DEX

## Facts

- Endpoint: GET https://klymax402.com/api/hyperliquid-data/api/orderbook
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-orderbook-data-6917aed3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n7TCYJf-EaMCwVjKHqhc0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hyperliquid-orderbook-data-6917aed3
```

Example prompt: Pull the current Hyperliquid order book for BTC and tell me the best bid, best ask, spread, and mid price.

## When to prefer this

Choose this endpoint when you need real-time Hyperliquid DEX order book data including bids, asks, spread, and mid price for a specific coin, especially within a broader agent workflow that already uses the klymax402 multi-API gateway and pays per call in USDC on Base. Ideal for pre-trade analysis, liquidity checks, or arbitrage detection on Hyperliquid without managing a separate API key.

## Known failure modes

- Unsupported or misspelled coin symbol returns empty or error response
- Network timeout if Hyperliquid data feed is slow or unavailable
- Missing required 'coin' query parameter causes request failure
- Illiquid or newly listed coins may return sparse or empty order book arrays

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing arrays of bids and asks (each with price and size levels), the coin symbol, the current spread, and the mid price for the requested market on Hyperliquid DEX.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Coin symbol (e.g. BTC, ETH, SOL, ARB, DOGE)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asks": [],
  "bids": [],
  "coin": "example",
  "spread": 1,
  "midPrice": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-orderbook-data-6917aed3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
