# PennyRail URL Decode (decodeURIComponent)

> PennyRail URL Decode (decodeURIComponent) 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-14).

Decodes a percent-encoded URL string using the decodeURIComponent algorithm, returning the fully decoded string

## Facts

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

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-decodeuricomponent-7ea89197 -d '<json body>'
```

Example prompt: Decode this URL-encoded string for me: 'Hello%20World%21%20How%27s%20it%20going%3F' — I need the plain readable text.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call decodeURIComponent operation without setting up a local runtime — ideal for AI agents, serverless pipelines, or no-code workflows that receive percent-encoded strings from web requests, logs, or APIs and need them decoded on the fly.

## Known failure modes

- Malformed percent-encoding (e.g. incomplete escape like %2) may result in an error or partial decode
- Input that is already plain text with no encoding may pass through unchanged
- Very long input strings may hit payload size limits
- Invalid UTF-8 sequences in encoded input may cause decoding errors

## How this service works

Machine-readable settlement service

## Output

Returns an object containing the decoded string result — the percent-encoded input converted back to its original plain-text representation, with all escape sequences like %20, %3D, %26, etc. resolved to their corresponding characters.

## 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-decodeuricomponent-7ea89197/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)
