---
title: "L2 ORDER-BOOK DEPTH — the live bid/ask ladder for any crypto pair, normalized across Coinbase, Binance.US and Kraken (au"
method: GET
path: "/api/orderbook"
tags: ["Crypto Markets"]
---

# L2 ORDER-BOOK DEPTH — the live bid/ask ladder for any crypto pair, normalized across Coinbase, Binance.US and Kraken (au

`GET /api/orderbook`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/orderbook`
- Auth: API key in header `X-PAYMENT`

L2 ORDER-BOOK DEPTH — the live bid/ask ladder for any crypto pair, normalized across Coinbase, Binance.US and Kraken (auto-fallback, or pick a source). Returns bids/asks to your depth plus the analytics that matter: mid, spread (absolute + bps), book liquidity per side, and slippage estimates for $1k/$10k/$100k market orders both directions. Deterministic, no keys, ~1.5s cache. ?pair=BTC-USD&depth=50&source=auto

Price: $0.05 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `pair` string, required
- `depth` number
- `source` string

## Response `200`

Success

- object
  - `pair` string
  - `source` string
  - `mid` number
  - `spread` number
  - `spread_bps` number
  - `best_bid` object
  - `best_ask` object
  - `liquidity_quote` object
  - `slippage` object
  - `bids` unknown[]
    - unknown
  - `asks` unknown[]
    - unknown

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
