# 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.002/call, status unknown (last checked 2026-09-15).

Returns the most-recent N OHLCV (Open, High, Low, Close, Volume) candles for a given asset and interval.

## Facts

- Endpoint: GET https://api.hyperextend.xyz/v1/candles/BTC/1m/latest
- Price: $0.002/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-10693c46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_52QRDHT8MZxj_9n1gpJJA

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-10693c46
```

Example prompt: Can you grab the last 20 one-minute OHLCV candles for BTC so I can see the recent price action?

## When to prefer this

Use this endpoint when you need the most recent N candles for a crypto asset at a specific interval and do not need to specify a historical time window. Prefer this over the windowed candles endpoint when you simply want the latest data without specifying start/end timestamps.

## Known failure modes

- Invalid coin symbol returns an error or empty result
- Unsupported interval string returns a bad request error
- n parameter out of range may return an error or be clamped
- DEX filter for an unsupported exchange returns empty data
- Payment not provided or insufficient triggers a 402 Payment Required response

## How this service works

The most-recent N OHLCV candles (≤5000). Same per-row pricing as the windowed read ($0.00001 base for main/spot, $0.000025 premium for HIP-3/HIP-4); candles lag ~2 days.

## Output

An array of the most-recent N OHLCV candle objects for the specified asset (e.g. BTC) and interval (e.g. 1m), each containing open, high, low, close, and volume values along with a timestamp. Optionally filtered by DEX.

## Example request

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

## 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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperextend-latest-ohlcv-candles-10693c46/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)
