# Pa1m Hyperliquid Orderbook

> Pa1m Hyperliquid Orderbook is a paid API for AI agents from hyperliquid.hypa1m.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Fetches real-time order book (bid/ask price levels and sizes) for a specified Hyperliquid perpetuals market coin.

## Facts

- Endpoint: GET https://hyperliquid.hypa1m.xyz/orderbook/%7Bcoin%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pa1m-hyperliquid-orderbook-d077c0c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__-R0JsGwussOff5TtPGME

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 pa1m-hyperliquid-orderbook-d077c0c6
```

Example prompt: What does the current order book look like for BTC on Hyperliquid perpetuals — show me the price levels and sizes on both the bid and ask side.

## When to prefer this

Use this endpoint when you need real-time Hyperliquid-specific perpetuals order book data — particularly when you care about the exact Hyperliquid venue (rather than aggregated multi-exchange data), need per-level price and size detail for slippage estimation, or are building trading logic that executes directly on Hyperliquid.

## Known failure modes

- Invalid or unsupported coin symbol returns an error or empty levels array
- Payment of 0.001 USDC not provided results in HTTP 402 Payment Required
- Network latency may cause slightly stale data in fast-moving markets
- Hyperliquid exchange downtime results in upstream unavailability

## How this service works

Real-time Hyperliquid perpetuals data for AI agents.

## Output

Returns a JSON object containing an array of order book levels, each represented as a [price, size] pair (e.g. [["67234.5","0.1"]]), representing the current bids and asks in the specified Hyperliquid perpetuals market.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Coin ticker, e.g. BTC"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "levels": [
   [
    "67234.5",
    "0.1"
   ]
  ]
 }
}
```

## More

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