# SHA-256 Hash (also SHA-512, SHA3-256)

> SHA-256 Hash (also SHA-512, SHA3-256) is a paid API for AI agents from conclavex402.pythonanywhere.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Computes the SHA-256, SHA-512, or SHA3-256 cryptographic hash of a text string and returns it as a hex digest.

## Facts

- Endpoint: POST https://conclavex402.pythonanywhere.com/u/sha256?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-hash-also-sha-512-sha3-256-bdc58419
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sWc6uYHZI5oJ4xcSlfafh

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 sha-256-hash-also-sha-512-sha3-256-bdc58419 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello' and give me the hex digest?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call SHA-256, SHA-512, or SHA3-256 hex digest without setting up local crypto libraries — especially useful in agent pipelines that need deterministic content fingerprints or integrity checks at runtime.

## Known failure modes

- Missing 'input' body field returns a 400 or error response
- Non-string input may fail validation
- Unsupported algorithm name returns an error
- Network or server timeout on pythonanywhere free tier under load

## How this service works

SHA-256 hash/digest of a text string — also sha512 and sha3-256; returns hex.

## Output

A JSON object with a single key corresponding to the chosen algorithm (e.g. 'sha256') whose value is the lowercase hex-encoded digest of the input text. Example: {"sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-256-hash-also-sha-512-sha3-256-bdc58419/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from conclavex402.pythonanywhere.com](https://www.zero.xyz/host/conclavex402.pythonanywhere.com/llms.txt)
