# Etag Parse

> Etag Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Parses an ETag header value to separate and classify weak vs. strong entity-tag semantics, returning a normalized finding and pass/advisory status.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/etag-parse
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/etag-parse-a587ee56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kEas5D3UC0qVbxIMae6s1

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

Example prompt: Parse this ETag value for me and tell me whether it's a weak or strong entity tag: 'W/"abc123"' — I need to know if it's safe to use for strong cache validation.

## When to prefer this

Choose this endpoint when an agent needs a deterministic, stateless, and privacy-safe way to parse and classify ETag header values before caching, redirecting, retrying, or accepting HTTP responses. It is ideal when no external lookup or state retention is acceptable, and when a clear weak vs. strong entity-tag distinction is required for cache validation or conditional request logic.

## Known failure modes

- Malformed or missing ETag value returns an advisory/fail status with parsing error details
- ETag string exceeding 8192 characters is rejected with a validation error
- Ambiguous or non-standard ETag formats may result in an advisory rather than pass status

## How this service works

Etag Parse: Etag Parse separates weak and strong entity-tag semantics from an ETag value from bounded caller-supplied values without an external provider. Call Etag Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Etag Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstr…

## Output

Returns a versioned deterministic JSON object containing the normalized ETag value, the computed classification finding (weak or strong entity-tag semantics), and an explicit pass or advisory status indicating whether the ETag is suitable for strict cache validation or conditional request usage.

## 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/etag-parse-a587ee56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
