orderbook_imbalance
Aggregates spot order book depth and returns bid/ask notional within 10/25/50/100 bps of mid, signed imbalance in [-1,1], largest liquidity walls and a directional signal. Paid: 0.02 USDC per call via x402.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair such as SOL-USDT, BTC-USDT, ETH-USDT | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |