# Creator Desk URL Parts Utility

> Creator Desk URL Parts Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Parses a URL string into its component parts (scheme, host, path, query, fragment, etc.)

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/url-parts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/creator-desk-url-parts-utility-4b0df2fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eKnwrwXEds0Fln8RVuOF4

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 creator-desk-url-parts-utility-4b0df2fc -d '<json body>'
```

Example prompt: Can you break down this URL for me — 'https://example.com/products?id=42&ref=newsletter#section2' — and tell me the scheme, host, path, query params, and fragment separately?

## When to prefer this

Choose this endpoint when an agent needs to programmatically decompose a URL into discrete parts (scheme, host, path, query, fragment) as a paid micro-utility via the x402 protocol. Useful when the agent pipeline requires structured URL components for downstream routing, logging, or validation tasks and a lightweight, stateless call is preferred over running a local parser.

## Known failure modes

- Invalid or malformed URL input returns an error result
- Missing required 'value' field in request body causes a 400-level error
- Non-string value input may result in unexpected parsing behavior
- Payment failure (x402) prevents the request from being processed
- Empty string input may return empty or null component fields

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

A JSON object containing the parsed URL components such as scheme/protocol, host/domain, path, query parameters, and fragment, along with an operation identifier ('url_parts') confirming the type of operation performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "url_parts"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/creator-desk-url-parts-utility-4b0df2fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
