Skip to main content

Get Taker Buy/Sell Volume

Get Taker Buy/Sell Volume​

Get historical taker buy and sell volume data for contract products.

Request URL​

GET /deepcoin/market/taker-volume

Request Parameters​

Field NameRequiredTypeDescription
instIdtruestringContract product ID, for example BTC-USDT-SWAP
barfalsestringTime granularity
Default: 5m
Supported values: 5m, 15m, 30m, 1H, 4H, 1D
startTimefalseintegerStart timestamp in milliseconds. When only startTime is provided, data with ts >= startTime is returned
endTimefalseintegerEnd timestamp in milliseconds. When only endTime is provided, data with ts <= endTime is returned
limitfalseintegerMaximum number of results is 300
Default: 100

If neither startTime nor endTime is provided, the latest data is returned. Data is sorted by ts in descending order.

Response Parameters​

Field NameTypeDescription
tsstringTimestamp in milliseconds
buyVolstringTaker buy volume, contract count
sellVolstringTaker sell volume, contract count

Response Example​

{
"code": "0",
"msg": "Success",
"data": [
{
"ts": "1781222400000",
"buyVol": "21854633",
"sellVol": "20099842"
}
]
}