# Delx Is URL Shape

> Delx Is URL Shape 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-13).

Validates whether a given string is a well-formed HTTP or HTTPS URL, locally without any network requests or external lookups.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/is-url-shape
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-is-url-shape-c1701ec9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RFjwQRxtMg8FPhuvk1k00

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-is-url-shape-c1701ec9 -d '<json body>'
```

Example prompt: Before you try to fetch it, check if 'htp://example..com/page' is a valid HTTP or HTTPS URL — just the shape, no actual network call needed.

## When to prefer this

Choose this endpoint when you need a fast, cheap, stateless URL shape check before performing expensive operations like fetching or extracting page content. It is ideal for agent pipelines that need to preflight arbitrary or user-supplied URLs without making any network requests, incurring auth complexity, or retaining data. At $0.001 USDC it is suitable for high-volume screening in automated workflows.

## Known failure modes

- Missing or empty 'url' field in request body returns an error or false result
- Non-string input types may cause a validation error
- URLs using non-http/https schemes (ftp, mailto) will return false
- Malformed request body returns HTTP 4xx error
- x402 payment failure or insufficient USDC balance blocks the request

## How this service works

Validate http(s) URL shape. Call when you preflight agent-held URLs before fetch/extract. Returns valid boolean for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a boolean indicating whether the input string is a well-formed HTTP or HTTPS URL, determined locally using JSON-based rules with no network I/O or external API calls.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://api.delx.ai/x",
  "valid": true,
  "schema": "delx/util-is-url-shape/v1"
 }
}
```

## More

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