# Delx Commerce — Agent Delivery Order Check

> Delx Commerce — Agent Delivery Order 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).

Verifies that a list of delivered item IDs matches and is in the correct order compared to an expected list of IDs, returning a pass/fail result with mismatch indices.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-delivery-order-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-agent-delivery-order-check-680b56ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y0_IWDyUFL61OnsqJO3ft

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-agent-delivery-order-check-680b56ac -d '<json body>'
```

Example prompt: Check whether my delivered IDs ['ord-001','ord-002','ord-003'] match and are in the same order as my expected IDs ['ord-001','ord-002','ord-003'] — I need a pass/fail result and any mismatch positions.

## When to prefer this

Choose this endpoint when an AI agent needs a lightweight, cryptographically auditable check that a set of delivered item IDs matches an expected list in the correct sequence — especially in multi-agent pipelines where delivery integrity must be verified before proceeding. Ideal when you need a verifiable, privacy-preserving result (no data retention, SHA-256 evidence included) at near-zero cost ($0.001 USDC) without requiring prior signup.

## Known failure modes

- Mismatched array lengths between expected_ids and delivered_ids may result in all indices beyond the shorter array being flagged as mismatches
- Exceeding 256 items in either array will trigger a validation error
- Individual IDs exceeding 8192 characters will be rejected
- Empty arrays may return a trivial pass result that doesn't reflect real delivery validation
- Payment failure via x402 will prevent the call from completing

## 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 an 'ordered' boolean (true if delivered IDs match expected order), an array of 'mismatch_indices' indicating positions where IDs differ, an overall 'status' field ('pass' or 'fail'), and an 'evidence' object containing a SHA-256 hash of the input, confirmation that no data is retained, and the count of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "expected_ids": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Expected Ids supplied to Agent Delivery Order Check; used only for this bounded calculation and processed in memory without retention."
  },
  "delivered_ids": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Delivered Ids supplied to Agent Delivery Order Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "ordered": true,
   "mismatch_indices": []
  },
  "schema": "delx/util-agent-delivery-order-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a93e772f45da3b48859f4f1c6900055e9082a49385a4800eba45a2117e40c3a3",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_delivery_order_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-delivery-order-check-680b56ac/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)
