# Delx Hex Convert

> Delx Hex Convert is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Encodes or decodes hexadecimal strings for $0.001 USDC per call via the x402 payment protocol.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/hex-convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-hex-convert-4e2d1869
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2bsnX9pmpd8vsciyYV16m

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 delx-hex-convert-4e2d1869 -d '<json body>'
```

Example prompt: Can you decode this hex string for me — 48656c6c6f20576f726c64 — and tell me what text it represents?

## When to prefer this

Use this endpoint when an AI agent needs a quick, paid-per-call hex encode/decode operation without standing up its own transformation logic, especially in x402-native payment workflows where micro-billing per conversion is acceptable.

## Known failure modes

- Invalid hex string (odd-length or non-hex characters) returns an error
- Missing or malformed input body returns 400
- Payment not provided or insufficient USDC returns 402
- Ambiguous encoding direction if not specified may produce unexpected output

## How this service works

Encode/decode hex for $0.002 USDC for $0.002 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the converted value — either a plain-text string decoded from the provided hex input, or a hexadecimal string encoded from the provided raw text/binary input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-hex-convert-4e2d1869/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
