# Delx Commerce — Allow-Header Normalize

> Delx Commerce — Allow-Header Normalize 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 and normalizes an HTTP Allow header string into a canonical list of HTTP methods

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/allow-header-normalize?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-allow-header-normalize-45d2f9de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BBBPGZFcQ63UHAi4B70Sw

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-allow-header-normalize-45d2f9de -d '<json body>'
```

Example prompt: Can you normalize this HTTP Allow header value for me: 'POST,GET,  OPTIONS' — I need it parsed into a clean, canonical list of methods?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-use, verifiable utility to normalize HTTP Allow headers without setting up infrastructure or accounts. Ideal for AI agents that occasionally need to canonicalize HTTP method lists, prefer cryptographic proof of processing (SHA-256 input hash, no-retention guarantee), and want to pay micro-amounts in USDC rather than commit to a subscription.

## Known failure modes

- Header string exceeds 8192 character limit — request rejected
- Malformed or unparseable header value — may return error or empty methods list
- Payment failure via x402 — 402 response with payment details
- Network timeout before processing completes

## 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: a normalized string of HTTP methods (comma-space separated, uppercase), an array of individual method strings, the input SHA-256 hash for verifiability, a status of 'pass', confirmation that no input was retained and no external calls were made, and the operation identifier 'web_reliability:allow_header_normalize'.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "methods": [
    "GET",
    "OPTIONS",
    "POST"
   ],
   "normalized": "GET, OPTIONS, POST"
  },
  "schema": "delx/util-allow-header-normalize/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "0ecd36e96bbca98170b9eedc601e2bf858ebd547ce42de08db555b94ebabf822",
   "external_calls": 0
  },
  "operation": "web_reliability:allow_header_normalize"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-allow-header-normalize-45d2f9de/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)
