v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-2856132182.6 KB
Account

Get Account Statistics

Returns historical snapshots of equity, PnL, volume, and ROI. When step is omitted, raw snapshots are returned, otherwise time bucketed by day/week/month. Optional sub_account_address: when set, the result includes only specified subaccount, otherwise all of the user's subaccounts;. Default limit 100, max 1000.

get/api/v1/account/statistics

Query parameters

sub_account_addressstring nullable
start_timestring date-time nullable
end_timestring date-time nullable
step'hour' | 'day' | 'week' | 'month' nullable

Temporal resolution for statistics. Single-letter shorthands are allowed(h/d/w/m).

limitinteger nullable
sorting_order'asc' | 'desc' nullable

Sort direction for account statistics snapshots (older/newer first).

Response

Account statistics