# Binance L2 Orderbook Microstructure API

> Binance L2 Orderbook Microstructure API is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Returns real-time L2 orderbook microstructure metrics for 15 crypto assets including bid/ask volume imbalance, spread in basis points, and wall ratios.

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/orderbook/:coin
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-carbon-cashmere-de-7c5ce58c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CcLo_fHeHchvVRBj2p1oc

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 api-carbon-cashmere-de-7c5ce58c
```

Example prompt: Fetch the L2 orderbook microstructure for BTC by calling GET /v1/orderbook/BTC. I need the bid/ask volume imbalance, spread in basis points, bid wall ratio, and ask wall ratio to assess current liquidity conditions and generate market making signals.

## When to prefer this

Use this endpoint when you need real-time orderbook microstructure metrics for crypto assets — especially for market making signal generation, order flow analysis, or liquidity assessment. Prefer this over raw exchange APIs when you want pre-computed metrics like imbalance ratios and spread in basis points without needing to process raw orderbook data yourself.

## Known failure modes

- Unsupported coin symbol returns 404 or error — only 15 specific assets are supported
- Payment failure (x402) if USDC payment of $0.01 is not included or fails
- Rate limiting if too many requests are made in a short window
- Stale data if Binance feed is temporarily disrupted
- Invalid path parameter format returns 400 bad request

## How this service works

Get Binance L2 orderbook microstructure for 15 crypto assets — bid/ask volume imbalance, spread in basis points, bid wall ratio, ask wall ratio. Institutional-grade depth analysis for BTC, ETH, SOL, and 12 more. AI agent API for order flow analysis, market making signals, and liquidity assessment.

## Output

Returns a JSON object containing: coin symbol, spread in basis points (spread_bps), bid/ask volume imbalance score (bid_ask_imbalance), bid wall ratio, and ask wall ratio — providing a snapshot of current orderbook microstructure for the requested asset.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-carbon-cashmere-de-7c5ce58c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.carbon-cashmere.de](https://www.zero.xyz/host/api.carbon-cashmere.de/llms.txt)
