# Hermes Micro-Agent JSON Minify

> Hermes Micro-Agent JSON Minify 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).

Minifies a JSON string by removing whitespace and formatting, paid per-call via on-chain USDC micropayment over HTTP 402.

## Facts

- Endpoint: POST https://hermesmicroservice.theworkpc.com/json_minify?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-json-minify-2fe82351
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LC5A02smmsthNbYok-fJ3

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-json-minify-2fe82351 -d '<json body>'
```

Example prompt: Take this pretty-printed JSON and minify it into a single compact line, removing all whitespace and indentation: {"name": "Alice", "age": 30, "city": "New York"}.

## When to prefer this

Choose this endpoint when you need a pay-per-use, on-chain-verified JSON minification task without managing your own transformation infrastructure. It is ideal for AI agents that already operate in the HTTP 402 / USDC micropayment ecosystem on Base and want a lightweight utility call rather than integrating a full JSON library. Best suited for one-off or low-volume minification needs where per-call billing is acceptable.

## Known failure modes

- Invalid JSON input returns an error string or malformed output
- Payment not verified on-chain results in HTTP 402 rejection and no task execution
- Missing or empty prompt field returns a validation error
- Malformed request body causes a 400-level error
- Network timeout on the hermesmicroservice.theworkpc.com host

## 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

A plain string containing the minified JSON — all extraneous whitespace, newlines, and indentation removed — returned as a single compact line ready for embedding in payloads, storage, or further processing.

## 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-json-minify-2fe82351/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)
