# Pa1m Hyperliquid Candles

> Pa1m Hyperliquid Candles 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 OHLCV candlestick data for a specified coin on the Hyperliquid perpetuals exchange

## Facts

- Endpoint: GET https://hyperliquid.hypa1m.xyz/candles/%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-candles-dc7c3648
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YMweCboPL0wjdg8q3jtRf

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-candles-dc7c3648
```

Example prompt: Pull the latest candle data for BTC on Hyperliquid perps so I can see recent price levels and action.

## When to prefer this

Choose this endpoint when you need real-time perpetuals candle or price-level data specifically from the Hyperliquid DEX. It is well-suited for AI agents performing live market analysis, algorithmic trading decisions, or monitoring price movements on Hyperliquid perp markets. Prefer this over generic crypto price APIs when Hyperliquid-specific data (e.g. its unique order book or funding rates context) is required.

## Known failure modes

- Invalid or unsupported coin symbol returns an error or empty response
- Network timeout if Hyperliquid data feed is unavailable
- Payment failure if x402 micropayment of 0.001 USDC is not fulfilled
- Rate limiting if too many requests are made in succession
- 404 if coin path parameter is malformed

## How this service works

Real-time Hyperliquid perpetuals data for AI agents.

## Output

Returns a JSON object containing price levels as an array of [price, size] pairs representing the current candle or order book state for the requested coin on Hyperliquid perpetuals (e.g. {"levels": [["67234.5", "0.1"]]}).

## 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. ETH"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "interval": {
       "type": "string",
       "description": "1m, 5m, 15m, 1h, 4h or 1d"
      },
      "lookback": {
       "type": "integer",
       "description": "Number of candles, max 5000"
      }
     }
    }
   },
   "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-candles-dc7c3648/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)
