# Delx Commerce — Digest Header Verify

> Delx Commerce — Digest Header Verify 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 an HTTP Digest header by checking whether a given algorithm and base64-encoded digest match the provided text, returning a match result and the computed digest.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/digest-header-verify?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-digest-header-verify-778ce20c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CnHWQRXSPCOHvG_tCTuIp

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-digest-header-verify-778ce20c -d '<json body>'
```

Example prompt: Can you verify whether the SHA-256 Digest header 'ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0=' is correct for the text 'hello world'?

## When to prefer this

Use this endpoint when an AI agent needs to verify the integrity of an HTTP Digest header without retaining any data — ideal for stateless, privacy-preserving content integrity checks. Preferred when you need cryptographic confirmation that a message body matches a received digest header, especially in automated pipelines handling untrusted API or webhook payloads. The pay-per-call USDC model (no signup) makes it suitable for ephemeral agent workflows.

## Known failure modes

- Invalid or unsupported algorithm value returns an error or failed match
- Malformed base64 digest_base64 string causes a parsing error
- Text exceeding 8192 characters is rejected
- Missing required fields results in a validation error
- Payment not completed via x402 protocol returns HTTP 402

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object indicating whether the provided base64 digest matched the computed digest for the given text and algorithm ('matched': true/false), the algorithm used, the actual computed base64 digest, a pass/fail status, and evidence metadata including whether input was retained (always false), a SHA-256 fingerprint of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."
  },
  "algorithm": {
   "type": "string",
   "maxLength": 8192,
   "description": "Algorithm supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."
  },
  "digest_base64": {
   "type": "string",
   "maxLength": 8192,
   "description": "Digest Base64 supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "matched": true,
   "algorithm": "sha-256",
   "actual_base64": "ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0="
  },
  "schema": "delx/util-digest-header-verify/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "e2887c004f75ecae89be72af3d1ed97e6058d581b75c207eebceba1ccc080397",
   "external_calls": 0
  },
  "operation": "web_reliability:digest_header_verify"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-digest-header-verify-778ce20c/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)
