# BlockRun Exchange Order Book Depth

> BlockRun Exchange Order Book Depth is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0085/call, status unknown (last checked 2026-09-14).

Returns the current order book depth (bids and asks) for a given trading pair on a centralized exchange.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/surf/exchange/depth
- Price: $0.0085/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-exchange-order-book-depth-7a9fbf75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K3xmT_YH9hlkWEyX_So8z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockrun-exchange-order-book-depth-7a9fbf75
```

Example prompt: Pull the current order book depth for BTC/USDT so I can see the bid and ask levels before deciding on my trade size.

## When to prefer this

Use this endpoint when you need real-time order book depth data for a centralized exchange trading pair — particularly for pre-trade analysis, spread monitoring, or liquidity assessment. Prefer this over OHLCV endpoints when you need current bids/asks rather than historical price data, and over book ticker endpoints when you need full depth levels rather than just the top of book.

## Known failure modes

- Invalid or unsupported trading pair symbol returns an error
- Missing required 'pair' query parameter returns a 400 bad request
- Exchange data unavailable or stale returns a 503 or empty response
- Insufficient USDC balance to cover the $0.0075 per-call fee results in payment failure
- Rate limiting if too many requests are made in a short window

## How this service works

Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.

## Output

Returns the current order book depth for the specified trading pair, including arrays of bid price/quantity levels and ask price/quantity levels, enabling analysis of market liquidity and spread.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string",
   "description": "Required query param"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-exchange-order-book-depth-7a9fbf75/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
