Skip to main content
GET
Rolling 24-hour market VWAP

Authorizations

X-API-Key
string
header
required

Create an API key at https://developers.coinversa.ai/keys. REST limits are shared across keys by account; access uses the effective tier of the presented key.

Path Parameters

coin
string
required

Perpetual market, e.g. BTC or xyz:GOLD. Case and surrounding whitespace are normalized. Spot and outcome contracts are not supported.

Response

OK

baseVolume
number<double>
required

Base-asset volume, counting each match once (sum of both users' fill sizes divided by two).

cached
boolean
required

True when this response came from the scheduled large-market snapshot; false for an on-demand calculation.

calculatedAt
string<date-time>
required

When the calculation completed, not the newest fill time.

coin
string
required
fillRows
integer<int64>
required

Indexed per-user fill rows, normally two per match. Also used to classify expensive markets.

latestTradeAt
string<date-time> | null
required

Newest indexed fill included in this calculation. Null for an empty window; the window end alone does not establish feed freshness.

quoteVolume
number<double>
required

Quote notional, counting each match once (sum of both users' price * size divided by two).

vwap
number<double> | null
required

SUM(price * size) / SUM(size) over indexed fills in the window. Null when there is no volume; not a candle approximation or open-position entry price.

window
enum<string>
required
Available options:
24h
windowEnd
string<date-time>
required

Exclusive UTC cutoff captured before the query. Preserved on cache hits and failed refreshes.

windowStart
string<date-time>
required

Inclusive UTC start, exactly 24 hours before windowEnd.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.coinversa.ai/schemas/MarketVWAPBody.json"