# hash.openverbs.com Cryptographic Hash

> hash.openverbs.com Cryptographic Hash is a paid API for AI agents from hash.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Compute a cryptographic digest of arbitrary data using SHA-2, SHA-3, BLAKE2, or legacy algorithms (SHA-1, MD5, RIPEMD-160), with flexible input/output encodings.

## Facts

- Endpoint: POST https://hash.openverbs.com/v1/hash
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hash-openverbs-com-cryptographic-hash-1e36f6a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e9uGfWE7wE960us45orG3

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 hash-openverbs-com-cryptographic-hash-1e36f6a8 -d '<json body>'
```

Example prompt: Hash the UTF-8 string 'Hello, world!' using SHA-256 and give me the result as a hex digest.

## When to prefer this

Choose this endpoint when you need a reliable, multi-algorithm cryptographic hash computation accessible over HTTP with micropayment billing (x402). It supports a broad set of algorithms (SHA-2 family, SHA-3 family, BLAKE2, MD5, RIPEMD-160) and multiple encoding formats, making it ideal for agents that need hash computation without deploying local crypto libraries. Prefer it over HMAC sibling endpoints when you only need a plain digest without a secret key.

## Known failure modes

- Invalid or unsupported algorithm name returns a 400 error
- Input data exceeding 5,000,000 character limit is rejected
- Malformed input encoding (e.g. invalid base64) causes a decoding error
- Missing required 'data' or 'algorithm' fields returns a validation error
- Payment not completed or insufficient USDC balance returns a 402 Payment Required

## How this service works

Compute a cryptographic digest (SHA-2, SHA-3, BLAKE2, and legacy SHA-1/MD5/RIPEMD-160) of some data. The input may be utf8/hex/base64/base64url and the digest is returned as hex/base64/base64url.

## Output

A JSON response containing the cryptographic digest of the input data, rendered in the requested output encoding (hex, base64, or base64url). The digest corresponds to the chosen algorithm applied to the decoded input bytes.

## 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",
     "required": [
      "data",
      "algorithm"
     ],
     "properties": {
      "data": {
       "type": "string",
       "maxLength": 5000000,
       "description": "The data to hash, in `inputEncoding`."
      },
      "algorithm": {
       "enum": [
        "sha256",
        "sha512",
        "sha384",
        "sha224",
        "sha1",
        "sha3-256",
        "sha3-384",
        "sha3-512",
        "md5",
        "ripemd160",
        "blake2b512",
        "blake2s256"
       ],
       "type": "string",
       "description": "Digest algorithm, one of sha256, sha512, sha384, sha224, sha1, sha3-256, sha3-384, sha3-512, md5, ripemd160, blake2b512, blake2s256."
      },
      "inputEncoding": {
       "enum": [
        "utf8",
        "hex",
        "base64",
        "base64url"
       ],
       "type": "string",
       "description": "How to interpret the text as bytes (utf8, hex, base64, base64url). Default utf8."
      },
      "outputEncoding": {
       "enum": [
        "hex",
        "base64",
        "base64url"
       ],
       "type": "string",
       "description": "How to render the digest (hex, base64, base64url). Default hex."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hash-openverbs-com-cryptographic-hash-1e36f6a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hash.openverbs.com](https://www.zero.xyz/host/hash.openverbs.com/llms.txt)
