Taker Buy/Sell Volume
Type: NONE
Weight: 1
GET /futures/data/takerlongshortRatio
Taker buy vs sell volume by time bucket. Public endpoint: no X-MBX-APIKEY, timestamp or signature required.
Request
GET /futures/data/takerlongshortRatio?symbol=BTCUSDT&period=5m&limit=30
Query params
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
symbol | string | yes | — | |
period | string | no | 5m | 5m 15m 30m 1h 2h 4h 6h 12h 1d |
limit | integer | no | 30 | max 500 |
startTime / endTime | long | no | — | Ignored. |
Response — 200
[
{
"buySellRatio": "1.2345",
"buyVol": "100.50",
"sellVol": "81.45",
"timestamp": "1714261200000"
}
]
Sparky approximates buy/sell pressure by grouping traded value by trades.side; Binance groups by the taker side. Expect small differences.
Errors
| HTTP | code | msg |
|---|---|---|
400 | -1120 | Invalid period. |
400 | -1121 | Invalid symbol. |