# StableJack L2 Order Book

> StableJack L2 Order Book is a paid API for AI agents from ai.stable-jack.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Retrieves the Level 2 (bid/ask depth) order book for a crypto trading pair via StableJack's agent-ready research API.

## Facts

- Endpoint: POST https://ai.stable-jack.com/x402/tools/l2_order_book
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablejack-l2-order-book-5b6bca4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1aloyragVm_kLlV7Olwu5

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 stablejack-l2-order-book-5b6bca4b -d '<json body>'
```

Example prompt: Pull the L2 order book for BTC/USDT right now — I want to see the full bid and ask depth to gauge where the liquidity is sitting.

## When to prefer this

Use this endpoint when you need real-time market microstructure data — specifically bid/ask depth — for crypto assets. It is ideal for pre-trade analysis, slippage estimation, detecting order book imbalances, and liquidity assessment. Prefer this over general market quote endpoints when you need more than just the top-of-book price and want to understand the full depth of available liquidity at multiple price levels.

## Known failure modes

- Invalid or unsupported trading pair symbol returns an error
- Exchange or venue not supported returns a 404 or validation error
- Stale or unavailable market data may return an empty order book
- Insufficient USDC balance for the $0.05 per-call fee causes payment failure
- Rate limiting if too many requests are made in quick succession

## How this service works

Retrieve l2 order book through StableJack's agent-ready research API.

## Output

A snapshot of the current Level 2 order book for the requested trading pair, including ordered lists of bid price levels with quantities and ask price levels with quantities, showing market depth at each price point.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablejack-l2-order-book-5b6bca4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai.stable-jack.com](https://www.zero.xyz/host/ai.stable-jack.com/llms.txt)
