# PennyRail Base64 Decode

> PennyRail Base64 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-14).

Decodes a Base64-encoded string and returns the original decoded content

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/encoding.base64-decode--decode-base64
- 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-base64-decode-4c060f58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c-PfowvVDXPgUK9YiNUhe

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-base64-decode-4c060f58 -d '<json body>'
```

Example prompt: Decode this Base64 string for me: SGVsbG8sIFdvcmxkIQ==

## When to prefer this

Choose this endpoint when you need a simple, stateless, pay-per-call Base64 decoding operation without setting up local utilities or libraries — particularly in agent pipelines where a lightweight external utility call is preferable. Useful in x402 micropayment-enabled workflows where billing per transformation is acceptable.

## Known failure modes

- Invalid Base64 input string returns an error response
- Empty input field causes a validation error
- Padding issues in Base64 string may cause decoding failure
- Non-string input types rejected by schema validation

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the decoded output of the provided Base64-encoded input string, restoring the original plain text or binary 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-base64-decode-4c060f58/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)
