the402 endpoint detail

← All endpoints

api.delx.ai x402 ob-mid-from-levels

https://api.delx.ai/api/v1/x402/ob-mid-from-levels

answers 402

Compute mid price from bid/ask top-of-book levels. Call when you have L1 bid and ask and need a mid for marks. Returns mid, spread_abs, and spread_bps as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
164 ms
Payment options
3 usable of 3
Last checked
2026-08-15T14:29:19.807Z (1h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fob-mid-from-levels"