# AgentShelf Percent-Decode

> AgentShelf Percent-Decode is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Decodes a percent-encoded (URL-encoded) string into its original plaintext form, with no network calls or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/percent-decode?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-percent-decode-691ea02b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3NxaKXEjgbAgVOrmMR-nW

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 agentshelf-percent-decode-691ea02b -d '<json body>'
```

Example prompt: Can you percent-decode this string for me: 'Hello%20World%21%20This%20is%20a%20test%3A%20foo%2Fbar'?

## When to prefer this

Use this endpoint when you need fast, deterministic, offline percent-decoding with no LLM or external network involvement. Prefer the free sandbox endpoint (POST /v1/sandbox/percent-decode) for development or low-volume use to avoid the $0.006 USDC charge. Choose this paid endpoint when the sandbox is unavailable or when you need guaranteed production-grade processing.

## Known failure modes

- Malformed percent-encoding sequences (e.g. lone % not followed by two hex digits) may result in an error or partial decode
- Input text exceeding 100,000 characters will be rejected
- Empty input string will be rejected per minLength constraint
- Payment failure or insufficient USDC balance will result in a 402 response

## How this service works

Call when an agent needs text decoded with percent. No network and no LLM. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/percent-decode first.

## Output

The decoded plaintext string with all percent-encoded sequences (e.g. %20, %2F, %3A, %C3%A9) replaced by their corresponding characters. The response is computed locally with no external network calls or LLM processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "hello"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-percent-decode-691ea02b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
