# Delx Commerce — Experiment Lift Calculator

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

Computes descriptive lift metrics (absolute, relative, and rate-based) for an A/B experiment given control and treatment visitor/conversion counts.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/experiment-lift?utm_source=zero.xyz
- Price: $0.003/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-experiment-lift-calculator-41b9b81c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C-3XwG4g3RdMWhzNYuxpT

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-experiment-lift-calculator-41b9b81c -d '<json body>'
```

Example prompt: I ran an A/B test where the control group had 10,000 visitors and 500 conversions, and the treatment group had 10,000 visitors and 650 conversions — can you calculate the lift metrics for me?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call descriptive lift computation for an A/B experiment without setting up an account or subscription. It is ideal for agents that need on-demand experiment metrics as part of an automated analytics workflow. It does not perform statistical significance testing — pair it with a hypothesis test endpoint if you need p-values or confidence intervals.

## Known failure modes

- Missing required fields (control_visitors, treatment_visitors, control_conversions, treatment_conversions) returns an error
- Zero visitors in control or treatment causes division-by-zero or invalid computation
- Non-numeric or negative values for visitor/conversion counts may return validation errors
- Conversions exceeding visitors for either group is logically invalid and may return an error
- Payment failure via x402 (insufficient USDC balance) blocks the request

## 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 with the schema 'delx/util-experiment-lift/v1' containing: control_rate_percent, treatment_rate_percent, absolute_lift_points (percentage point difference), relative_lift_percent (percentage improvement over control), and an advisory note recommending formal statistical testing before making decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "control_visitors": {
   "type": "number",
   "description": "Input field: control_visitors."
  },
  "treatment_visitors": {
   "type": "number",
   "description": "Input field: treatment_visitors."
  },
  "control_conversions": {
   "type": "number",
   "description": "Input field: control_conversions."
  },
  "treatment_conversions": {
   "type": "number",
   "description": "Input field: treatment_conversions."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-experiment-lift/v1",
  "advisory": "Descriptive lift only; pre-register and run a statistical test before deciding.",
  "absolute_lift_points": 1.5,
  "control_rate_percent": 5,
  "relative_lift_percent": 30,
  "treatment_rate_percent": 6.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-experiment-lift-calculator-41b9b81c/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)
