---
title: "Candles of the QU price in dollars"
method: GET
path: "/v1/qu/candles"
---

# Candles of the QU price in dollars

`GET /v1/qu/candles`

## Request

- Base URL: `https://qmax.exchange/api`
- URL: `https://qmax.exchange/api/v1/qu/candles`
- Auth: none declared

Open, high, low and close of one QU in US dollars. Without `interval` they are CoinGecko's, 30 minutes wide for `1d`, 4 hours for `7d` and `30d`, and 4 days beyond (`intervalMs` says which). With `interval` they are exchange candles from the QUBIC/USDT market on MEXC (Gate.io if MEXC cannot be reached) at that width, each with `v`, the QU traded in it; an answer holds at most the latest 5,000 (`truncated` says when there were more).

## Query parameters

- `range` '1d' | '7d' | '30d' | '90d' | '1y' | 'all'
- `interval` '1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '1d'

## Response `200`

{ range, intervalMs, candles: [{ t, o, h, l, c }] }, or with `interval`: { range, interval, intervalMs, truncated, candles: [{ t, o, h, l, c, v }] }

## Other responses

- `400`: Invalid range or interval
- `503`: No candles right now

---

[API](https://skmtc.dev/qmax/apis/qmax-api.md) · [All operations](https://skmtc.dev/qmax/apis/qmax-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qmax/apis/qmax-api/revisions/af70e2813a7a?raw)
