# Hex to Integer Converter

> Hex to Integer Converter is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a 0x-prefixed hexadecimal string into its decimal integer string representation using local deterministic math

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/hex-to-int
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hex-to-integer-converter-cc480905
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ewlrdt_dZw-WvytdapqP4

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 hex-to-integer-converter-cc480905 -d '<json body>'
```

Example prompt: Can you convert the hex value 0x1a4 into a decimal integer for me?

## When to prefer this

Choose this endpoint when you need a quick, deterministic, no-key-required hex-to-decimal conversion without spinning up a full ABI decoder or making RPC calls — ideal for lightweight agents decoding individual fields from calldata, logs, or block headers where a full EVM stack is overkill

## Known failure modes

- Invalid or malformed hex string input (non-hex characters, missing 0x prefix) returns an error
- Overflow for extremely large hex values beyond integer limits
- Payment failure via x402 protocol prevents execution
- Empty or missing hex field in request body

## How this service works

Parse 0x-hex strings into decimal integer strings for agents. Call when decoding calldata, logs, or block fields without a full ABI stack. Returns decimal integer string from hex as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

A deterministic JSON response containing the decimal integer string representation of the input hex value, computed locally without any RPC calls or external dependencies

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hex": {
   "type": "string",
   "description": "Input field: hex."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "0xff",
  "value": "255",
  "schema": "delx/util-hex-to-int/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hex-to-integer-converter-cc480905/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)
