Order book depth and spread on every perp DEX
depthBest bid/ask, spread in bps and the USD resting within 0.5% and 1% of mid on each side, for every live perp DEX order book. Use it before a large order to see how much each book can absorb; the cost of a given size comes from trading_cost.
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": {
"pair": "<pair>"
},
"name": "depth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Base asset of the perpetual, e.g. BTC |