# SignalDesk AI URL Parser

> SignalDesk AI URL Parser is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Parses an absolute HTTP/HTTPS URL into its structural components (protocol, hostname, port, path, query params, fragment, credentials) without fetching it

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/network/url-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-url-parser-8e08b42a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y81DmNCRtSdHHLtV6KhTz

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 signaldesk-ai-url-parser-8e08b42a -d '<json body>'
```

Example prompt: Can you break down the URL https://example.com:8443/a?x=1#top into its parts — hostname, port, path, query parameters, and fragment?

## When to prefer this

Use this endpoint when you need fast, local URL decomposition without any network fetch — ideal for extracting query params, hostnames, ports, or fragments from URLs at scale or within agent workflows. Prefer this over regex-based client-side parsing when you need a clean, structured JSON output with credential detection.

## Known failure modes

- Non-absolute or malformed URL returns an error — relative URLs are not supported
- URL exceeding 2048 characters will be rejected
- Missing or empty url field returns a validation error
- Non-HTTP/HTTPS protocols (e.g. ftp://, data://) may not be supported

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object containing the parsed URL components: protocol (e.g. 'https:'), hostname, port, pathname, query (as an array of key-value pairs), fragment, and has_credentials (boolean). The URL is parsed locally and never fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "description": "Absolute HTTP/HTTPS URL; parsed locally, never fetched."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "port": "8443",
  "query": [
   [
    "x",
    "1"
   ]
  ],
  "fragment": "#top",
  "hostname": "example.com",
  "pathname": "/a",
  "protocol": "https:",
  "has_credentials": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-url-parser-8e08b42a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
