# Delx URL Path Normalize

> Delx URL Path Normalize 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).

Normalizes a URL's scheme, host casing, and path slashes deterministically without fetching or making any network request to the target URL.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/url-path-normalize
- 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-url-path-normalize-bc652a84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rwQTF03-qeizIvdb3NnxH

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-url-path-normalize-bc652a84 -d '<json body>'
```

Example prompt: Can you normalize this URL for me — fix the scheme, lowercase the host, and clean up any path slash issues — without actually fetching it: 'HTTPS://Api.Example.COM//v1//users'?

## When to prefer this

Choose this endpoint when you need fast, deterministic, local-only URL normalization — specifically fixing scheme casing, host capitalization, and path slash consistency — without triggering any network fetch to the target. Ideal for high-volume URL deduplication, cache key preparation, or pre-storage cleaning pipelines where you already hold the URL text and need a canonical form cheaply at $0.003 per call.

## Known failure modes

- Malformed or unparseable URL input returns an error response
- Missing required 'url' field in request body causes validation failure
- URL with unsupported or unrecognized scheme may return partial normalization
- Payment failure via x402 protocol prevents execution

## How this service works

Normalize URL scheme, host casing, and path slashes without fetching — call when normalizing scheme, host, and path without fetching. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media…

## Output

Returns deterministic machine-readable JSON containing the normalized URL with corrected scheme (lowercased), normalized host casing (lowercased), and cleaned path slashes — no network request to the target URL is made, execution is stateless and local-only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to normalize (no fetch is performed)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "host": "example.com",
  "path": "/a/b",
  "valid": true,
  "schema": "delx/util-url-path-normalize/v1",
  "normalized": "https://example.com/a/b"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-url-path-normalize-bc652a84/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)
