# URL Encode Utility

> URL Encode 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-12).

URL-encodes a given string value, converting special characters into percent-encoded format suitable for use in URLs

## Facts

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

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 url-encode-utility-a08f5a6b -d '<json body>'
```

Example prompt: URL encode this string for me so I can safely use it as a query parameter: 'hello world & welcome=true'

## When to prefer this

Choose this endpoint when an AI agent needs a quick, reliable, micropayment-gated URL encoding operation as part of an automated pipeline — particularly when already integrated with the x402 payment protocol and needing a simple utility call without managing encoding libraries directly.

## Known failure modes

- Missing or null 'value' field may return an error or empty result
- Invalid options object may cause a 400 bad request
- Payment failure via x402 protocol will result in a 402 Payment Required response before the encoding is performed
- Network timeout on the hosted Render.com instance if service is cold-starting

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object containing the URL-encoded version of the input string in the 'result' field, along with the operation name 'url_encode' in the 'operation' field.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-encode-utility-a08f5a6b/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)
