the402 endpoint detail

← All endpoints

agent402.tools api perp-orderbook

https://agent402.tools/api/perp-orderbook

answers 402

The live level-2 order book for one perpetual: best bid and ask, mid, spread in basis points, up to 20 levels a side with cumulative depth and bid/ask imbalance. Use it when an agent is sizing an order, checking liquidity before a trade or measuring book pressure at a point in time.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
110 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:16:45.224Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fperp-orderbook"