HomeDocumentationAPI Reference
Log In
API Reference

Statistics

Method Name

public/statistics

Get statistics for a specific instrument or instrument type

Parameters

instrument_name  string required
Instrument name or 'ALL', 'OPTION', 'PERP', 'SPOT'

currency  string
Currency for stats

end_time  integer
End time for statistics in ms

Response

id  string or integer required

result  object required

result. daily_fees  string required
24h Fees

result. daily_notional_volume  string required
24h Notional volume

result. daily_premium_volume  string required
24h Premium volume

result. daily_trades  integer required
24h Trades

result. open_interest  string required
Open interest

result. total_fees  string required
Total fees

result. total_notional_volume  string required
Total notional volume

result. total_premium_volume  string required
Total premium volume

result. total_trades  integer required
Total trades

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}