PeumeAPI

Finance & crypto

Exchange Order Book Depth

Returns order book bid/ask levels with computed stats.

$0.009 per call

Call it

curl https://api.peume.com/v1/call/exchange-order-book-depth \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "pair": "your pair",
    "type": "spot",
    "limit": 20,
    "exchange": "binance"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: exchange-order-book-depth.

Parameters

pairRequiredstring

Trading pair (e.g. BTC/USDT). Example: BTC/USDT.

typestring

Market type: spot for spot trading, swap/perpetual/perp for perpetual contracts. Example: spot. Defaults to "spot".

spot · swap · perpetual · perp

Example: spot

limitinteger

Number of price levels (1-100). Example: 20. Defaults to 20.

Example: 20

exchangestring

Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid. Example: binance. Defaults to "binance".

binance · okx · bybit · bitget · coinbase · kraken · gate · mexc · upbit · bitstamp · deribit · bitmex …

Example: binance

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.