# Delx Text SHA-256 Hash

> Delx Text SHA-256 Hash 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-14).

Computes the SHA-256 cryptographic hash of a UTF-8 text string

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/text-sha256
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-text-sha-256-hash-9e4eee16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W1kIyVQaINPx-GMzYWbHn

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-text-sha-256-hash-9e4eee16 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a cheap, fast, deterministic SHA-256 hash of a text string within an agent workflow — especially when you're already using Delx utility endpoints and want consistent infrastructure. At $0.001 USDC per call it is suitable for high-frequency deduplication, cache keying, or integrity checks without setting up a local hashing library.

## Known failure modes

- Missing or empty 'text' field returns a validation error
- Non-UTF-8 binary content may cause encoding errors
- Oversized payloads may be rejected if they exceed request body limits
- Payment failure via x402 protocol results in 402 Payment Required before processing

## How this service works

SHA-256 hex digest of UTF-8 text. Call when content addressing or dupe keys for text. Returns sha256 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

Returns a JSON object with the schema identifier 'delx/util-text-sha256/v1' and a 'sha256' field containing the lowercase hex-encoded SHA-256 digest of the input text (64 hex characters).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "UTF-8 text content to hash or size"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-text-sha256/v1",
  "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-text-sha-256-hash-9e4eee16/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)
