# Vextorium Hash & Encoding Utility

> Vextorium Hash & Encoding Utility is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.0045/call, status unknown (last checked 2026-10-19).

Computes cryptographic hashes, HMAC signatures, and encodes/decodes data in multiple formats (SHA-256, Keccak-256, MD5, Base64, Hex, Base58, JWT decode, UUID, etc.)

## Facts

- Endpoint: POST https://api.vextorium.com/v1/hash?utm_source=zero.xyz
- Price: $0.0045/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-hash-encoding-utility-a78d5b92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cJSukZgDwkzXzTWrNCZR2

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 vextorium-hash-encoding-utility-a78d5b92 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the text 'hello world' for me?

## When to prefer this

Use this endpoint when an agent needs to compute cryptographic hashes (SHA-256, Keccak-256, MD5), generate HMAC signatures, encode or decode data (Base64, Hex, Base58, URL encoding, Base64url), decode JWTs, or generate UUIDs — all in a single pay-per-call API supporting up to 1 MB input. Prefer over rolling your own crypto when you need a serverless, pay-as-you-go hashing utility especially in blockchain/DeFi pipelines where Keccak-256 is required.

## Known failure modes

- Missing required 'trade' field returns a validation error
- Invalid base64 or hex input when input_format is set to those values causes a parse error
- HMAC operations without a 'key' field may fail or return an error
- Input exceeding 1 MB limit will be rejected
- Invalid UUID namespace for uuid5 operation returns an error
- Unsupported algorithm string for HMAC returns an error
- Insufficient USDC balance causes payment failure before execution

## How this service works

232 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

A JSON object with the 'trade' field (operation name), 'result' field (the computed hash, encoded/decoded string, or UUID), and 'bytes_input' (number of bytes processed). For example: {"trade":"sha256","result":"ba7816bf...","bytes_input":3}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "description": "Secret key (HMAC only)"
  },
  "input": {
   "type": "string",
   "description": "Input data (up to 1 MB)"
  },
  "space": {
   "type": "string",
   "description": "UUID v5 namespace: dns, url (default), oid, x500 or a UUID"
  },
  "trade": {
   "type": "string",
   "description": "sha256, keccak256, md5, todos_los_hashes, hmac, base64_codificar, base64_decodificar, base64url_codificar, base64url_decodificar, hex_codificar, hex_decodificar, url_codificar, url_decodificar, base58_codificar, base58_decodificar, jwt_decodificar, uuid4, uuid5..."
  },
  "algorithm": {
   "type": "string",
   "description": "HMAC hash: sha256 (default), sha512, sha384, sha1, md5, sha3_256"
  },
  "input_format": {
   "enum": [
    "text",
    "hex",
    "base64"
   ],
   "type": "string",
   "description": "How to read the input: texto (default), hex or base64"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "trade": "sha256",
  "result": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
  "bytes_input": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-hash-encoding-utility-a78d5b92/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
