Orderbook tool reference
This page is the tool reference for retrieving orderbook snapshots from the Cryptohopper Market Data MCP. For the conceptual guide, see a practical guide to crypto orderbook data.
Tool name
get_orderbook
Purpose
Returns a point-in-time snapshot of the orderbook for a specified pair on a specified exchange. Contains the current resting bids and asks with price and size per level.
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| exchange | string | Yes | Exchange identifier (lowercase). |
| pair | string | Yes | Pair in BASE/QUOTE format (e.g. BTC/USDT). |
| depth | integer | No | Maximum number of levels to return per side. Default is exchange-dependent. Upper bound is upstream-dependent. |
Response schema
{
"exchange": "binance",
"pair": "BTC/USDT",
"timestamp": "2026-04-24T14:03:00Z",
"bids": [
[80934.18, 5.32816],
[80930.05, 1.10000],
[80925.40, 3.40000]
],
"asks": [
[80936.22, 1.20000],
[80940.00, 2.50000],
[80945.75, 0.80000]
]
}