# HTTP Version Normalize

> HTTP Version Normalize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Normalizes common HTTP protocol version strings (e.g. 'HTTP/1.1', 'http 2', 'h2') into a canonical, deterministic form and returns a pass/advisory status.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/http-version-normalize?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/http-version-normalize-9661ed89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_irZzpg4IisGmxCMxrk25y

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 http-version-normalize-9661ed89 -d '<json body>'
```

Example prompt: Can you normalize this HTTP version string 'http 1.1' — I want to know the canonical form and whether it passes validation before I accept it in my pipeline?

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, deterministic check on an HTTP protocol version string before accepting, caching, redirecting, or retrying a web response. It is ideal when you want a versioned, auditable JSON result with an explicit pass/advisory classification rather than writing your own regex or parser. Prefer it over a general-purpose string validator when the domain is specifically HTTP protocol versions.

## Known failure modes

- Input string too long (exceeds maxLength 8192 — unlikely in practice but schema-enforced)
- Completely unrecognizable string returns advisory status rather than a hard error
- Missing or null version field may return a validation error
- Payment failure via x402 protocol prevents call completion

## How this service works

HTTP Version Normalize: HTTP Version Normalize normalizes common HTTP protocol version spellings from bounded caller-supplied values without an external provider. Call HTTP Version Normalize 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 HTTP Version Normalize as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-o…

## Output

Returns a versioned deterministic JSON object containing: the normalized (canonical) HTTP version string, the computed finding describing what was parsed, and an explicit pass or advisory status indicating whether the input was a recognized, valid HTTP protocol version.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "version": "2",
   "recognized": true
  },
  "schema": "delx/util-http-version-normalize/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a19b8bb6547cd7ee8005d6ee1ba38ca5d9d4ebde30f50a234091f1fb56be2510",
   "external_calls": 0
  },
  "operation": "web_reliability:http_version_normalize"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/http-version-normalize-9661ed89/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)
