# AgentShelf Hex Decode

> AgentShelf Hex Decode is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Decodes a hexadecimal-encoded string back to its original plain text representation, with no network calls or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/hex-decode?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-hex-decode-cb4456a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DUJeqoCZKH_Purhs52Pb9

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 agentshelf-hex-decode-cb4456a0 -d '<json body>'
```

Example prompt: Can you decode this hex string for me: 48656c6c6f2c20576f726c6421 — I need to see what the original text says.

## When to prefer this

Use this endpoint when you need a deterministic, offline hex decode with no LLM involvement and no external network calls. It is preferable to attempting hex decoding via an LLM (which may hallucinate) or a general-purpose code execution service. Prefer the free sandbox endpoint POST /v1/sandbox/hex-decode first; use this paid endpoint when the sandbox is unavailable or rate-limited. Best for agents needing reliable, exact hex decoding in an automated pipeline.

## Known failure modes

- Input contains non-hex characters (e.g. invalid hex digits like 'G' or 'Z') — likely returns a 400 or error body
- Input is empty or below minLength of 1 — validation error
- Input exceeds maxLength of 100,000 characters — rejected with size error
- Malformed hex with odd number of characters (hex pairs require even length) — likely decode error
- Payment not provided or insufficient — 402 Payment Required response

## How this service works

Call when an agent needs text decoded with hex. No network and no LLM. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/hex-decode first.

## Output

The decoded plain text content of the input hex string. The response contains the original string that was hex-encoded, with no extra metadata or LLM interpretation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "68656c6c6f"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-hex-decode-cb4456a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
