# Hermes Micro-Agent – Base64 Encode/Decode

> Hermes Micro-Agent – Base64 Encode/Decode is a paid API for AI agents from hermesmicroservice.theworkpc.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-30).

Encodes or decodes a text string using Base64 encoding via a paid HTTP 402 micro-task on Base (USDC)

## Facts

- Endpoint: POST https://hermesmicroservice.theworkpc.com/base64?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hermes-micro-agent-base64-encode-decode-6356b7ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B1uKaChL_CXFHBWWNz5mD

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 hermes-micro-agent-base64-encode-decode-6356b7ba -d '<json body>'
```

Example prompt: Can you base64-encode the string 'Hello, World! This is my secret payload' for me using Hermes Micro-Agent? I need the encoded result right away.

## When to prefer this

Choose this endpoint when you need a pay-per-use, on-chain-verified Base64 encode/decode operation without setting up your own utility infrastructure. It is suitable for AI agents that already operate in the x402/USDC payment ecosystem on Base and need a lightweight, trustless transformation primitive alongside other text and code micro-tasks from the same provider.

## Known failure modes

- Missing 'prompt' field returns an error since it is required
- Invalid or malformed Base64 input when decoding may produce garbled output or an error
- Payment failure on Base blockchain (insufficient USDC balance or network congestion) causes 402 rejection
- Empty prompt string may return an empty result or error
- Network timeout if the micro-service host is unavailable

## How this service works

20 paid AI and data micro-tasks over HTTP 402 on Base (USDC): summarize, extract, keywords, sentiment, translate, rewrite, proofread, python_debug, code_lint, code_explain, code_refactor, code_review, json_minify, json_query, csv_to_json, hash, base64, convert, describe_image, probe_media. Each call is priced per-task and verified on-chain before execution.

## Output

Returns a plain text string containing the Base64-encoded or decoded result of the input text. The response is a raw string value with no additional metadata or wrapping.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "task": {
   "type": "string",
   "description": "Which micro-task to run"
  },
  "input": {
   "type": "string",
   "description": "Alias for prompt"
  },
  "prompt": {
   "type": "string",
   "description": "Text to process"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hermes-micro-agent-base64-encode-decode-6356b7ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hermesmicroservice.theworkpc.com](https://www.zero.xyz/host/hermesmicroservice.theworkpc.com/llms.txt)
