# Delx Commerce — Order Book Depth Notional Calculator

> Delx Commerce — Order Book Depth Notional Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the total notional value (in USD or quote currency) across an array of order book price/size ladder levels

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/ob-depth-notional?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-order-book-depth-notional-calculator-b6072949
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QICWUkr2LAr9de-11Y3FU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-order-book-depth-notional-calculator-b6072949 -d '<json body>'
```

Example prompt: I have an order book snapshot with two levels — [{price: 249.25, size: 1.0}, {price: 249.00, size: 1.0}] — can you calculate the total notional depth across those levels?

## When to prefer this

Use this endpoint when you have raw order book price/size ladder data and need to quickly compute the total notional depth without building your own aggregation logic. It is ideal for agents operating in trading, DeFi, or market-making contexts that need a cheap ($0.001), no-signup, pay-per-result microservice for a specific financial computation. Prefer it over rolling your own aggregation when you want verifiable, pay-per-call pricing via x402 on Base or Solana.

## Known failure modes

- Missing or malformed 'levels' array returns a validation error
- Empty levels array may return zero depth notional or an error
- Non-numeric price or size values cause parsing failures
- Payment not included or insufficient USDC causes HTTP 402 response
- Network timeout if Base/Solana payment settlement is slow

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the schema identifier ('delx/util-ob-depth-notional/v1'), the number of levels used in the computation, and the computed depth_notional value representing the total notional (price × size summed across all provided levels).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "levels": {
   "type": "array",
   "description": "Array of {price,size} ladder levels"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-ob-depth-notional/v1",
  "levels_used": 2,
  "depth_notional": 498.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-order-book-depth-notional-calculator-b6072949/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
