# AgentShelf Hex Encode

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

Encodes a plain-text string into its hexadecimal representation, with no network calls or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/hex-encode?utm_source=zero.xyz
- Price: $0.003/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-encode-d41103f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qU928KW-dtWL_SsTB-nL1

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-encode-d41103f4 -d '<json body>'
```

Example prompt: Can you hex-encode this string for me: 'Hello, World! This is my test payload.'

## When to prefer this

Choose this endpoint when you need a deterministic, pure-computation hex encoding of a string with guaranteed consistent output, no LLM hallucination risk, and no external network dependencies. Prefer the free sandbox POST /v1/sandbox/hex-encode first if available; use this paid endpoint when the sandbox is unavailable or rate-limited. Ideal for pipelines where reproducibility and auditability of encoding are critical.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Input exceeding 100,000 characters is rejected
- Malformed JSON body returns a 400-level error
- Payment not provided or incorrect amount results in 402 response

## How this service works

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

## Output

Returns the hexadecimal encoding of the submitted text string — every byte of the input mapped to its two-character hex equivalent, with no intermediate network calls or AI inference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "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-encode-d41103f4/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)
