Stats

Get user volume stats

Changed on

Get aggregated volume and fee statistics for a user within a time range

get/v1/stats/user-volume

Request

Query parameters

addressstring required

Wallet address (hex string with 0x prefix)

Wallet address (0x prefixed hex)

windowstring

Time window (1h, 24h, 7d, 2w, or "all" for lifetime). Default: 24h. Cannot be combined with start_time/end_time.

start_timestring uint64

Range start, Unix nanoseconds (inclusive). Omit for unbounded. Cannot be combined with window.

end_timestring uint64

Range end, Unix nanoseconds (exclusive). Omit to run to now. Cannot be combined with window.

Response

A successful response.

addressstring
traded_volumestring

Regular trading volume (decimal format, e.g., "1234.56"). Volume from non-liquidation matches: regular limit/market orders AND TPSL (take-profit/stop-loss) fills. Excludes liquidations.

liquidation_volumestring
total_volumestring
maker_feestring
taker_feestring
liquidation_feestring
total_feestring
trade_countinteger
windowstring
start_timestring int64
end_timestring int64

Changes

    • info

      added the new optional query request parameter end_time

    • info

      added the new optional query request parameter start_time