Crypto Markets

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

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).

get/api/orderbook

Request

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

Query parameters

pairstring required

BASE-QUOTE, e.g. BTC-USD, ETH-USD, SOL-USD

depthnumber

price levels per side, 1-200 (default 50)

sourcestring

auto (default), coinbase, binance, kraken

Response

Success

pairstring
sourcestring
midnumber
spreadnumber
spread_bpsnumber
best_bidobject
best_askobject
liquidity_quoteobject
slippageobject

Changes

No recorded changes to this operation across all 1 revision of this API.