# 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 a paid x402 API endpoint

## Facts

- Endpoint: GET https://minia2a.uk/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-00124cf7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aJsShqAxNmj3MkCTxI0Cx

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-00124cf7
```

Example prompt: Can you base64-encode the string 'Hello, World!' for me using the minia2a service?

## When to prefer this

Choose this endpoint when you need a quick, reliable base64 encode/decode operation within an agent workflow that already uses the minia2a x402 micropayment ecosystem, or when you want a paid API call that guarantees a response without rate limits typical of free services.

## Known failure modes

- Missing required 'input' field returns a validation error
- Invalid base64 string when decoding causes a decode error
- Payment failure or missing x402 payment header results in 402 Payment Required
- Malformed query parameters may result in unexpected or empty output
- Unsupported method or bodyType values may return an error response

## How this service works

minia2a service: x402-base64

## Output

Returns the base64-encoded or decoded representation of the provided input data, depending on the operation requested via query parameters or method specification.

## 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-00124cf7/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)
