A level-2 order book snapshot for a Coinbase pair: best bid
crypto_orderbookA level-2 order book snapshot for a Coinbase pair: best bid and ask, mid price, spread in price and basis points, and the top bids and asks up to depth 50. It is a snapshot, not a quote: prices move between calls. Information only, not financial advice. Related tools on this server, for a different need: crypto_candles when you need OHLCV candles for a Coinbase trading pair at 1m, 5m, 15m; crypto_indicators when you need Technical indicators for one crypto pair and interval. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": "crypto_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Coinbase product, e.g. BTC-USD | |
| depth | No | 1 to 50 levels per side (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mid | No | ||
| asks | No | ||
| bids | No | ||
| pair | No | ||
| depth | No | ||
| source | No | ||
| spread | No | ||
| bestAsk | No | ||
| bestBid | No | ||
| checkedAt | No | ||
| spreadBps | No | ||
| disclaimer | No |