---
title: "How far apart QX and QSwap priced a token, hour by hour, and how often the gap would have paid after fees"
method: GET
path: "/v1/premium"
---

# How far apart QX and QSwap priced a token, hour by hour, and how often the gap would have paid after fees

`GET /v1/premium`

## Request

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

Built from the trade index (what was actually paid on each venue, hourly volume-weighted prices). `premiumPct` is (QSwap - QX) / QX * 100, so positive means QSwap was dearer. `points` are averages over `barMs`; `summary` is computed from the individual hours. 'Profitable' is an indication from hourly averages, not a guarantee: it ignores the QX spread, order book depth, slippage and that the legs are separate transactions. `profitableDeepShare` is the same indication counting only hours in which at least `referenceQu` traded on each venue. For a token that trades on one venue only, `points` is empty and `bothVenues` is false.

## Query parameters

- `asset` string, required
- `range` '7d' | '30d' | '90d' | 'all'
- `referenceQu` number
- `carry` integer

## Response `200`

The premium series and its summary

## Other responses

- `400`: A parameter is out of range
- `404`: Unknown asset

---

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