# Delx Commerce HTTP Request Canonicalize

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

Canonicalizes an HTTP request object into a normalized, credential-stripped fingerprint for verifiable, deterministic comparison

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/http-request-canonicalize?utm_source=zero.xyz
- Price: $0.003/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-http-request-canonicalize-5ea38dfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KxSpHuaNjzPAQVrKxzIyV

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

Example prompt: Canonicalize this HTTP request for me — it's a GET to https://api.example.com/jobs?a=1&b=2 with an Accept: application/json header — I need a stable fingerprint with credentials stripped so I can deduplicate it.

## When to prefer this

Choose this endpoint when you need a deterministic, credential-stripped fingerprint of an HTTP request for purposes such as deduplication, caching, audit logging, or replay detection. It is ideal when you want a pay-per-use, no-signup utility that returns a verifiable canonical form with USDC micropayment settlement on Base or Solana via x402.

## Known failure modes

- Missing or malformed request object returns a validation error
- Invalid URL format causes canonicalization failure
- Unsupported HTTP method may produce unexpected normalization
- Empty body results in default SHA256 hash for empty content
- Network timeout or upstream service unavailability returns 5xx

## 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 the schema identifier (delx/util-http-request-canonicalize/v1), the normalized request (with URL, method, headers, and body_sha256), a deterministic hex fingerprint string, and a boolean confirming credentials were removed.

## 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-commerce-http-request-canonicalize-5ea38dfd/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)
