Get dYdX market orderbook
get_dydx_market_orderbookFetch live L2 bids, asks, best bid/ask, mid-price, and spread in basis points for a specified dYdX v4 perpetual market by ticker.
Instructions
Fetch live L2 bids, asks, best bid/ask, mid-price, and spread in basis points for a dYdX v4 perpetual market.
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": {
"ticker": "<ticker>"
},
"name": "get_dydx_market_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum price levels per side (1-50, default 10). | |
| ticker | Yes | dYdX perpetual market ticker (e.g. "BTC-USD", "ETH-USD"). |