# Hyperextend OHLCV Candles by Coin and Interval

> Hyperextend OHLCV Candles by Coin and Interval is a paid API for AI agents from api.hyperextend.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns per-minute OHLCV candlestick data for a given Hyperliquid asset and interval, optionally filtered by time window.

## Facts

- Endpoint: GET https://api.hyperextend.xyz/v1/candles/%7Bcoin%7D/%7Binterval%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperextend-ohlcv-candles-by-coin-and-interval-477650ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d-yddP5_QAPNv0xeLWrkc

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 hyperextend-ohlcv-candles-by-coin-and-interval-477650ee
```

Example prompt: Can you pull the last 100 1-minute OHLCV candles for BTC on Hyperliquid from the Hyperextend API?

## When to prefer this

Choose this endpoint when you need per-minute or custom-interval OHLCV candlestick data specifically from the Hyperliquid DEX, especially when querying historical windows or paginating through recent candles. Prefer over generic crypto market APIs when Hyperliquid-native price and volume data is required.

## Known failure modes

- Invalid coin symbol returns 404 or empty result
- Unsupported interval string causes 400 bad request
- start/end timestamps out of available history range returns empty array
- Missing required path params (coin or interval) returns 400
- Payment not provided or insufficient USDC results in 402 Payment Required

## How this service works

Per-minute Hyperliquid market history: open interest, candles, trades, liquidations, HIP-3, spot and outcome markets. Query any window, pay per request over x402.

## Output

A JSON object containing OHLCV fields (open, high, low, close, volume), trade count, the interval label, and open/close timestamps in milliseconds for each candle in the requested window.

## 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",
      "interval"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC"
      },
      "interval": {
       "type": "string",
       "description": "Candle interval, e.g. 1m"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "dex": {
       "type": "string"
      },
      "end": {
       "type": "integer"
      },
      "limit": {
       "type": "integer"
      },
      "start": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "c": "42080.0",
  "h": "42100.0",
  "l": "41950.0",
  "n": 340,
  "o": "42000.0",
  "v": "12.5",
  "interval": "1m",
  "open_time": 1700000000000,
  "close_time": 1700000059999
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperextend-ohlcv-candles-by-coin-and-interval-477650ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hyperextend.xyz](https://www.zero.xyz/host/api.hyperextend.xyz/llms.txt)
