# Delx Hash

> Delx 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-10-20).

Hashes a text string using SHA-256, SHA-1, or MD5 and returns a compact deterministic receipt for $0.001 USDC per call.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-hash-924a9cb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dRaybDcop2tHRo35sG-b8

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-hash-924a9cb4 -d '<json body>'
```

Example prompt: Can you hash the text 'hello world' using SHA-256 and give me the digest?

## When to prefer this

Choose this endpoint when an AI agent needs a quick, paid, receipted hashing call without managing local crypto libraries — especially useful in x402-native agent workflows where auditability and a deterministic receipt matter. Prefer it over rolling your own hash when you need a verifiable, third-party-attested digest. Not suitable as a password key-derivation function (KDF); use bcrypt/argon2 for passwords instead.

## Known failure modes

- Empty or missing input text returns a validation error
- Unsupported algorithm name returns a 400 bad request
- Payload exceeding size limits returns an error
- Payment failure or insufficient USDC balance returns a 402 response
- Network timeout returns a 5xx error

## How this service works

SHA-256 hash API for agents: hash text with SHA-256, SHA-1, or MD5 for $0.001 USDC and return a compact deterministic receipt—not a password KDF. 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 a JSON object containing the computed hash digest string, the algorithm used (SHA-256, SHA-1, or MD5), the length of the original input, and a compact deterministic receipt confirming the computation.

## 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
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-hash-924a9cb4/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)
