# Delx Commerce — Content-Range Header Parser

> Delx Commerce — Content-Range Header Parser 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 Content-Range header string and returns the structured start, end, total, and consistency values

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/content-range-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-content-range-header-parser-7bd41220
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZzvISVKpOtP08Ej5I1GPk

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-content-range-header-parser-7bd41220 -d '<json body>'
```

Example prompt: Parse this Content-Range header for me and tell me the start byte, end byte, total size, and whether it's consistent: 'bytes 0-499/1000'.

## When to prefer this

Choose this endpoint when you need a fast, verifiable, no-retention parse of an HTTP Content-Range header into structured numeric fields with a consistency check. Ideal for agents handling resumable downloads, range-request validation, or HTTP protocol debugging where auditability (via input SHA-256 evidence) and exact per-call pricing (no subscription) matter. Prefer it over custom regex parsing when you want a deterministic, externally auditable result at $0.001 USDC per call.

## Known failure modes

- Malformed or unparseable header string returns an error or null fields
- Header exceeding 8192 characters is rejected
- Missing or empty header input causes a validation error
- Unexpected Content-Range format (e.g. non-bytes units) may yield inconsistent=false or error

## 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 the parsed range fields: start (integer byte offset), end (integer byte offset), total (integer total content size), and consistent (boolean indicating whether the range is logically valid). Also includes an evidence block with retained=false, the SHA-256 hash of the input header, and the count of external calls made (always 0).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "end": 499,
   "start": 0,
   "total": 1000,
   "consistent": true
  },
  "schema": "delx/util-content-range-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "d87e3fb902533d2d90b45fc8a5d4e63bd5db21e623c2a16c2c89ed7533047f32",
   "external_calls": 0
  },
  "operation": "web_reliability:content_range_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-content-range-header-parser-7bd41220/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)
