# URL Decode

> URL Decode is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Decodes a URL-encoded (percent-encoded) string back to its original plain text, with optional plus-sign-as-space handling

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/url/decode?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-decode-b12cf839
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VrZKvreEU9pVcfeQ3c5Gk

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-decode-b12cf839
```

Example prompt: Can you decode this URL-encoded string for me: 'hello%20world%26foo%3Dbar', and treat plus signs as spaces?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call URL decoding utility with no API key or account setup. Ideal for AI agents operating in a USDC/x402 payment environment that need to decode percent-encoded strings on-demand without standing up their own utility service.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Malformed percent-encoding sequences may produce unexpected output or an error
- Network or worker availability issues may cause failures, but payment is not charged on failed calls

## How this service works

Decode percent-encoded text, treating + as a space when plus=true (form encoding). Use to read encoded links and form data.

## Output

A JSON object with a single 'text' field containing the decoded plain text string, e.g. {"text": "a b&c"}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "plus": {
   "type": "string",
   "description": "true to read + as space"
  },
  "text": {
   "type": "string",
   "description": "The encoded text"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-decode-b12cf839/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
