# Delx Commerce X402 Price Drift Check

> Delx Commerce X402 Price Drift Check 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).

Checks whether the actual price of an x402 payment differs from the advertised price within an acceptable tolerance threshold

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/x402-price-drift-check?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-x402-price-drift-check-035aba3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aU35FDssWQYuJpxNXt0ah

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-x402-price-drift-check-035aba3e -d '<json body>'
```

Example prompt: Check whether this x402 payment price drifted too much — the advertised raw price was 1000, the actual charged amount was 1050, and my maximum allowed drift is 100.

## When to prefer this

Use this endpoint when you need a fast, verifiable, stateless check that an x402 micropayment's actual price did not drift beyond an acceptable tolerance from the advertised price. It is ideal for agent-to-agent commerce pipelines where price integrity must be confirmed before or after settlement, and where auditability (input hash, no retention) matters. Prefer this over custom logic when working within the x402/USDC-on-Base or Solana ecosystem.

## Known failure modes

- Missing required fields (advertised_raw, challenged_raw, or maximum_drift_raw) may cause validation errors
- Non-numeric string values in raw fields may result in parse errors or unexpected behavior
- Values exceeding maxLength of 8192 characters will be rejected
- Payment failure (HTTP 402) if the $0.001 USDC micropayment is not successfully completed via x402 protocol

## 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 computed drift amount (drift_raw), the actual price (actual_raw), the expected price (expected_raw), and a boolean (within_tolerance) indicating whether the drift is within the specified maximum. Also includes evidence metadata confirming no data was retained and no external calls were made, plus a status field ('pass' or otherwise).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "advertised_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Advertised Raw supplied to X402 Price Drift Check; used only for this bounded calculation and processed in memory without retention."
  },
  "challenged_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Challenged Raw supplied to X402 Price Drift Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_drift_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Maximum Drift Raw supplied to X402 Price Drift Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "drift_raw": "0",
   "actual_raw": "1000",
   "expected_raw": "1000",
   "within_tolerance": true
  },
  "schema": "delx/util-x402-price-drift-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "5f37133d31b2d093bb549e808c67f9a515cc5ce68e1a0cd15a614b31b5894fdf",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_price_drift_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-x402-price-drift-check-035aba3e/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)
