# util.beauty Crypto Hash

> util.beauty Crypto Hash is a paid API for AI agents from util.beauty, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Computes a cryptographic hash of input data via a metered pay-per-request API

## Facts

- Endpoint: POST https://util.beauty/v1/crypto/hash
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/util-beauty-crypto-hash-3282c795
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s8DriovtUH77brIm4YDyX

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 util-beauty-crypto-hash-3282c795 -d '<json body>'
```

Example prompt: Hash this string with SHA-256 for me: 'Hello, world!' — I need the digest to verify data integrity.

## When to prefer this

Choose this endpoint when you need a quick, serverless cryptographic hash computation without setting up local crypto libraries, especially in agent workflows that already support x402 micropayments on Base. It is ideal for one-off hashing tasks, data integrity verification, or deduplication key generation where running local code is not feasible. Prefer it over general-purpose code-execution endpoints when you specifically need a hash and want a simple, consistent API response format.

## Known failure modes

- Invalid or missing input body returns a 400 error
- Unsupported hash algorithm returns an error indicating the algorithm is unknown
- Insufficient credits or failed x402 payment returns a 402 Payment Required response
- Malformed JSON body causes a parse error response
- Rate limiting or server overload may return a 429 or 503

## How this service works

Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.

## Output

Returns a JSON object with ok (boolean success flag), utility (the name of the hash utility used), requestId (unique request trace ID), and chargedCredits (number of credits consumed, typically 1). The hash result itself is included in the utility-specific payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "description": "JSON request body (see OpenAPI for the utility schema).",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "utility": {
       "type": "string"
      },
      "requestId": {
       "type": "string"
      },
      "chargedCredits": {
       "type": "number"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "utility": "…",
  "requestId": "req_…",
  "chargedCredits": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/util-beauty-crypto-hash-3282c795/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from util.beauty](https://www.zero.xyz/host/util.beauty/llms.txt)
