Skip to navigation

Get contracts open interest and volume

Retrieve the total open interest and trading volume of futures and perpetual swap contracts for a currency over the requested time window.

Query parameters

ccystringRequired
Currency, e.g. BTC.
beginstringOptional
Begin time, Unix timestamp in milliseconds, e.g. 1597026383085.
endstringOptional
End time, Unix timestamp in milliseconds, e.g. 1597026683085.
periodenumOptional
Bar size, the default is 5m.
Allowed values:

Response

Successful response
codestringOptional

Result code. 0 means success; any other value is an error code.

msgstringOptional
Error message. Empty on success.
datalist of lists of anyOptional