# GeekVault Hex Encoder/Decoder

> GeekVault Hex Encoder/Decoder is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-27).

Encodes plain text to hexadecimal representation or decodes hex strings back to plain text

## Facts

- Endpoint: GET https://api.geekvault.dev/dev-tools/v1/hex?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-hex-encoder-decoder-66b2c639
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4imiaf0LSs9LY3s7RYDV

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 geekvault-hex-encoder-decoder-66b2c639
```

Example prompt: Can you encode the text 'Hello World' to hexadecimal for me?

## When to prefer this

Use this endpoint when you need a quick, no-signup hex encode or decode operation and are already operating in the x402/USDC-on-Base payment ecosystem. Ideal for AI agents that need lightweight dev-utility conversions without managing API keys or subscriptions.

## Known failure modes

- Missing required 'input' field returns an error
- Invalid hex string when decoding (odd-length or non-hex characters) may return an error or garbage output
- Payment failure via x402 if insufficient USDC balance on Base

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns a JSON object with the mode used ('encode' or 'decode') and the output string — either the hex-encoded version of the input text, or the decoded plain text from a hex string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "mode": {
   "type": "string",
   "description": "`encode` o `decode`. Por defecto `encode`."
  },
  "input": {
   "type": "string",
   "description": "Texto de entrada."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "mode",
  "output"
 ],
 "properties": {
  "mode": {
   "type": "string"
  },
  "output": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-hex-encoder-decoder-66b2c639/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
