# Hyperextend Latest OHLCV Candles

> Hyperextend Latest OHLCV Candles 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 the most recent OHLCV (open/high/low/close/volume) candle(s) for a given Hyperliquid asset and interval

## Facts

- Endpoint: GET https://api.hyperextend.xyz/v1/candles/%7Bcoin%7D/%7Binterval%7D/latest
- 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-latest-ohlcv-candles-f0bbc558
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-yvZqUDbvDrPb-x30c5t9

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-latest-ohlcv-candles-f0bbc558
```

Example prompt: Pull the latest 5 one-minute OHLCV candles for BTC on Hyperliquid so I can see the most recent price action.

## When to prefer this

Use this endpoint when you need the freshest available candle data for a Hyperliquid asset without specifying a historical time window — ideal for real-time monitoring, dashboards, or triggering alerts based on the latest price action. Prefer over the windowed candles endpoint when you only need the most recent N candles.

## Known failure modes

- Invalid coin symbol returns 404 or empty result
- Unsupported interval string returns 400 error
- Missing required path params (coin or interval) returns 400
- Payment not provided or insufficient returns 402 Payment Required
- Rate limiting or network errors return 5xx

## 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 the most recent OHLCV candle(s) for the requested asset and interval, including open, high, low, close prices, volume, trade count (n), and open/close timestamps in milliseconds.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "coin": "BTC",
   "interval": "1m"
  },
  "queryParams": {
   "n": 5
  }
 }
}
```

## 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": {
      "n": {
       "type": "integer"
      },
      "dex": {
       "type": "string"
      }
     }
    }
   },
   "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-latest-ohlcv-candles-f0bbc558/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)
