---
title: "Buy versus sell pressure over the last hour or 24 hours, from the live trade tape"
method: GET
path: "/v1/flow"
---

# Buy versus sell pressure over the last hour or 24 hours, from the live trade tape

`GET /v1/flow`

## Request

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

Volume in QU and units, and number of trades, that were buys and sells, and the net pressure (buy QU minus sell QU, over their sum: +1 all buying, -1 all selling, null if nothing with a known direction traded). Direction is that of the party who started the trade. Trades whose direction is not known are counted in `unknown` and left out of the pressure. `partial` is true when the tape has not covered the whole window yet (it was started or refilled later).

## Query parameters

- `asset` string
- `window` '1h' | '24h'
- `venue` 'QX' | 'QSwap'

## Response `200`

{ asset, venue, window, sinceMs, buy, sell, unknown, trades, netQu, pressure, partial, coveredFromMs }

## Other responses

- `400`: Invalid input
- `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)
