# minia2a Base64 Encoder/Decoder

> minia2a Base64 Encoder/Decoder is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Encodes or decodes data using Base64 encoding via the x402 micropayment protocol

## Facts

- Endpoint: GET https://minia2a.uk/x402/x402-base64
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-base64-encoder-decoder-4fa41c58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nljknf88wEtGKOHCop2EA

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 minia2a-base64-encoder-decoder-4fa41c58
```

Example prompt: Can you base64-encode this string for me: 'Hello, World! This is my secret payload' — I need the encoded output to embed in an API request.

## When to prefer this

Use this endpoint when you need a quick, reliable Base64 encode or decode operation accessible via a simple HTTP GET call with x402 micropayment, especially in agentic workflows that already handle x402 payment flows and need a lightweight utility without standing up their own encoding library.

## Known failure modes

- Invalid or malformed input data returns an error response
- Missing required 'input' field causes a 400-style error
- Payment failure or insufficient funds blocks the request via x402 protocol
- Extremely large payloads may be rejected or time out
- Incorrectly formatted Base64 input when decoding may return a decoding error

## How this service works

minia2a service: x402-base64

## Output

Returns a Base64-encoded or decoded string corresponding to the input data, delivered as a structured response object with the transformed output value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-base64-encoder-decoder-4fa41c58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
