HomeDocumentationAPI Reference
Log In
API Reference

All User Statistics

Method Name

public/all_user_statistics

Get statistics for a specific user

Parameters

currency  string
Currency for stats

end_time  integer
End time for statistics in ms

instrument_name  string
Instrument name for stats

is_rfq  boolean
True to select only RFQs, false to ignore them

start_time  integer
Start time for statistics in ms

Response

id  string or integer required

result  array of objects required

result[]. total_base_fee  string required
Total base fee paid by the user

result[]. total_contract_fee  string required
Total contract fee paid by the user

result[]. total_fees  string required
Total fees paid by the user (total_base_fee + total_contract_fee)

result[]. total_notional_volume  string required
Total notional volume

result[]. total_premium_volume  string required
Total premium volume

result[]. total_regular_base_fee  string required
Total base fee user would have paid if they had no discounts

result[]. total_regular_contract_fee  string required
Total contract fee user would have paid if they had no discounts

result[]. total_trades  integer required
Total trades

result[]. wallet  string required
Wallet address for the user

result[]. first_trade_timestamp  integer or null
First trade timestamp

result[]. last_trade_timestamp  integer or null
Last trade timestamp

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}