# Delx HTTP Request Canonicalize

> Delx HTTP Request Canonicalize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Canonicalizes an HTTP request object by removing credentials and deriving a stable, deterministic fingerprint for use in preflight analysis, security review, or policy workflows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/http-request-canonicalize
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-http-request-canonicalize-3f6aae22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NS53nKjm5S766p4OTRibp

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-http-request-canonicalize-3f6aae22 -d '<json body>'
```

Example prompt: Before I submit this API call to the payment gateway, canonicalize this HTTP request object, strip out any credentials, and give me a stable fingerprint I can use for deduplication and policy checks.

## When to prefer this

Prefer this endpoint when you need a lightweight, stateless, local-only preflight step to sanitize and fingerprint an HTTP request before it reaches a policy engine, audit log, security reviewer, or production system. It is ideal when credential stripping and deterministic canonicalization are required without any upstream data retention. Use it in enterprise agent workflows where a bounded, sub-cent computation step is acceptable and traceability/idempotency of requests matters.

## Known failure modes

- Malformed or missing request object in input returns validation error
- Request object with unrecognized structure may produce incomplete canonicalization
- Payment failure via x402 results in no execution
- Extremely large request bodies may be truncated or rejected
- Edge-case header encodings may not be fully normalized

## How this service works

Canonicalize an HTTP request, remove credentials, and derive a stable fingerprint. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for autho…

## Output

Returns a deterministic, machine-readable JSON object containing the canonicalized HTTP request with credentials removed and a stable fingerprint derived from the normalized request. Output is advisory and stateless — no data is retained server-side.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-http-request-canonicalize/v1",
  "request": {
   "url": "https://api.example.com/jobs?a=1&b=2",
   "method": "GET",
   "headers": {
    "accept": "application/json"
   },
   "body_sha256": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b"
  },
  "fingerprint": "af2e466edad44443374c2fe4ac631b6beb771da69420202b62476eb599543e88",
  "credentials_removed": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-http-request-canonicalize-3f6aae22/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)
