# Delx Commerce — Execution Quality vs VWAP Calculator

> Delx Commerce — Execution Quality vs VWAP 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 trade execution slippage in basis points relative to a VWAP benchmark for a given trade side and average fill price

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/exec-quality-vs-vwap?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-execution-quality-vs-vwap-calculator-3462ccb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bDKsV5HLHAb0q-fJnpXdY

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-execution-quality-vs-vwap-calculator-3462ccb3 -d '<json body>'
```

Example prompt: I sold at an average fill of 102.50 and the VWAP was 102.00 — can you calculate my execution slippage in basis points?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call, no-signup computation of execution slippage in basis points against a VWAP benchmark for a single trade leg. It is ideal for algorithmic trading agents that need verifiable, auditable fill quality metrics at low cost ($0.001 USDC per call) without managing a subscription. Prefer alternatives if you need multi-leg slippage, portfolio-level analytics, or integration with a full TCA (transaction cost analysis) platform.

## Known failure modes

- Missing required field (side, vwap, or avg_fill) returns a validation error
- Invalid trade side value (not 'buy' or 'sell') causes rejection
- Non-numeric vwap or avg_fill values return a parsing error
- Payment failure via x402 protocol blocks execution
- Zero or negative price values may produce undefined or erroneous slippage results

## 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 trade side, the schema identifier (delx/util-exec-quality-vs-vwap/v1), and the computed slippage in basis points (slippage_bps) relative to the VWAP benchmark.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "side": {
   "type": "string",
   "description": "Trade side: buy or sell"
  },
  "vwap": {
   "type": "number",
   "description": "VWAP benchmark price"
  },
  "avg_fill": {
   "type": "number",
   "description": "Average fill price"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "side": "sell",
  "schema": "delx/util-exec-quality-vs-vwap/v1",
  "slippage_bps": 50
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-execution-quality-vs-vwap-calculator-3462ccb3/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)
