# Hyperliquid Orderbook API

> Hyperliquid Orderbook API is a paid API for AI agents from kite-endpoints.vercel.app, paid per call via x402, $0.19/call, status unknown (last checked 2026-09-15).

Fetches the current orderbook (bids and asks) for a trading pair on the Hyperliquid decentralized perpetuals exchange

## Facts

- Endpoint: POST https://kite-endpoints.vercel.app/api/hyperliquid-orderbook
- Price: $0.19/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-orderbook-api-448a8f0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w0DmQGOmPnJccKzrsVZLY

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-api-448a8f0b -d '<json body>'
```

Example prompt: Pull the current Hyperliquid orderbook for BTC-PERP and show me the top 10 bid and ask levels so I can assess the market depth before placing a trade.

## When to prefer this

Use this endpoint when you need real-time orderbook data specifically from Hyperliquid's decentralized perpetuals exchange, particularly when evaluating market depth, spread, or liquidity for a specific trading pair before executing a trade or running arbitrage strategies. Prefer this over generic crypto price feeds when you need full order-level granularity rather than just a last-traded price.

## Known failure modes

- Invalid or unsupported trading pair returns an error or empty result
- Hyperliquid API downtime causes upstream failures
- Payment of 0.19 USDC not fulfilled causes 402 rejection
- Rate limiting if called too frequently
- Stale data if Hyperliquid orderbook feed is delayed

## How this service works

400+ paid API endpoints. Social media, AI, crypto, finance, weather, ecommerce, tools. Pay per request with USDC on Base chain.

## Output

Returns a structured orderbook object containing arrays of bids and asks for the requested Hyperliquid perpetual market, each entry including price level and size, allowing agents to assess liquidity, spread, and market depth in real time.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-orderbook-api-448a8f0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kite-endpoints.vercel.app](https://www.zero.xyz/host/kite-endpoints.vercel.app/llms.txt)
