# x402-toolbox URL Encode

> x402-toolbox URL Encode is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Percent-encodes a string or URL so it is safe for use in query parameters or HTTP requests

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/url-encode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-url-encode-451e0e64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jc4wAzarOUKNxAvfTI1hH

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 x402-toolbox-url-encode-451e0e64
```

Example prompt: URL-encode this string for me so I can safely use it as a query parameter: 'hello world & foo=bar?yes'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call URL encoding utility with no API key or account setup, and you are already operating within the x402 micropayment ecosystem on Base/USDC. Ideal for AI agents that need deterministic, one-off string encoding without managing credentials.

## Known failure modes

- Missing or empty schema/input parameter returns an error
- Payment failure via x402 results in a 402 response and no encoding is performed
- Malformed request may return a non-ok JSON response
- Network timeout on the Cloudflare Worker edge node

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object with ok and paid fields confirming the transaction, plus the URL-encoded version of the submitted string where special characters (spaces, &, =, ?, #, etc.) are replaced with their %XX percent-encoded equivalents.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-url-encode-451e0e64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
