# PennyRail URL Decode

> PennyRail URL Decode is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Decodes a percent-encoded (URL-encoded) string back to its original plaintext form

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/encoding.url-decode--url-decode
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-url-decode-c812858f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MBq4SQKPaNsJM6_rxwpwo

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 pennyrail-url-decode-c812858f -d '<json body>'
```

Example prompt: Can you URL-decode this string for me: 'Hello%20World%21%20How%20are%20you%3F' — I need to see what it actually says in plain text.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call URL decoding operation without setting up local libraries, or when operating in a sandboxed agent environment where calling a remote utility is preferable to executing code. Ideal for one-off decodes in automated pipelines that already use the x402 payment protocol.

## Known failure modes

- Malformed percent-encoding sequences (e.g. truncated % sequences) may return an error or partial decode
- Non-string input will fail schema validation
- Payment not received or insufficient USDC balance will result in 402 rejection
- Empty string input may return an empty result or error

## How this service works

Machine-readable settlement service

## Output

A JSON object containing the decoded (percent-unescaped) version of the input string, converting sequences like %20 to spaces and other encoded characters back to their original plaintext representation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-url-decode-c812858f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
