# minia2a Hex Encoder/Decoder

> minia2a Hex Encoder/Decoder is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Encodes text to hexadecimal or decodes hex to text via a pay-per-call x402 API

## Facts

- Endpoint: GET https://minia2a.uk/x402/hex?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-hex-encoder-decoder-02396fe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2dNZE5JPT_seGqF8U-Wjx

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-hex-encoder-decoder-02396fe6
```

Example prompt: Can you encode the text 'hello world' into hexadecimal using the minia2a hex converter?

## When to prefer this

Choose this endpoint when you need a quick, reliable hex encode/decode operation via a pay-per-call API with no subscription or API key setup, especially within an x402-enabled agent workflow on Base. Ideal for lightweight encoding tasks in automated pipelines where cost predictability ($0.01 per call) and simplicity matter.

## Known failure modes

- Missing or malformed input string returns an error response
- Invalid hex string when decoding (odd-length or non-hex characters) may return an error
- Payment failure via x402 if wallet has insufficient USDC on Base
- Rate limiting or trial exhaustion after 5 free calls for unverified wallets

## How this service works

Discover 1,600+ verified x402 agent APIs — crypto data, web scraping, AI inference, security, and more. 5 free trial calls per signed wallet. 9.0M+ requests served. Pay per call via x402 on Base — no subscription, no API keys. Verified — not just listed, tested.

## Output

Returns a JSON object with ok:true, and a result containing the hex-encoded string, the original text, and the action performed (e.g. 'encode' or 'decode')

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "hex": "6869",
   "text": "hi",
   "action": "encode"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-hex-encoder-decoder-02396fe6/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)
