# Delx Commerce — ETag Parse

> Delx Commerce — ETag Parse 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).

Parses an HTTP ETag header value into its structured components (weak flag and opaque tag string), in-memory with no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/etag-parse?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-etag-parse-d5525079
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i2bhOy1Z_YMsrkPjiigvY

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-etag-parse-d5525079 -d '<json body>'
```

Example prompt: Can you parse this ETag header value for me — W/"abc123" — and tell me whether it's a weak validator and what the opaque tag portion is?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-use, no-signup ETag parser with verifiable in-memory-only processing and cryptographic evidence of non-retention. Ideal for agents that handle HTTP cache validation logic and need a trustless, auditable parsing utility without setting up infrastructure. Prefer this over custom parsing when you need the evidence/audit trail (SHA-256 of input, zero external calls confirmed).

## Known failure modes

- Malformed or missing ETag input may result in a parse error or non-pass status
- ETag string exceeding 8192 characters will be rejected
- Payment failure via x402 protocol will prevent execution
- Network timeouts may occur on the client side

## 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: whether the ETag is a weak validator (boolean), the opaque tag string, operation name, pass/fail status, and evidence metadata including whether input was retained (always false), SHA-256 hash of the input, and the number of external calls made (always 0). All processing is done in-memory with no data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "etag": {
   "type": "string",
   "maxLength": 8192,
   "description": "Etag supplied to Etag Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "weak": true,
   "opaque_tag": "abc123"
  },
  "schema": "delx/util-etag-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "3e4f08edcf8a21d5f8264a8e82262d4e0d629313c13c65043d6ea3f9a79fe515",
   "external_calls": 0
  },
  "operation": "web_reliability:etag_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-etag-parse-d5525079/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)
