# PennyRail Hex-to-Text Decoder

> PennyRail Hex-to-Text Decoder 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 hexadecimal-encoded string into its plain text representation

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/encoding.hex-decode--hex-to-text
- 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-hex-to-text-decoder-c88fa8b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_53O7U7hZOOma016DqLQQp

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-hex-to-text-decoder-c88fa8b3 -d '<json body>'
```

Example prompt: Can you decode this hex string for me — '48656c6c6f20576f726c64' — and tell me what the original text says?

## When to prefer this

Choose this endpoint when you need a quick, paid micro-service call to decode a hex-encoded string to plain text, especially within an automated agent workflow that already uses x402 micropayment infrastructure. Suitable for one-off decoding tasks where spinning up a local library is impractical or when standardized micropayment billing per transformation is desired.

## Known failure modes

- Invalid hex string (odd-length or non-hex characters) may return an error or garbled output
- Empty input string may return an error or empty result
- Input containing spaces or '0x' prefix may not be handled correctly
- Non-UTF-8 byte sequences in the decoded result may produce unreadable output

## How this service works

Machine-readable settlement service

## Output

Returns an object containing the decoded plain text representation of the input hexadecimal string, allowing the caller to read the original human-readable content that was hex-encoded.

## 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-hex-to-text-decoder-c88fa8b3/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)
