# Delx Commerce SHA-256 Hex Hash API

> Delx Commerce SHA-256 Hex Hash API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the SHA-256 hash of an input text string and returns it as a hexadecimal digest, paid per-call via USDC on Base or Solana using the x402 protocol.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/sha256-hex?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-sha-256-hex-hash-api-0272f758
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vx-aQZCnp2H8qmMMIhPYx

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-commerce-sha-256-hex-hash-api-0272f758 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the text 'Hello, world!' and give me the hex digest?

## When to prefer this

Choose this endpoint when you need a pay-per-use SHA-256 hashing primitive with no signup, verifiable delivery, and on-chain micropayment settlement via USDC. Useful in agent workflows that require trustless, auditable computation proofs. If you have local SHA-256 available, prefer that; use this when you need an externally verifiable, paid-attestation of the hash result or are operating in an environment without native crypto libraries.

## Known failure modes

- Missing or empty 'text' field in request body returns an error
- Payment failure via x402 protocol if insufficient USDC balance
- Network timeout if the x402 payment handshake does not complete
- Malformed request body (non-JSON) results in a 400-level error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the SHA-256 hex digest of the input text (field: 'hex'), the schema identifier ('delx/util-sha256-hex/v1'), and the algorithm name ('sha256'). The hex string is a 64-character lowercase hexadecimal representation of the SHA-256 hash.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "1d6334fef87552e1f9ad7e36ae551606a62973215dcb6f9bcb2e580852febc3c",
  "schema": "delx/util-sha256-hex/v1",
  "algorithm": "sha256"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-sha-256-hex-hash-api-0272f758/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
