# Delx Header Map Normalize

> Delx Header Map 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-09-16).

Lowercases all HTTP header keys and removes hop-by-hop headers from a provided headers object, returning a normalized headers map as JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/header-map-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-header-map-normalize-73e5b934
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PawiBUHTD1S0gK6BmeJmN

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-header-map-normalize-73e5b934 -d '<json body>'
```

Example prompt: Normalize these HTTP headers by lowercasing all the keys and dropping any hop-by-hop headers: {"Content-Type": "application/json", "Transfer-Encoding": "chunked", "Authorization": "Bearer abc123", "Connection": "keep-alive"}.

## When to prefer this

Choose this endpoint when you need a deterministic, stateless, low-cost utility to normalize HTTP headers — specifically to lowercase keys and strip hop-by-hop headers — as part of an agent preflight step or request pipeline. Prefer it over writing custom normalization logic when you want a consistent, machine-readable JSON result without side effects or external dependencies.

## Known failure modes

- Missing or empty headers object returns an error or empty result
- Malformed JSON input returns a parse error
- Non-string header values may cause unexpected behavior
- Network timeout if the service is temporarily unavailable
- Payment failure via x402 if USDC balance is insufficient

## How this service works

Lowercase HTTP header keys and drop hop-by-hop headers — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converte…

## Output

A JSON object containing the normalized headers map with all keys converted to lowercase and hop-by-hop headers (such as Connection, Transfer-Encoding, Keep-Alive, Upgrade, Proxy-Authenticate, etc.) removed, leaving only the safe-to-forward, canonically cased headers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "headers": {
   "type": "object",
   "description": "Input field: headers."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 1,
  "schema": "delx/util-header-map-normalize/v1",
  "dropped": [
   "connection"
  ],
  "headers": {
   "content-type": "application/json"
  }
 }
}
```

## More

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