# Hyperliquid Markets Candles

> Hyperliquid Markets Candles is a paid API for AI agents from hyperliquid-data.v1337.org, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Fetches OHLCV candlestick data for Hyperliquid perpetual markets, computed from first-party node fills data

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/markets/candles
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-markets-candles-5d0d27e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PqjNApmNotVH4zhGL9rwj

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-markets-candles-5d0d27e6 -d '<json body>'
```

Example prompt: Pull 1-hour OHLCV candles for BTC perpetuals on Hyperliquid for the past 7 days so I can analyze recent price action.

## When to prefer this

Use this endpoint when you need first-party OHLCV candlestick data specifically for Hyperliquid perpetual markets, computed directly from the operator's own node fills ledger rather than aggregated third-party data. Prefer this over generic crypto data providers when you need Hyperliquid-native accuracy, or when building trading analytics, chart visualizations, or backtesting strategies on Hyperliquid perps.

## Known failure modes

- HTTP 402 if free quota is exhausted and no x402 USDC payment provided
- Invalid or unsupported market symbol returns an error
- Unsupported candle interval returns an error
- Time range too large may result in timeout or truncated response
- Malformed JSON body returns 400 bad request

## How this service works

Operator-neutral Hyperliquid trading intelligence — perp fills, position lifecycles, all-wallet leaderboards, trader cohorts, liquidation risk and prediction markets. Every endpoint is FIRST-PARTY: computed from our own node_fills ledger and the Hyperliquid public info API (no third-party data source). Free quota, then HTTP 402 (x402: pay-per-call in USDC, no account, no key).

## Output

Returns OHLCV candlestick records for the requested Hyperliquid perpetual market, including open, high, low, close prices and volume for each interval, computed from first-party node fill data rather than third-party sources.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "Operator-defined JSON payload. Probe the upstream or consult the operator's /openapi.json for the concrete shape.",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-markets-candles-5d0d27e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hyperliquid-data.v1337.org](https://www.zero.xyz/host/hyperliquid-data.v1337.org/llms.txt)
