# 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 back to its original plaintext form, delivered as a paid micropayment API call

## Facts

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

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

Example prompt: Can you decode this base64 string for me: 'SGVsbG8sIFdvcmxkIQ=='?

## When to prefer this

Use this endpoint when you need a quick, programmatic Base64 decode over a micropayment API without standing up your own decode infrastructure, or when integrating into an x402-compatible agent workflow that already handles USDC micropayments. It is ideal for lightweight, one-off decode operations within agent pipelines where native decode libraries are not available or desired.

## Known failure modes

- Invalid Base64 input string causes decoding error or malformed response
- Input string with incorrect padding may fail or return garbled output
- Non-string input types rejected due to schema requiring string type
- Binary data that is not valid UTF-8 may not render cleanly as text
- Network or service unavailability returns HTTP error; payment may still be deducted

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the decoded output of the input Base64 string, representing the original plaintext or binary data that was 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-base64-decode-7e5d2ed2/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)
