# Delx Commerce X402 Delivery Hash Check

> Delx Commerce X402 Delivery Hash 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-02).

Verifies whether a given text's SHA-256 hash matches an expected hash, providing cryptographic delivery proof for x402 pay-per-result transactions

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/x402-delivery-hash-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-x402-delivery-hash-check-441bb2a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Ngvfm-xB2kB25M9uyixW

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-delivery-hash-check-441bb2a9 -d '<json body>'
```

Example prompt: Check whether this text I received — 'Hello, verified world!' — actually matches the SHA-256 hash I was promised: 7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-result cryptographic check to verify that text content delivered by an x402-compatible API matches a pre-committed SHA-256 hash — particularly in trustless agent-to-agent commerce flows where tamper evidence matters. Prefer this over rolling your own hash comparison when you want an auditable, third-party-attested verification with no data retention, priced at fractions of a cent per call.

## Known failure modes

- Missing or empty 'text' field returns an error or undefined hash comparison
- Invalid or malformed 'expected_sha256' string (wrong length/format) may cause a mismatch result rather than an error
- Payload exceeding 8192 character limit for either field is rejected
- Network timeout results in no response
- Hash collision edge cases are theoretically possible but cryptographically negligible

## 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 a 'matched' boolean indicating if the text's actual SHA-256 equals the expected hash, the computed actual_sha256, the provided expected_sha256, and evidence metadata confirming no data was retained and no external calls were made. Status is labeled 'advisory' with a schema identifier for auditability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."
  },
  "expected_sha256": {
   "type": "string",
   "maxLength": 8192,
   "description": "Expected Sha256 supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "matched": false,
   "actual_sha256": "633163569ade0beccda175c1e30d98ad117e7dfb0197ff7889836a9de9d3f823",
   "expected_sha256": "7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc"
  },
  "schema": "delx/util-x402-delivery-hash-check/v1",
  "status": "advisory",
  "evidence": {
   "retained": false,
   "input_sha256": "ba733049f9eb88f065a3f19eafada98c9f92d558213695771252332799ffe285",
   "external_calls": 0
  },
  "operation": "delivery_contract:x402_delivery_hash_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-x402-delivery-hash-check-441bb2a9/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)
