---
title: "Prices recorded over time"
method: GET
path: "/v1/history"
---

# Prices recorded over time

`GET /v1/history`

## Request

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

Prices over time, in two parts. Before QMax started recording, points are rebuilt from the trades the network logged (QX fills and QSwap swaps): one hourly volume-weighted average per hour that had trades, marked `src: "trades"`, going back about six months. From `recordedSince` on, QMax records the price, best bid and ask and pool price each time it reads the markets (about every 10 minutes). Free; limited per IP without a key.

## Query parameters

- `asset` string, required
- `range` '1d' | '7d' | '30d' | '90d' | 'all'
- `interval` '1h' | '4h' | '1d'

## Response `200`

{ asset, range, since, recordedSince, points, candles? }

---

[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)
