long_short_ratio
[Trading Data API] Binance long/short ratios: global account, top-trader account, top-trader position, and taker buy/sell. Companion to funding-oi.
Example: /v1/long-short-ratio?symbol=BTC&period=1h
Use when you want Binance positioning ratios (global accounts, top traders, taker buy/sell). Not for funding or open interest (use funding_oi).
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "long_short_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Optional. One of 5m,15m,30m,1h,2h,4h,6h,12h,1d (default 5m). | |
| symbol | Yes | Required. Base crypto symbol (e.g. BTC). Mapped to <SYMBOL>USDT. |