# Candles

**Tier:** Pro

`GET /hip3-analytics/candles`

OHLCV candles for a HIP-3 coin at a configurable interval. Returns open, high, low, close, and volume data for charting. Use it to build a price chart for a HIP-3 DEX token or feed a technical analysis pipeline.

> **Note:** This endpoint may return 503 if candle computation is temporarily disabled.

---

## Authentication

Requires Pro tier or higher. Free and Dev tiers do not have access (returns 403).

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `coin` | string | Yes | Coin identifier in `dex:symbol` format, e.g. `hyperliquid_dex:BTC`. |
| `interval` | string | No | Candle interval. Defaults to `1h`. |
| `start` | string (ISO 8601) | No | Start timestamp. Defaults to the HIP-3 start date. Legacy `start_time` milliseconds is accepted until July 21, 2026. |
| `end` | string (ISO 8601) | No | End timestamp. Legacy `end_time` milliseconds is accepted until July 21, 2026. |
| `limit` | integer | No | Maximum candles to return. Defaults to 500. |

## Example request

```bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/hip3-analytics/candles?coin=hyperliquid_dex:BTC&interval=1h&limit=24"
```

## Example response

```json
{
  "success": true,
  "coin": "hyperliquid_dex:BTC",
  "interval": "1h",
  "data": [
    {
      "timestamp": "2026-06-08T00:00:00Z",
      "open": 70900.00,
      "high": 71400.00,
      "low": 70750.00,
      "close": 71200.00,
      "volume": 4800000
    },
    {
      "timestamp": "2026-06-08T01:00:00Z",
      "open": 71200.00,
      "high": 71600.00,
      "low": 71100.00,
      "close": 71450.00,
      "volume": 5100000
    }
  ]
}
```

## Errors

- `403` — Your tier does not have access. Upgrade to Pro.
- `503` — Candle computation is temporarily unavailable.

## Related

- [Symbol Timeseries](/docs/api/hip3-analytics/symbol-timeseries)
- [DEX Detail](/docs/api/hip3-analytics/dex-detail)
